github.com/ari-anchor/sei-tendermint@v0.0.0-20230519144642-dc826b7b56bb/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/ari-anchor/sei-tendermint/proto/tendermint/crypto"
    10  	types1 "github.com/ari-anchor/sei-tendermint/proto/tendermint/types"
    11  	_ "github.com/gogo/protobuf/gogoproto"
    12  	proto "github.com/gogo/protobuf/proto"
    13  	_ "github.com/gogo/protobuf/types"
    14  	github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
    15  	grpc "google.golang.org/grpc"
    16  	codes "google.golang.org/grpc/codes"
    17  	status "google.golang.org/grpc/status"
    18  	io "io"
    19  	math "math"
    20  	math_bits "math/bits"
    21  	time "time"
    22  )
    23  
    24  // Reference imports to suppress errors if they are not otherwise used.
    25  var _ = proto.Marshal
    26  var _ = fmt.Errorf
    27  var _ = math.Inf
    28  var _ = time.Kitchen
    29  
    30  // This is a compile-time assertion to ensure that this generated file
    31  // is compatible with the proto package it is being compiled against.
    32  // A compilation error at this line likely means your copy of the
    33  // proto package needs to be updated.
    34  const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    35  
    36  type CheckTxType int32
    37  
    38  const (
    39  	CheckTxType_New     CheckTxType = 0
    40  	CheckTxType_Recheck CheckTxType = 1
    41  )
    42  
    43  var CheckTxType_name = map[int32]string{
    44  	0: "NEW",
    45  	1: "RECHECK",
    46  }
    47  
    48  var CheckTxType_value = map[string]int32{
    49  	"NEW":     0,
    50  	"RECHECK": 1,
    51  }
    52  
    53  func (x CheckTxType) String() string {
    54  	return proto.EnumName(CheckTxType_name, int32(x))
    55  }
    56  
    57  func (CheckTxType) EnumDescriptor() ([]byte, []int) {
    58  	return fileDescriptor_252557cfdd89a31a, []int{0}
    59  }
    60  
    61  type MisbehaviorType int32
    62  
    63  const (
    64  	MisbehaviorType_UNKNOWN             MisbehaviorType = 0
    65  	MisbehaviorType_DUPLICATE_VOTE      MisbehaviorType = 1
    66  	MisbehaviorType_LIGHT_CLIENT_ATTACK MisbehaviorType = 2
    67  )
    68  
    69  var MisbehaviorType_name = map[int32]string{
    70  	0: "UNKNOWN",
    71  	1: "DUPLICATE_VOTE",
    72  	2: "LIGHT_CLIENT_ATTACK",
    73  }
    74  
    75  var MisbehaviorType_value = map[string]int32{
    76  	"UNKNOWN":             0,
    77  	"DUPLICATE_VOTE":      1,
    78  	"LIGHT_CLIENT_ATTACK": 2,
    79  }
    80  
    81  func (x MisbehaviorType) String() string {
    82  	return proto.EnumName(MisbehaviorType_name, int32(x))
    83  }
    84  
    85  func (MisbehaviorType) EnumDescriptor() ([]byte, []int) {
    86  	return fileDescriptor_252557cfdd89a31a, []int{1}
    87  }
    88  
    89  type ResponseOfferSnapshot_Result int32
    90  
    91  const (
    92  	ResponseOfferSnapshot_UNKNOWN       ResponseOfferSnapshot_Result = 0
    93  	ResponseOfferSnapshot_ACCEPT        ResponseOfferSnapshot_Result = 1
    94  	ResponseOfferSnapshot_ABORT         ResponseOfferSnapshot_Result = 2
    95  	ResponseOfferSnapshot_REJECT        ResponseOfferSnapshot_Result = 3
    96  	ResponseOfferSnapshot_REJECT_FORMAT ResponseOfferSnapshot_Result = 4
    97  	ResponseOfferSnapshot_REJECT_SENDER ResponseOfferSnapshot_Result = 5
    98  )
    99  
   100  var ResponseOfferSnapshot_Result_name = map[int32]string{
   101  	0: "UNKNOWN",
   102  	1: "ACCEPT",
   103  	2: "ABORT",
   104  	3: "REJECT",
   105  	4: "REJECT_FORMAT",
   106  	5: "REJECT_SENDER",
   107  }
   108  
   109  var ResponseOfferSnapshot_Result_value = map[string]int32{
   110  	"UNKNOWN":       0,
   111  	"ACCEPT":        1,
   112  	"ABORT":         2,
   113  	"REJECT":        3,
   114  	"REJECT_FORMAT": 4,
   115  	"REJECT_SENDER": 5,
   116  }
   117  
   118  func (x ResponseOfferSnapshot_Result) String() string {
   119  	return proto.EnumName(ResponseOfferSnapshot_Result_name, int32(x))
   120  }
   121  
   122  func (ResponseOfferSnapshot_Result) EnumDescriptor() ([]byte, []int) {
   123  	return fileDescriptor_252557cfdd89a31a, []int{34, 0}
   124  }
   125  
   126  type ResponseApplySnapshotChunk_Result int32
   127  
   128  const (
   129  	ResponseApplySnapshotChunk_UNKNOWN         ResponseApplySnapshotChunk_Result = 0
   130  	ResponseApplySnapshotChunk_ACCEPT          ResponseApplySnapshotChunk_Result = 1
   131  	ResponseApplySnapshotChunk_ABORT           ResponseApplySnapshotChunk_Result = 2
   132  	ResponseApplySnapshotChunk_RETRY           ResponseApplySnapshotChunk_Result = 3
   133  	ResponseApplySnapshotChunk_RETRY_SNAPSHOT  ResponseApplySnapshotChunk_Result = 4
   134  	ResponseApplySnapshotChunk_REJECT_SNAPSHOT ResponseApplySnapshotChunk_Result = 5
   135  )
   136  
   137  var ResponseApplySnapshotChunk_Result_name = map[int32]string{
   138  	0: "UNKNOWN",
   139  	1: "ACCEPT",
   140  	2: "ABORT",
   141  	3: "RETRY",
   142  	4: "RETRY_SNAPSHOT",
   143  	5: "REJECT_SNAPSHOT",
   144  }
   145  
   146  var ResponseApplySnapshotChunk_Result_value = map[string]int32{
   147  	"UNKNOWN":         0,
   148  	"ACCEPT":          1,
   149  	"ABORT":           2,
   150  	"RETRY":           3,
   151  	"RETRY_SNAPSHOT":  4,
   152  	"REJECT_SNAPSHOT": 5,
   153  }
   154  
   155  func (x ResponseApplySnapshotChunk_Result) String() string {
   156  	return proto.EnumName(ResponseApplySnapshotChunk_Result_name, int32(x))
   157  }
   158  
   159  func (ResponseApplySnapshotChunk_Result) EnumDescriptor() ([]byte, []int) {
   160  	return fileDescriptor_252557cfdd89a31a, []int{36, 0}
   161  }
   162  
   163  type ResponseProcessProposal_ProposalStatus int32
   164  
   165  const (
   166  	ResponseProcessProposal_UNKNOWN ResponseProcessProposal_ProposalStatus = 0
   167  	ResponseProcessProposal_ACCEPT  ResponseProcessProposal_ProposalStatus = 1
   168  	ResponseProcessProposal_REJECT  ResponseProcessProposal_ProposalStatus = 2
   169  )
   170  
   171  var ResponseProcessProposal_ProposalStatus_name = map[int32]string{
   172  	0: "UNKNOWN",
   173  	1: "ACCEPT",
   174  	2: "REJECT",
   175  }
   176  
   177  var ResponseProcessProposal_ProposalStatus_value = map[string]int32{
   178  	"UNKNOWN": 0,
   179  	"ACCEPT":  1,
   180  	"REJECT":  2,
   181  }
   182  
   183  func (x ResponseProcessProposal_ProposalStatus) String() string {
   184  	return proto.EnumName(ResponseProcessProposal_ProposalStatus_name, int32(x))
   185  }
   186  
   187  func (ResponseProcessProposal_ProposalStatus) EnumDescriptor() ([]byte, []int) {
   188  	return fileDescriptor_252557cfdd89a31a, []int{38, 0}
   189  }
   190  
   191  type ResponseVerifyVoteExtension_VerifyStatus int32
   192  
   193  const (
   194  	ResponseVerifyVoteExtension_UNKNOWN ResponseVerifyVoteExtension_VerifyStatus = 0
   195  	ResponseVerifyVoteExtension_ACCEPT  ResponseVerifyVoteExtension_VerifyStatus = 1
   196  	ResponseVerifyVoteExtension_REJECT  ResponseVerifyVoteExtension_VerifyStatus = 2
   197  )
   198  
   199  var ResponseVerifyVoteExtension_VerifyStatus_name = map[int32]string{
   200  	0: "UNKNOWN",
   201  	1: "ACCEPT",
   202  	2: "REJECT",
   203  }
   204  
   205  var ResponseVerifyVoteExtension_VerifyStatus_value = map[string]int32{
   206  	"UNKNOWN": 0,
   207  	"ACCEPT":  1,
   208  	"REJECT":  2,
   209  }
   210  
   211  func (x ResponseVerifyVoteExtension_VerifyStatus) String() string {
   212  	return proto.EnumName(ResponseVerifyVoteExtension_VerifyStatus_name, int32(x))
   213  }
   214  
   215  func (ResponseVerifyVoteExtension_VerifyStatus) EnumDescriptor() ([]byte, []int) {
   216  	return fileDescriptor_252557cfdd89a31a, []int{40, 0}
   217  }
   218  
   219  // TxAction contains App-provided information on what to do with a transaction that is part of a raw proposal
   220  type TxRecord_TxAction int32
   221  
   222  const (
   223  	TxRecord_UNKNOWN    TxRecord_TxAction = 0
   224  	TxRecord_UNMODIFIED TxRecord_TxAction = 1
   225  	TxRecord_ADDED      TxRecord_TxAction = 2
   226  	TxRecord_REMOVED    TxRecord_TxAction = 3
   227  )
   228  
   229  var TxRecord_TxAction_name = map[int32]string{
   230  	0: "UNKNOWN",
   231  	1: "UNMODIFIED",
   232  	2: "ADDED",
   233  	3: "REMOVED",
   234  }
   235  
   236  var TxRecord_TxAction_value = map[string]int32{
   237  	"UNKNOWN":    0,
   238  	"UNMODIFIED": 1,
   239  	"ADDED":      2,
   240  	"REMOVED":    3,
   241  }
   242  
   243  func (x TxRecord_TxAction) String() string {
   244  	return proto.EnumName(TxRecord_TxAction_name, int32(x))
   245  }
   246  
   247  func (TxRecord_TxAction) EnumDescriptor() ([]byte, []int) {
   248  	return fileDescriptor_252557cfdd89a31a, []int{50, 0}
   249  }
   250  
   251  type Request struct {
   252  	// Types that are valid to be assigned to Value:
   253  	//	*Request_Echo
   254  	//	*Request_Flush
   255  	//	*Request_Info
   256  	//	*Request_InitChain
   257  	//	*Request_Query
   258  	//	*Request_CheckTx
   259  	//	*Request_Commit
   260  	//	*Request_ListSnapshots
   261  	//	*Request_OfferSnapshot
   262  	//	*Request_LoadSnapshotChunk
   263  	//	*Request_ApplySnapshotChunk
   264  	//	*Request_PrepareProposal
   265  	//	*Request_ProcessProposal
   266  	//	*Request_ExtendVote
   267  	//	*Request_VerifyVoteExtension
   268  	//	*Request_FinalizeBlock
   269  	//	*Request_BeginBlock
   270  	//	*Request_DeliverTx
   271  	//	*Request_EndBlock
   272  	//	*Request_LoadLatest
   273  	Value isRequest_Value `protobuf_oneof:"value"`
   274  }
   275  
   276  func (m *Request) Reset()         { *m = Request{} }
   277  func (m *Request) String() string { return proto.CompactTextString(m) }
   278  func (*Request) ProtoMessage()    {}
   279  func (*Request) Descriptor() ([]byte, []int) {
   280  	return fileDescriptor_252557cfdd89a31a, []int{0}
   281  }
   282  func (m *Request) XXX_Unmarshal(b []byte) error {
   283  	return m.Unmarshal(b)
   284  }
   285  func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   286  	if deterministic {
   287  		return xxx_messageInfo_Request.Marshal(b, m, deterministic)
   288  	} else {
   289  		b = b[:cap(b)]
   290  		n, err := m.MarshalToSizedBuffer(b)
   291  		if err != nil {
   292  			return nil, err
   293  		}
   294  		return b[:n], nil
   295  	}
   296  }
   297  func (m *Request) XXX_Merge(src proto.Message) {
   298  	xxx_messageInfo_Request.Merge(m, src)
   299  }
   300  func (m *Request) XXX_Size() int {
   301  	return m.Size()
   302  }
   303  func (m *Request) XXX_DiscardUnknown() {
   304  	xxx_messageInfo_Request.DiscardUnknown(m)
   305  }
   306  
   307  var xxx_messageInfo_Request proto.InternalMessageInfo
   308  
   309  type isRequest_Value interface {
   310  	isRequest_Value()
   311  	MarshalTo([]byte) (int, error)
   312  	Size() int
   313  }
   314  
   315  type Request_Echo struct {
   316  	Echo *RequestEcho `protobuf:"bytes,1,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
   317  }
   318  type Request_Flush struct {
   319  	Flush *RequestFlush `protobuf:"bytes,2,opt,name=flush,proto3,oneof" json:"flush,omitempty"`
   320  }
   321  type Request_Info struct {
   322  	Info *RequestInfo `protobuf:"bytes,3,opt,name=info,proto3,oneof" json:"info,omitempty"`
   323  }
   324  type Request_InitChain struct {
   325  	InitChain *RequestInitChain `protobuf:"bytes,4,opt,name=init_chain,json=initChain,proto3,oneof" json:"init_chain,omitempty"`
   326  }
   327  type Request_Query struct {
   328  	Query *RequestQuery `protobuf:"bytes,5,opt,name=query,proto3,oneof" json:"query,omitempty"`
   329  }
   330  type Request_CheckTx struct {
   331  	CheckTx *RequestCheckTx `protobuf:"bytes,7,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
   332  }
   333  type Request_Commit struct {
   334  	Commit *RequestCommit `protobuf:"bytes,10,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
   335  }
   336  type Request_ListSnapshots struct {
   337  	ListSnapshots *RequestListSnapshots `protobuf:"bytes,11,opt,name=list_snapshots,json=listSnapshots,proto3,oneof" json:"list_snapshots,omitempty"`
   338  }
   339  type Request_OfferSnapshot struct {
   340  	OfferSnapshot *RequestOfferSnapshot `protobuf:"bytes,12,opt,name=offer_snapshot,json=offerSnapshot,proto3,oneof" json:"offer_snapshot,omitempty"`
   341  }
   342  type Request_LoadSnapshotChunk struct {
   343  	LoadSnapshotChunk *RequestLoadSnapshotChunk `protobuf:"bytes,13,opt,name=load_snapshot_chunk,json=loadSnapshotChunk,proto3,oneof" json:"load_snapshot_chunk,omitempty"`
   344  }
   345  type Request_ApplySnapshotChunk struct {
   346  	ApplySnapshotChunk *RequestApplySnapshotChunk `protobuf:"bytes,14,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof" json:"apply_snapshot_chunk,omitempty"`
   347  }
   348  type Request_PrepareProposal struct {
   349  	PrepareProposal *RequestPrepareProposal `protobuf:"bytes,15,opt,name=prepare_proposal,json=prepareProposal,proto3,oneof" json:"prepare_proposal,omitempty"`
   350  }
   351  type Request_ProcessProposal struct {
   352  	ProcessProposal *RequestProcessProposal `protobuf:"bytes,16,opt,name=process_proposal,json=processProposal,proto3,oneof" json:"process_proposal,omitempty"`
   353  }
   354  type Request_ExtendVote struct {
   355  	ExtendVote *RequestExtendVote `protobuf:"bytes,17,opt,name=extend_vote,json=extendVote,proto3,oneof" json:"extend_vote,omitempty"`
   356  }
   357  type Request_VerifyVoteExtension struct {
   358  	VerifyVoteExtension *RequestVerifyVoteExtension `protobuf:"bytes,18,opt,name=verify_vote_extension,json=verifyVoteExtension,proto3,oneof" json:"verify_vote_extension,omitempty"`
   359  }
   360  type Request_FinalizeBlock struct {
   361  	FinalizeBlock *RequestFinalizeBlock `protobuf:"bytes,19,opt,name=finalize_block,json=finalizeBlock,proto3,oneof" json:"finalize_block,omitempty"`
   362  }
   363  type Request_BeginBlock struct {
   364  	BeginBlock *RequestBeginBlock `protobuf:"bytes,20,opt,name=begin_block,json=beginBlock,proto3,oneof" json:"begin_block,omitempty"`
   365  }
   366  type Request_DeliverTx struct {
   367  	DeliverTx *RequestDeliverTx `protobuf:"bytes,21,opt,name=deliver_tx,json=deliverTx,proto3,oneof" json:"deliver_tx,omitempty"`
   368  }
   369  type Request_EndBlock struct {
   370  	EndBlock *RequestEndBlock `protobuf:"bytes,22,opt,name=end_block,json=endBlock,proto3,oneof" json:"end_block,omitempty"`
   371  }
   372  type Request_LoadLatest struct {
   373  	LoadLatest *RequestLoadLatest `protobuf:"bytes,23,opt,name=load_latest,json=loadLatest,proto3,oneof" json:"load_latest,omitempty"`
   374  }
   375  
   376  func (*Request_Echo) isRequest_Value()                {}
   377  func (*Request_Flush) isRequest_Value()               {}
   378  func (*Request_Info) isRequest_Value()                {}
   379  func (*Request_InitChain) isRequest_Value()           {}
   380  func (*Request_Query) isRequest_Value()               {}
   381  func (*Request_CheckTx) isRequest_Value()             {}
   382  func (*Request_Commit) isRequest_Value()              {}
   383  func (*Request_ListSnapshots) isRequest_Value()       {}
   384  func (*Request_OfferSnapshot) isRequest_Value()       {}
   385  func (*Request_LoadSnapshotChunk) isRequest_Value()   {}
   386  func (*Request_ApplySnapshotChunk) isRequest_Value()  {}
   387  func (*Request_PrepareProposal) isRequest_Value()     {}
   388  func (*Request_ProcessProposal) isRequest_Value()     {}
   389  func (*Request_ExtendVote) isRequest_Value()          {}
   390  func (*Request_VerifyVoteExtension) isRequest_Value() {}
   391  func (*Request_FinalizeBlock) isRequest_Value()       {}
   392  func (*Request_BeginBlock) isRequest_Value()          {}
   393  func (*Request_DeliverTx) isRequest_Value()           {}
   394  func (*Request_EndBlock) isRequest_Value()            {}
   395  func (*Request_LoadLatest) isRequest_Value()          {}
   396  
   397  func (m *Request) GetValue() isRequest_Value {
   398  	if m != nil {
   399  		return m.Value
   400  	}
   401  	return nil
   402  }
   403  
   404  func (m *Request) GetEcho() *RequestEcho {
   405  	if x, ok := m.GetValue().(*Request_Echo); ok {
   406  		return x.Echo
   407  	}
   408  	return nil
   409  }
   410  
   411  func (m *Request) GetFlush() *RequestFlush {
   412  	if x, ok := m.GetValue().(*Request_Flush); ok {
   413  		return x.Flush
   414  	}
   415  	return nil
   416  }
   417  
   418  func (m *Request) GetInfo() *RequestInfo {
   419  	if x, ok := m.GetValue().(*Request_Info); ok {
   420  		return x.Info
   421  	}
   422  	return nil
   423  }
   424  
   425  func (m *Request) GetInitChain() *RequestInitChain {
   426  	if x, ok := m.GetValue().(*Request_InitChain); ok {
   427  		return x.InitChain
   428  	}
   429  	return nil
   430  }
   431  
   432  func (m *Request) GetQuery() *RequestQuery {
   433  	if x, ok := m.GetValue().(*Request_Query); ok {
   434  		return x.Query
   435  	}
   436  	return nil
   437  }
   438  
   439  func (m *Request) GetCheckTx() *RequestCheckTx {
   440  	if x, ok := m.GetValue().(*Request_CheckTx); ok {
   441  		return x.CheckTx
   442  	}
   443  	return nil
   444  }
   445  
   446  func (m *Request) GetCommit() *RequestCommit {
   447  	if x, ok := m.GetValue().(*Request_Commit); ok {
   448  		return x.Commit
   449  	}
   450  	return nil
   451  }
   452  
   453  func (m *Request) GetListSnapshots() *RequestListSnapshots {
   454  	if x, ok := m.GetValue().(*Request_ListSnapshots); ok {
   455  		return x.ListSnapshots
   456  	}
   457  	return nil
   458  }
   459  
   460  func (m *Request) GetOfferSnapshot() *RequestOfferSnapshot {
   461  	if x, ok := m.GetValue().(*Request_OfferSnapshot); ok {
   462  		return x.OfferSnapshot
   463  	}
   464  	return nil
   465  }
   466  
   467  func (m *Request) GetLoadSnapshotChunk() *RequestLoadSnapshotChunk {
   468  	if x, ok := m.GetValue().(*Request_LoadSnapshotChunk); ok {
   469  		return x.LoadSnapshotChunk
   470  	}
   471  	return nil
   472  }
   473  
   474  func (m *Request) GetApplySnapshotChunk() *RequestApplySnapshotChunk {
   475  	if x, ok := m.GetValue().(*Request_ApplySnapshotChunk); ok {
   476  		return x.ApplySnapshotChunk
   477  	}
   478  	return nil
   479  }
   480  
   481  func (m *Request) GetPrepareProposal() *RequestPrepareProposal {
   482  	if x, ok := m.GetValue().(*Request_PrepareProposal); ok {
   483  		return x.PrepareProposal
   484  	}
   485  	return nil
   486  }
   487  
   488  func (m *Request) GetProcessProposal() *RequestProcessProposal {
   489  	if x, ok := m.GetValue().(*Request_ProcessProposal); ok {
   490  		return x.ProcessProposal
   491  	}
   492  	return nil
   493  }
   494  
   495  func (m *Request) GetExtendVote() *RequestExtendVote {
   496  	if x, ok := m.GetValue().(*Request_ExtendVote); ok {
   497  		return x.ExtendVote
   498  	}
   499  	return nil
   500  }
   501  
   502  func (m *Request) GetVerifyVoteExtension() *RequestVerifyVoteExtension {
   503  	if x, ok := m.GetValue().(*Request_VerifyVoteExtension); ok {
   504  		return x.VerifyVoteExtension
   505  	}
   506  	return nil
   507  }
   508  
   509  func (m *Request) GetFinalizeBlock() *RequestFinalizeBlock {
   510  	if x, ok := m.GetValue().(*Request_FinalizeBlock); ok {
   511  		return x.FinalizeBlock
   512  	}
   513  	return nil
   514  }
   515  
   516  func (m *Request) GetBeginBlock() *RequestBeginBlock {
   517  	if x, ok := m.GetValue().(*Request_BeginBlock); ok {
   518  		return x.BeginBlock
   519  	}
   520  	return nil
   521  }
   522  
   523  func (m *Request) GetDeliverTx() *RequestDeliverTx {
   524  	if x, ok := m.GetValue().(*Request_DeliverTx); ok {
   525  		return x.DeliverTx
   526  	}
   527  	return nil
   528  }
   529  
   530  func (m *Request) GetEndBlock() *RequestEndBlock {
   531  	if x, ok := m.GetValue().(*Request_EndBlock); ok {
   532  		return x.EndBlock
   533  	}
   534  	return nil
   535  }
   536  
   537  func (m *Request) GetLoadLatest() *RequestLoadLatest {
   538  	if x, ok := m.GetValue().(*Request_LoadLatest); ok {
   539  		return x.LoadLatest
   540  	}
   541  	return nil
   542  }
   543  
   544  // XXX_OneofWrappers is for the internal use of the proto package.
   545  func (*Request) XXX_OneofWrappers() []interface{} {
   546  	return []interface{}{
   547  		(*Request_Echo)(nil),
   548  		(*Request_Flush)(nil),
   549  		(*Request_Info)(nil),
   550  		(*Request_InitChain)(nil),
   551  		(*Request_Query)(nil),
   552  		(*Request_CheckTx)(nil),
   553  		(*Request_Commit)(nil),
   554  		(*Request_ListSnapshots)(nil),
   555  		(*Request_OfferSnapshot)(nil),
   556  		(*Request_LoadSnapshotChunk)(nil),
   557  		(*Request_ApplySnapshotChunk)(nil),
   558  		(*Request_PrepareProposal)(nil),
   559  		(*Request_ProcessProposal)(nil),
   560  		(*Request_ExtendVote)(nil),
   561  		(*Request_VerifyVoteExtension)(nil),
   562  		(*Request_FinalizeBlock)(nil),
   563  		(*Request_BeginBlock)(nil),
   564  		(*Request_DeliverTx)(nil),
   565  		(*Request_EndBlock)(nil),
   566  		(*Request_LoadLatest)(nil),
   567  	}
   568  }
   569  
   570  type RequestEcho struct {
   571  	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
   572  }
   573  
   574  func (m *RequestEcho) Reset()         { *m = RequestEcho{} }
   575  func (m *RequestEcho) String() string { return proto.CompactTextString(m) }
   576  func (*RequestEcho) ProtoMessage()    {}
   577  func (*RequestEcho) Descriptor() ([]byte, []int) {
   578  	return fileDescriptor_252557cfdd89a31a, []int{1}
   579  }
   580  func (m *RequestEcho) XXX_Unmarshal(b []byte) error {
   581  	return m.Unmarshal(b)
   582  }
   583  func (m *RequestEcho) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   584  	if deterministic {
   585  		return xxx_messageInfo_RequestEcho.Marshal(b, m, deterministic)
   586  	} else {
   587  		b = b[:cap(b)]
   588  		n, err := m.MarshalToSizedBuffer(b)
   589  		if err != nil {
   590  			return nil, err
   591  		}
   592  		return b[:n], nil
   593  	}
   594  }
   595  func (m *RequestEcho) XXX_Merge(src proto.Message) {
   596  	xxx_messageInfo_RequestEcho.Merge(m, src)
   597  }
   598  func (m *RequestEcho) XXX_Size() int {
   599  	return m.Size()
   600  }
   601  func (m *RequestEcho) XXX_DiscardUnknown() {
   602  	xxx_messageInfo_RequestEcho.DiscardUnknown(m)
   603  }
   604  
   605  var xxx_messageInfo_RequestEcho proto.InternalMessageInfo
   606  
   607  func (m *RequestEcho) GetMessage() string {
   608  	if m != nil {
   609  		return m.Message
   610  	}
   611  	return ""
   612  }
   613  
   614  type RequestFlush struct {
   615  }
   616  
   617  func (m *RequestFlush) Reset()         { *m = RequestFlush{} }
   618  func (m *RequestFlush) String() string { return proto.CompactTextString(m) }
   619  func (*RequestFlush) ProtoMessage()    {}
   620  func (*RequestFlush) Descriptor() ([]byte, []int) {
   621  	return fileDescriptor_252557cfdd89a31a, []int{2}
   622  }
   623  func (m *RequestFlush) XXX_Unmarshal(b []byte) error {
   624  	return m.Unmarshal(b)
   625  }
   626  func (m *RequestFlush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   627  	if deterministic {
   628  		return xxx_messageInfo_RequestFlush.Marshal(b, m, deterministic)
   629  	} else {
   630  		b = b[:cap(b)]
   631  		n, err := m.MarshalToSizedBuffer(b)
   632  		if err != nil {
   633  			return nil, err
   634  		}
   635  		return b[:n], nil
   636  	}
   637  }
   638  func (m *RequestFlush) XXX_Merge(src proto.Message) {
   639  	xxx_messageInfo_RequestFlush.Merge(m, src)
   640  }
   641  func (m *RequestFlush) XXX_Size() int {
   642  	return m.Size()
   643  }
   644  func (m *RequestFlush) XXX_DiscardUnknown() {
   645  	xxx_messageInfo_RequestFlush.DiscardUnknown(m)
   646  }
   647  
   648  var xxx_messageInfo_RequestFlush proto.InternalMessageInfo
   649  
   650  type RequestInfo struct {
   651  	Version      string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
   652  	BlockVersion uint64 `protobuf:"varint,2,opt,name=block_version,json=blockVersion,proto3" json:"block_version,omitempty"`
   653  	P2PVersion   uint64 `protobuf:"varint,3,opt,name=p2p_version,json=p2pVersion,proto3" json:"p2p_version,omitempty"`
   654  	AbciVersion  string `protobuf:"bytes,4,opt,name=abci_version,json=abciVersion,proto3" json:"abci_version,omitempty"`
   655  }
   656  
   657  func (m *RequestInfo) Reset()         { *m = RequestInfo{} }
   658  func (m *RequestInfo) String() string { return proto.CompactTextString(m) }
   659  func (*RequestInfo) ProtoMessage()    {}
   660  func (*RequestInfo) Descriptor() ([]byte, []int) {
   661  	return fileDescriptor_252557cfdd89a31a, []int{3}
   662  }
   663  func (m *RequestInfo) XXX_Unmarshal(b []byte) error {
   664  	return m.Unmarshal(b)
   665  }
   666  func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   667  	if deterministic {
   668  		return xxx_messageInfo_RequestInfo.Marshal(b, m, deterministic)
   669  	} else {
   670  		b = b[:cap(b)]
   671  		n, err := m.MarshalToSizedBuffer(b)
   672  		if err != nil {
   673  			return nil, err
   674  		}
   675  		return b[:n], nil
   676  	}
   677  }
   678  func (m *RequestInfo) XXX_Merge(src proto.Message) {
   679  	xxx_messageInfo_RequestInfo.Merge(m, src)
   680  }
   681  func (m *RequestInfo) XXX_Size() int {
   682  	return m.Size()
   683  }
   684  func (m *RequestInfo) XXX_DiscardUnknown() {
   685  	xxx_messageInfo_RequestInfo.DiscardUnknown(m)
   686  }
   687  
   688  var xxx_messageInfo_RequestInfo proto.InternalMessageInfo
   689  
   690  func (m *RequestInfo) GetVersion() string {
   691  	if m != nil {
   692  		return m.Version
   693  	}
   694  	return ""
   695  }
   696  
   697  func (m *RequestInfo) GetBlockVersion() uint64 {
   698  	if m != nil {
   699  		return m.BlockVersion
   700  	}
   701  	return 0
   702  }
   703  
   704  func (m *RequestInfo) GetP2PVersion() uint64 {
   705  	if m != nil {
   706  		return m.P2PVersion
   707  	}
   708  	return 0
   709  }
   710  
   711  func (m *RequestInfo) GetAbciVersion() string {
   712  	if m != nil {
   713  		return m.AbciVersion
   714  	}
   715  	return ""
   716  }
   717  
   718  type RequestInitChain struct {
   719  	Time            time.Time               `protobuf:"bytes,1,opt,name=time,proto3,stdtime" json:"time"`
   720  	ChainId         string                  `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
   721  	ConsensusParams *types1.ConsensusParams `protobuf:"bytes,3,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"`
   722  	Validators      []ValidatorUpdate       `protobuf:"bytes,4,rep,name=validators,proto3" json:"validators"`
   723  	AppStateBytes   []byte                  `protobuf:"bytes,5,opt,name=app_state_bytes,json=appStateBytes,proto3" json:"app_state_bytes,omitempty"`
   724  	InitialHeight   int64                   `protobuf:"varint,6,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"`
   725  }
   726  
   727  func (m *RequestInitChain) Reset()         { *m = RequestInitChain{} }
   728  func (m *RequestInitChain) String() string { return proto.CompactTextString(m) }
   729  func (*RequestInitChain) ProtoMessage()    {}
   730  func (*RequestInitChain) Descriptor() ([]byte, []int) {
   731  	return fileDescriptor_252557cfdd89a31a, []int{4}
   732  }
   733  func (m *RequestInitChain) XXX_Unmarshal(b []byte) error {
   734  	return m.Unmarshal(b)
   735  }
   736  func (m *RequestInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   737  	if deterministic {
   738  		return xxx_messageInfo_RequestInitChain.Marshal(b, m, deterministic)
   739  	} else {
   740  		b = b[:cap(b)]
   741  		n, err := m.MarshalToSizedBuffer(b)
   742  		if err != nil {
   743  			return nil, err
   744  		}
   745  		return b[:n], nil
   746  	}
   747  }
   748  func (m *RequestInitChain) XXX_Merge(src proto.Message) {
   749  	xxx_messageInfo_RequestInitChain.Merge(m, src)
   750  }
   751  func (m *RequestInitChain) XXX_Size() int {
   752  	return m.Size()
   753  }
   754  func (m *RequestInitChain) XXX_DiscardUnknown() {
   755  	xxx_messageInfo_RequestInitChain.DiscardUnknown(m)
   756  }
   757  
   758  var xxx_messageInfo_RequestInitChain proto.InternalMessageInfo
   759  
   760  func (m *RequestInitChain) GetTime() time.Time {
   761  	if m != nil {
   762  		return m.Time
   763  	}
   764  	return time.Time{}
   765  }
   766  
   767  func (m *RequestInitChain) GetChainId() string {
   768  	if m != nil {
   769  		return m.ChainId
   770  	}
   771  	return ""
   772  }
   773  
   774  func (m *RequestInitChain) GetConsensusParams() *types1.ConsensusParams {
   775  	if m != nil {
   776  		return m.ConsensusParams
   777  	}
   778  	return nil
   779  }
   780  
   781  func (m *RequestInitChain) GetValidators() []ValidatorUpdate {
   782  	if m != nil {
   783  		return m.Validators
   784  	}
   785  	return nil
   786  }
   787  
   788  func (m *RequestInitChain) GetAppStateBytes() []byte {
   789  	if m != nil {
   790  		return m.AppStateBytes
   791  	}
   792  	return nil
   793  }
   794  
   795  func (m *RequestInitChain) GetInitialHeight() int64 {
   796  	if m != nil {
   797  		return m.InitialHeight
   798  	}
   799  	return 0
   800  }
   801  
   802  type RequestQuery struct {
   803  	Data   []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
   804  	Path   string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
   805  	Height int64  `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
   806  	Prove  bool   `protobuf:"varint,4,opt,name=prove,proto3" json:"prove,omitempty"`
   807  }
   808  
   809  func (m *RequestQuery) Reset()         { *m = RequestQuery{} }
   810  func (m *RequestQuery) String() string { return proto.CompactTextString(m) }
   811  func (*RequestQuery) ProtoMessage()    {}
   812  func (*RequestQuery) Descriptor() ([]byte, []int) {
   813  	return fileDescriptor_252557cfdd89a31a, []int{5}
   814  }
   815  func (m *RequestQuery) XXX_Unmarshal(b []byte) error {
   816  	return m.Unmarshal(b)
   817  }
   818  func (m *RequestQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   819  	if deterministic {
   820  		return xxx_messageInfo_RequestQuery.Marshal(b, m, deterministic)
   821  	} else {
   822  		b = b[:cap(b)]
   823  		n, err := m.MarshalToSizedBuffer(b)
   824  		if err != nil {
   825  			return nil, err
   826  		}
   827  		return b[:n], nil
   828  	}
   829  }
   830  func (m *RequestQuery) XXX_Merge(src proto.Message) {
   831  	xxx_messageInfo_RequestQuery.Merge(m, src)
   832  }
   833  func (m *RequestQuery) XXX_Size() int {
   834  	return m.Size()
   835  }
   836  func (m *RequestQuery) XXX_DiscardUnknown() {
   837  	xxx_messageInfo_RequestQuery.DiscardUnknown(m)
   838  }
   839  
   840  var xxx_messageInfo_RequestQuery proto.InternalMessageInfo
   841  
   842  func (m *RequestQuery) GetData() []byte {
   843  	if m != nil {
   844  		return m.Data
   845  	}
   846  	return nil
   847  }
   848  
   849  func (m *RequestQuery) GetPath() string {
   850  	if m != nil {
   851  		return m.Path
   852  	}
   853  	return ""
   854  }
   855  
   856  func (m *RequestQuery) GetHeight() int64 {
   857  	if m != nil {
   858  		return m.Height
   859  	}
   860  	return 0
   861  }
   862  
   863  func (m *RequestQuery) GetProve() bool {
   864  	if m != nil {
   865  		return m.Prove
   866  	}
   867  	return false
   868  }
   869  
   870  type RequestCheckTx struct {
   871  	Tx   []byte      `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
   872  	Type CheckTxType `protobuf:"varint,2,opt,name=type,proto3,enum=seitendermint.abci.CheckTxType" json:"type,omitempty"`
   873  }
   874  
   875  func (m *RequestCheckTx) Reset()         { *m = RequestCheckTx{} }
   876  func (m *RequestCheckTx) String() string { return proto.CompactTextString(m) }
   877  func (*RequestCheckTx) ProtoMessage()    {}
   878  func (*RequestCheckTx) Descriptor() ([]byte, []int) {
   879  	return fileDescriptor_252557cfdd89a31a, []int{6}
   880  }
   881  func (m *RequestCheckTx) XXX_Unmarshal(b []byte) error {
   882  	return m.Unmarshal(b)
   883  }
   884  func (m *RequestCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   885  	if deterministic {
   886  		return xxx_messageInfo_RequestCheckTx.Marshal(b, m, deterministic)
   887  	} else {
   888  		b = b[:cap(b)]
   889  		n, err := m.MarshalToSizedBuffer(b)
   890  		if err != nil {
   891  			return nil, err
   892  		}
   893  		return b[:n], nil
   894  	}
   895  }
   896  func (m *RequestCheckTx) XXX_Merge(src proto.Message) {
   897  	xxx_messageInfo_RequestCheckTx.Merge(m, src)
   898  }
   899  func (m *RequestCheckTx) XXX_Size() int {
   900  	return m.Size()
   901  }
   902  func (m *RequestCheckTx) XXX_DiscardUnknown() {
   903  	xxx_messageInfo_RequestCheckTx.DiscardUnknown(m)
   904  }
   905  
   906  var xxx_messageInfo_RequestCheckTx proto.InternalMessageInfo
   907  
   908  func (m *RequestCheckTx) GetTx() []byte {
   909  	if m != nil {
   910  		return m.Tx
   911  	}
   912  	return nil
   913  }
   914  
   915  func (m *RequestCheckTx) GetType() CheckTxType {
   916  	if m != nil {
   917  		return m.Type
   918  	}
   919  	return CheckTxType_New
   920  }
   921  
   922  type RequestCommit struct {
   923  }
   924  
   925  func (m *RequestCommit) Reset()         { *m = RequestCommit{} }
   926  func (m *RequestCommit) String() string { return proto.CompactTextString(m) }
   927  func (*RequestCommit) ProtoMessage()    {}
   928  func (*RequestCommit) Descriptor() ([]byte, []int) {
   929  	return fileDescriptor_252557cfdd89a31a, []int{7}
   930  }
   931  func (m *RequestCommit) XXX_Unmarshal(b []byte) error {
   932  	return m.Unmarshal(b)
   933  }
   934  func (m *RequestCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   935  	if deterministic {
   936  		return xxx_messageInfo_RequestCommit.Marshal(b, m, deterministic)
   937  	} else {
   938  		b = b[:cap(b)]
   939  		n, err := m.MarshalToSizedBuffer(b)
   940  		if err != nil {
   941  			return nil, err
   942  		}
   943  		return b[:n], nil
   944  	}
   945  }
   946  func (m *RequestCommit) XXX_Merge(src proto.Message) {
   947  	xxx_messageInfo_RequestCommit.Merge(m, src)
   948  }
   949  func (m *RequestCommit) XXX_Size() int {
   950  	return m.Size()
   951  }
   952  func (m *RequestCommit) XXX_DiscardUnknown() {
   953  	xxx_messageInfo_RequestCommit.DiscardUnknown(m)
   954  }
   955  
   956  var xxx_messageInfo_RequestCommit proto.InternalMessageInfo
   957  
   958  // lists available snapshots
   959  type RequestListSnapshots struct {
   960  }
   961  
   962  func (m *RequestListSnapshots) Reset()         { *m = RequestListSnapshots{} }
   963  func (m *RequestListSnapshots) String() string { return proto.CompactTextString(m) }
   964  func (*RequestListSnapshots) ProtoMessage()    {}
   965  func (*RequestListSnapshots) Descriptor() ([]byte, []int) {
   966  	return fileDescriptor_252557cfdd89a31a, []int{8}
   967  }
   968  func (m *RequestListSnapshots) XXX_Unmarshal(b []byte) error {
   969  	return m.Unmarshal(b)
   970  }
   971  func (m *RequestListSnapshots) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   972  	if deterministic {
   973  		return xxx_messageInfo_RequestListSnapshots.Marshal(b, m, deterministic)
   974  	} else {
   975  		b = b[:cap(b)]
   976  		n, err := m.MarshalToSizedBuffer(b)
   977  		if err != nil {
   978  			return nil, err
   979  		}
   980  		return b[:n], nil
   981  	}
   982  }
   983  func (m *RequestListSnapshots) XXX_Merge(src proto.Message) {
   984  	xxx_messageInfo_RequestListSnapshots.Merge(m, src)
   985  }
   986  func (m *RequestListSnapshots) XXX_Size() int {
   987  	return m.Size()
   988  }
   989  func (m *RequestListSnapshots) XXX_DiscardUnknown() {
   990  	xxx_messageInfo_RequestListSnapshots.DiscardUnknown(m)
   991  }
   992  
   993  var xxx_messageInfo_RequestListSnapshots proto.InternalMessageInfo
   994  
   995  // offers a snapshot to the application
   996  type RequestOfferSnapshot struct {
   997  	Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
   998  	AppHash  []byte    `protobuf:"bytes,2,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
   999  }
  1000  
  1001  func (m *RequestOfferSnapshot) Reset()         { *m = RequestOfferSnapshot{} }
  1002  func (m *RequestOfferSnapshot) String() string { return proto.CompactTextString(m) }
  1003  func (*RequestOfferSnapshot) ProtoMessage()    {}
  1004  func (*RequestOfferSnapshot) Descriptor() ([]byte, []int) {
  1005  	return fileDescriptor_252557cfdd89a31a, []int{9}
  1006  }
  1007  func (m *RequestOfferSnapshot) XXX_Unmarshal(b []byte) error {
  1008  	return m.Unmarshal(b)
  1009  }
  1010  func (m *RequestOfferSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1011  	if deterministic {
  1012  		return xxx_messageInfo_RequestOfferSnapshot.Marshal(b, m, deterministic)
  1013  	} else {
  1014  		b = b[:cap(b)]
  1015  		n, err := m.MarshalToSizedBuffer(b)
  1016  		if err != nil {
  1017  			return nil, err
  1018  		}
  1019  		return b[:n], nil
  1020  	}
  1021  }
  1022  func (m *RequestOfferSnapshot) XXX_Merge(src proto.Message) {
  1023  	xxx_messageInfo_RequestOfferSnapshot.Merge(m, src)
  1024  }
  1025  func (m *RequestOfferSnapshot) XXX_Size() int {
  1026  	return m.Size()
  1027  }
  1028  func (m *RequestOfferSnapshot) XXX_DiscardUnknown() {
  1029  	xxx_messageInfo_RequestOfferSnapshot.DiscardUnknown(m)
  1030  }
  1031  
  1032  var xxx_messageInfo_RequestOfferSnapshot proto.InternalMessageInfo
  1033  
  1034  func (m *RequestOfferSnapshot) GetSnapshot() *Snapshot {
  1035  	if m != nil {
  1036  		return m.Snapshot
  1037  	}
  1038  	return nil
  1039  }
  1040  
  1041  func (m *RequestOfferSnapshot) GetAppHash() []byte {
  1042  	if m != nil {
  1043  		return m.AppHash
  1044  	}
  1045  	return nil
  1046  }
  1047  
  1048  // loads a snapshot chunk
  1049  type RequestLoadSnapshotChunk struct {
  1050  	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
  1051  	Format uint32 `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"`
  1052  	Chunk  uint32 `protobuf:"varint,3,opt,name=chunk,proto3" json:"chunk,omitempty"`
  1053  }
  1054  
  1055  func (m *RequestLoadSnapshotChunk) Reset()         { *m = RequestLoadSnapshotChunk{} }
  1056  func (m *RequestLoadSnapshotChunk) String() string { return proto.CompactTextString(m) }
  1057  func (*RequestLoadSnapshotChunk) ProtoMessage()    {}
  1058  func (*RequestLoadSnapshotChunk) Descriptor() ([]byte, []int) {
  1059  	return fileDescriptor_252557cfdd89a31a, []int{10}
  1060  }
  1061  func (m *RequestLoadSnapshotChunk) XXX_Unmarshal(b []byte) error {
  1062  	return m.Unmarshal(b)
  1063  }
  1064  func (m *RequestLoadSnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1065  	if deterministic {
  1066  		return xxx_messageInfo_RequestLoadSnapshotChunk.Marshal(b, m, deterministic)
  1067  	} else {
  1068  		b = b[:cap(b)]
  1069  		n, err := m.MarshalToSizedBuffer(b)
  1070  		if err != nil {
  1071  			return nil, err
  1072  		}
  1073  		return b[:n], nil
  1074  	}
  1075  }
  1076  func (m *RequestLoadSnapshotChunk) XXX_Merge(src proto.Message) {
  1077  	xxx_messageInfo_RequestLoadSnapshotChunk.Merge(m, src)
  1078  }
  1079  func (m *RequestLoadSnapshotChunk) XXX_Size() int {
  1080  	return m.Size()
  1081  }
  1082  func (m *RequestLoadSnapshotChunk) XXX_DiscardUnknown() {
  1083  	xxx_messageInfo_RequestLoadSnapshotChunk.DiscardUnknown(m)
  1084  }
  1085  
  1086  var xxx_messageInfo_RequestLoadSnapshotChunk proto.InternalMessageInfo
  1087  
  1088  func (m *RequestLoadSnapshotChunk) GetHeight() uint64 {
  1089  	if m != nil {
  1090  		return m.Height
  1091  	}
  1092  	return 0
  1093  }
  1094  
  1095  func (m *RequestLoadSnapshotChunk) GetFormat() uint32 {
  1096  	if m != nil {
  1097  		return m.Format
  1098  	}
  1099  	return 0
  1100  }
  1101  
  1102  func (m *RequestLoadSnapshotChunk) GetChunk() uint32 {
  1103  	if m != nil {
  1104  		return m.Chunk
  1105  	}
  1106  	return 0
  1107  }
  1108  
  1109  // Applies a snapshot chunk
  1110  type RequestApplySnapshotChunk struct {
  1111  	Index  uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
  1112  	Chunk  []byte `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"`
  1113  	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
  1114  }
  1115  
  1116  func (m *RequestApplySnapshotChunk) Reset()         { *m = RequestApplySnapshotChunk{} }
  1117  func (m *RequestApplySnapshotChunk) String() string { return proto.CompactTextString(m) }
  1118  func (*RequestApplySnapshotChunk) ProtoMessage()    {}
  1119  func (*RequestApplySnapshotChunk) Descriptor() ([]byte, []int) {
  1120  	return fileDescriptor_252557cfdd89a31a, []int{11}
  1121  }
  1122  func (m *RequestApplySnapshotChunk) XXX_Unmarshal(b []byte) error {
  1123  	return m.Unmarshal(b)
  1124  }
  1125  func (m *RequestApplySnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1126  	if deterministic {
  1127  		return xxx_messageInfo_RequestApplySnapshotChunk.Marshal(b, m, deterministic)
  1128  	} else {
  1129  		b = b[:cap(b)]
  1130  		n, err := m.MarshalToSizedBuffer(b)
  1131  		if err != nil {
  1132  			return nil, err
  1133  		}
  1134  		return b[:n], nil
  1135  	}
  1136  }
  1137  func (m *RequestApplySnapshotChunk) XXX_Merge(src proto.Message) {
  1138  	xxx_messageInfo_RequestApplySnapshotChunk.Merge(m, src)
  1139  }
  1140  func (m *RequestApplySnapshotChunk) XXX_Size() int {
  1141  	return m.Size()
  1142  }
  1143  func (m *RequestApplySnapshotChunk) XXX_DiscardUnknown() {
  1144  	xxx_messageInfo_RequestApplySnapshotChunk.DiscardUnknown(m)
  1145  }
  1146  
  1147  var xxx_messageInfo_RequestApplySnapshotChunk proto.InternalMessageInfo
  1148  
  1149  func (m *RequestApplySnapshotChunk) GetIndex() uint32 {
  1150  	if m != nil {
  1151  		return m.Index
  1152  	}
  1153  	return 0
  1154  }
  1155  
  1156  func (m *RequestApplySnapshotChunk) GetChunk() []byte {
  1157  	if m != nil {
  1158  		return m.Chunk
  1159  	}
  1160  	return nil
  1161  }
  1162  
  1163  func (m *RequestApplySnapshotChunk) GetSender() string {
  1164  	if m != nil {
  1165  		return m.Sender
  1166  	}
  1167  	return ""
  1168  }
  1169  
  1170  type RequestPrepareProposal struct {
  1171  	// the modified transactions cannot exceed this size.
  1172  	MaxTxBytes int64 `protobuf:"varint,1,opt,name=max_tx_bytes,json=maxTxBytes,proto3" json:"max_tx_bytes,omitempty"`
  1173  	// txs is an array of transactions that will be included in a block,
  1174  	// sent to the app for possible modifications.
  1175  	Txs                 [][]byte           `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
  1176  	LocalLastCommit     ExtendedCommitInfo `protobuf:"bytes,3,opt,name=local_last_commit,json=localLastCommit,proto3" json:"local_last_commit"`
  1177  	ByzantineValidators []Misbehavior      `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators"`
  1178  	Height              int64              `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
  1179  	Time                time.Time          `protobuf:"bytes,6,opt,name=time,proto3,stdtime" json:"time"`
  1180  	NextValidatorsHash  []byte             `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"`
  1181  	// address of the public key of the validator proposing the block.
  1182  	ProposerAddress       []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
  1183  	AppHash               []byte `protobuf:"bytes,9,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
  1184  	ValidatorsHash        []byte `protobuf:"bytes,10,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"`
  1185  	ConsensusHash         []byte `protobuf:"bytes,11,opt,name=consensus_hash,json=consensusHash,proto3" json:"consensus_hash,omitempty"`
  1186  	DataHash              []byte `protobuf:"bytes,12,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
  1187  	EvidenceHash          []byte `protobuf:"bytes,13,opt,name=evidence_hash,json=evidenceHash,proto3" json:"evidence_hash,omitempty"`
  1188  	LastBlockHash         []byte `protobuf:"bytes,14,opt,name=last_block_hash,json=lastBlockHash,proto3" json:"last_block_hash,omitempty"`
  1189  	LastBlockPartSetTotal int64  `protobuf:"varint,15,opt,name=last_block_part_set_total,json=lastBlockPartSetTotal,proto3" json:"last_block_part_set_total,omitempty"`
  1190  	LastBlockPartSetHash  []byte `protobuf:"bytes,16,opt,name=last_block_part_set_hash,json=lastBlockPartSetHash,proto3" json:"last_block_part_set_hash,omitempty"`
  1191  	LastCommitHash        []byte `protobuf:"bytes,17,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"`
  1192  	LastResultsHash       []byte `protobuf:"bytes,18,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"`
  1193  }
  1194  
  1195  func (m *RequestPrepareProposal) Reset()         { *m = RequestPrepareProposal{} }
  1196  func (m *RequestPrepareProposal) String() string { return proto.CompactTextString(m) }
  1197  func (*RequestPrepareProposal) ProtoMessage()    {}
  1198  func (*RequestPrepareProposal) Descriptor() ([]byte, []int) {
  1199  	return fileDescriptor_252557cfdd89a31a, []int{12}
  1200  }
  1201  func (m *RequestPrepareProposal) XXX_Unmarshal(b []byte) error {
  1202  	return m.Unmarshal(b)
  1203  }
  1204  func (m *RequestPrepareProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1205  	if deterministic {
  1206  		return xxx_messageInfo_RequestPrepareProposal.Marshal(b, m, deterministic)
  1207  	} else {
  1208  		b = b[:cap(b)]
  1209  		n, err := m.MarshalToSizedBuffer(b)
  1210  		if err != nil {
  1211  			return nil, err
  1212  		}
  1213  		return b[:n], nil
  1214  	}
  1215  }
  1216  func (m *RequestPrepareProposal) XXX_Merge(src proto.Message) {
  1217  	xxx_messageInfo_RequestPrepareProposal.Merge(m, src)
  1218  }
  1219  func (m *RequestPrepareProposal) XXX_Size() int {
  1220  	return m.Size()
  1221  }
  1222  func (m *RequestPrepareProposal) XXX_DiscardUnknown() {
  1223  	xxx_messageInfo_RequestPrepareProposal.DiscardUnknown(m)
  1224  }
  1225  
  1226  var xxx_messageInfo_RequestPrepareProposal proto.InternalMessageInfo
  1227  
  1228  func (m *RequestPrepareProposal) GetMaxTxBytes() int64 {
  1229  	if m != nil {
  1230  		return m.MaxTxBytes
  1231  	}
  1232  	return 0
  1233  }
  1234  
  1235  func (m *RequestPrepareProposal) GetTxs() [][]byte {
  1236  	if m != nil {
  1237  		return m.Txs
  1238  	}
  1239  	return nil
  1240  }
  1241  
  1242  func (m *RequestPrepareProposal) GetLocalLastCommit() ExtendedCommitInfo {
  1243  	if m != nil {
  1244  		return m.LocalLastCommit
  1245  	}
  1246  	return ExtendedCommitInfo{}
  1247  }
  1248  
  1249  func (m *RequestPrepareProposal) GetByzantineValidators() []Misbehavior {
  1250  	if m != nil {
  1251  		return m.ByzantineValidators
  1252  	}
  1253  	return nil
  1254  }
  1255  
  1256  func (m *RequestPrepareProposal) GetHeight() int64 {
  1257  	if m != nil {
  1258  		return m.Height
  1259  	}
  1260  	return 0
  1261  }
  1262  
  1263  func (m *RequestPrepareProposal) GetTime() time.Time {
  1264  	if m != nil {
  1265  		return m.Time
  1266  	}
  1267  	return time.Time{}
  1268  }
  1269  
  1270  func (m *RequestPrepareProposal) GetNextValidatorsHash() []byte {
  1271  	if m != nil {
  1272  		return m.NextValidatorsHash
  1273  	}
  1274  	return nil
  1275  }
  1276  
  1277  func (m *RequestPrepareProposal) GetProposerAddress() []byte {
  1278  	if m != nil {
  1279  		return m.ProposerAddress
  1280  	}
  1281  	return nil
  1282  }
  1283  
  1284  func (m *RequestPrepareProposal) GetAppHash() []byte {
  1285  	if m != nil {
  1286  		return m.AppHash
  1287  	}
  1288  	return nil
  1289  }
  1290  
  1291  func (m *RequestPrepareProposal) GetValidatorsHash() []byte {
  1292  	if m != nil {
  1293  		return m.ValidatorsHash
  1294  	}
  1295  	return nil
  1296  }
  1297  
  1298  func (m *RequestPrepareProposal) GetConsensusHash() []byte {
  1299  	if m != nil {
  1300  		return m.ConsensusHash
  1301  	}
  1302  	return nil
  1303  }
  1304  
  1305  func (m *RequestPrepareProposal) GetDataHash() []byte {
  1306  	if m != nil {
  1307  		return m.DataHash
  1308  	}
  1309  	return nil
  1310  }
  1311  
  1312  func (m *RequestPrepareProposal) GetEvidenceHash() []byte {
  1313  	if m != nil {
  1314  		return m.EvidenceHash
  1315  	}
  1316  	return nil
  1317  }
  1318  
  1319  func (m *RequestPrepareProposal) GetLastBlockHash() []byte {
  1320  	if m != nil {
  1321  		return m.LastBlockHash
  1322  	}
  1323  	return nil
  1324  }
  1325  
  1326  func (m *RequestPrepareProposal) GetLastBlockPartSetTotal() int64 {
  1327  	if m != nil {
  1328  		return m.LastBlockPartSetTotal
  1329  	}
  1330  	return 0
  1331  }
  1332  
  1333  func (m *RequestPrepareProposal) GetLastBlockPartSetHash() []byte {
  1334  	if m != nil {
  1335  		return m.LastBlockPartSetHash
  1336  	}
  1337  	return nil
  1338  }
  1339  
  1340  func (m *RequestPrepareProposal) GetLastCommitHash() []byte {
  1341  	if m != nil {
  1342  		return m.LastCommitHash
  1343  	}
  1344  	return nil
  1345  }
  1346  
  1347  func (m *RequestPrepareProposal) GetLastResultsHash() []byte {
  1348  	if m != nil {
  1349  		return m.LastResultsHash
  1350  	}
  1351  	return nil
  1352  }
  1353  
  1354  type RequestProcessProposal struct {
  1355  	Txs                 [][]byte      `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
  1356  	ProposedLastCommit  CommitInfo    `protobuf:"bytes,2,opt,name=proposed_last_commit,json=proposedLastCommit,proto3" json:"proposed_last_commit"`
  1357  	ByzantineValidators []Misbehavior `protobuf:"bytes,3,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators"`
  1358  	// hash is the merkle root hash of the fields of the proposed block.
  1359  	Hash               []byte    `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
  1360  	Height             int64     `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
  1361  	Time               time.Time `protobuf:"bytes,6,opt,name=time,proto3,stdtime" json:"time"`
  1362  	NextValidatorsHash []byte    `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"`
  1363  	// address of the public key of the original proposer of the block.
  1364  	ProposerAddress       []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
  1365  	AppHash               []byte `protobuf:"bytes,10,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
  1366  	ValidatorsHash        []byte `protobuf:"bytes,11,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"`
  1367  	ConsensusHash         []byte `protobuf:"bytes,12,opt,name=consensus_hash,json=consensusHash,proto3" json:"consensus_hash,omitempty"`
  1368  	DataHash              []byte `protobuf:"bytes,13,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
  1369  	EvidenceHash          []byte `protobuf:"bytes,14,opt,name=evidence_hash,json=evidenceHash,proto3" json:"evidence_hash,omitempty"`
  1370  	LastBlockHash         []byte `protobuf:"bytes,15,opt,name=last_block_hash,json=lastBlockHash,proto3" json:"last_block_hash,omitempty"`
  1371  	LastBlockPartSetTotal int64  `protobuf:"varint,16,opt,name=last_block_part_set_total,json=lastBlockPartSetTotal,proto3" json:"last_block_part_set_total,omitempty"`
  1372  	LastBlockPartSetHash  []byte `protobuf:"bytes,17,opt,name=last_block_part_set_hash,json=lastBlockPartSetHash,proto3" json:"last_block_part_set_hash,omitempty"`
  1373  	LastCommitHash        []byte `protobuf:"bytes,18,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"`
  1374  	LastResultsHash       []byte `protobuf:"bytes,19,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"`
  1375  }
  1376  
  1377  func (m *RequestProcessProposal) Reset()         { *m = RequestProcessProposal{} }
  1378  func (m *RequestProcessProposal) String() string { return proto.CompactTextString(m) }
  1379  func (*RequestProcessProposal) ProtoMessage()    {}
  1380  func (*RequestProcessProposal) Descriptor() ([]byte, []int) {
  1381  	return fileDescriptor_252557cfdd89a31a, []int{13}
  1382  }
  1383  func (m *RequestProcessProposal) XXX_Unmarshal(b []byte) error {
  1384  	return m.Unmarshal(b)
  1385  }
  1386  func (m *RequestProcessProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1387  	if deterministic {
  1388  		return xxx_messageInfo_RequestProcessProposal.Marshal(b, m, deterministic)
  1389  	} else {
  1390  		b = b[:cap(b)]
  1391  		n, err := m.MarshalToSizedBuffer(b)
  1392  		if err != nil {
  1393  			return nil, err
  1394  		}
  1395  		return b[:n], nil
  1396  	}
  1397  }
  1398  func (m *RequestProcessProposal) XXX_Merge(src proto.Message) {
  1399  	xxx_messageInfo_RequestProcessProposal.Merge(m, src)
  1400  }
  1401  func (m *RequestProcessProposal) XXX_Size() int {
  1402  	return m.Size()
  1403  }
  1404  func (m *RequestProcessProposal) XXX_DiscardUnknown() {
  1405  	xxx_messageInfo_RequestProcessProposal.DiscardUnknown(m)
  1406  }
  1407  
  1408  var xxx_messageInfo_RequestProcessProposal proto.InternalMessageInfo
  1409  
  1410  func (m *RequestProcessProposal) GetTxs() [][]byte {
  1411  	if m != nil {
  1412  		return m.Txs
  1413  	}
  1414  	return nil
  1415  }
  1416  
  1417  func (m *RequestProcessProposal) GetProposedLastCommit() CommitInfo {
  1418  	if m != nil {
  1419  		return m.ProposedLastCommit
  1420  	}
  1421  	return CommitInfo{}
  1422  }
  1423  
  1424  func (m *RequestProcessProposal) GetByzantineValidators() []Misbehavior {
  1425  	if m != nil {
  1426  		return m.ByzantineValidators
  1427  	}
  1428  	return nil
  1429  }
  1430  
  1431  func (m *RequestProcessProposal) GetHash() []byte {
  1432  	if m != nil {
  1433  		return m.Hash
  1434  	}
  1435  	return nil
  1436  }
  1437  
  1438  func (m *RequestProcessProposal) GetHeight() int64 {
  1439  	if m != nil {
  1440  		return m.Height
  1441  	}
  1442  	return 0
  1443  }
  1444  
  1445  func (m *RequestProcessProposal) GetTime() time.Time {
  1446  	if m != nil {
  1447  		return m.Time
  1448  	}
  1449  	return time.Time{}
  1450  }
  1451  
  1452  func (m *RequestProcessProposal) GetNextValidatorsHash() []byte {
  1453  	if m != nil {
  1454  		return m.NextValidatorsHash
  1455  	}
  1456  	return nil
  1457  }
  1458  
  1459  func (m *RequestProcessProposal) GetProposerAddress() []byte {
  1460  	if m != nil {
  1461  		return m.ProposerAddress
  1462  	}
  1463  	return nil
  1464  }
  1465  
  1466  func (m *RequestProcessProposal) GetAppHash() []byte {
  1467  	if m != nil {
  1468  		return m.AppHash
  1469  	}
  1470  	return nil
  1471  }
  1472  
  1473  func (m *RequestProcessProposal) GetValidatorsHash() []byte {
  1474  	if m != nil {
  1475  		return m.ValidatorsHash
  1476  	}
  1477  	return nil
  1478  }
  1479  
  1480  func (m *RequestProcessProposal) GetConsensusHash() []byte {
  1481  	if m != nil {
  1482  		return m.ConsensusHash
  1483  	}
  1484  	return nil
  1485  }
  1486  
  1487  func (m *RequestProcessProposal) GetDataHash() []byte {
  1488  	if m != nil {
  1489  		return m.DataHash
  1490  	}
  1491  	return nil
  1492  }
  1493  
  1494  func (m *RequestProcessProposal) GetEvidenceHash() []byte {
  1495  	if m != nil {
  1496  		return m.EvidenceHash
  1497  	}
  1498  	return nil
  1499  }
  1500  
  1501  func (m *RequestProcessProposal) GetLastBlockHash() []byte {
  1502  	if m != nil {
  1503  		return m.LastBlockHash
  1504  	}
  1505  	return nil
  1506  }
  1507  
  1508  func (m *RequestProcessProposal) GetLastBlockPartSetTotal() int64 {
  1509  	if m != nil {
  1510  		return m.LastBlockPartSetTotal
  1511  	}
  1512  	return 0
  1513  }
  1514  
  1515  func (m *RequestProcessProposal) GetLastBlockPartSetHash() []byte {
  1516  	if m != nil {
  1517  		return m.LastBlockPartSetHash
  1518  	}
  1519  	return nil
  1520  }
  1521  
  1522  func (m *RequestProcessProposal) GetLastCommitHash() []byte {
  1523  	if m != nil {
  1524  		return m.LastCommitHash
  1525  	}
  1526  	return nil
  1527  }
  1528  
  1529  func (m *RequestProcessProposal) GetLastResultsHash() []byte {
  1530  	if m != nil {
  1531  		return m.LastResultsHash
  1532  	}
  1533  	return nil
  1534  }
  1535  
  1536  // Extends a vote with application-side injection
  1537  type RequestExtendVote struct {
  1538  	Hash   []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
  1539  	Height int64  `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
  1540  }
  1541  
  1542  func (m *RequestExtendVote) Reset()         { *m = RequestExtendVote{} }
  1543  func (m *RequestExtendVote) String() string { return proto.CompactTextString(m) }
  1544  func (*RequestExtendVote) ProtoMessage()    {}
  1545  func (*RequestExtendVote) Descriptor() ([]byte, []int) {
  1546  	return fileDescriptor_252557cfdd89a31a, []int{14}
  1547  }
  1548  func (m *RequestExtendVote) XXX_Unmarshal(b []byte) error {
  1549  	return m.Unmarshal(b)
  1550  }
  1551  func (m *RequestExtendVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1552  	if deterministic {
  1553  		return xxx_messageInfo_RequestExtendVote.Marshal(b, m, deterministic)
  1554  	} else {
  1555  		b = b[:cap(b)]
  1556  		n, err := m.MarshalToSizedBuffer(b)
  1557  		if err != nil {
  1558  			return nil, err
  1559  		}
  1560  		return b[:n], nil
  1561  	}
  1562  }
  1563  func (m *RequestExtendVote) XXX_Merge(src proto.Message) {
  1564  	xxx_messageInfo_RequestExtendVote.Merge(m, src)
  1565  }
  1566  func (m *RequestExtendVote) XXX_Size() int {
  1567  	return m.Size()
  1568  }
  1569  func (m *RequestExtendVote) XXX_DiscardUnknown() {
  1570  	xxx_messageInfo_RequestExtendVote.DiscardUnknown(m)
  1571  }
  1572  
  1573  var xxx_messageInfo_RequestExtendVote proto.InternalMessageInfo
  1574  
  1575  func (m *RequestExtendVote) GetHash() []byte {
  1576  	if m != nil {
  1577  		return m.Hash
  1578  	}
  1579  	return nil
  1580  }
  1581  
  1582  func (m *RequestExtendVote) GetHeight() int64 {
  1583  	if m != nil {
  1584  		return m.Height
  1585  	}
  1586  	return 0
  1587  }
  1588  
  1589  // Verify the vote extension
  1590  type RequestVerifyVoteExtension struct {
  1591  	Hash             []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
  1592  	ValidatorAddress []byte `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
  1593  	Height           int64  `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
  1594  	VoteExtension    []byte `protobuf:"bytes,4,opt,name=vote_extension,json=voteExtension,proto3" json:"vote_extension,omitempty"`
  1595  }
  1596  
  1597  func (m *RequestVerifyVoteExtension) Reset()         { *m = RequestVerifyVoteExtension{} }
  1598  func (m *RequestVerifyVoteExtension) String() string { return proto.CompactTextString(m) }
  1599  func (*RequestVerifyVoteExtension) ProtoMessage()    {}
  1600  func (*RequestVerifyVoteExtension) Descriptor() ([]byte, []int) {
  1601  	return fileDescriptor_252557cfdd89a31a, []int{15}
  1602  }
  1603  func (m *RequestVerifyVoteExtension) XXX_Unmarshal(b []byte) error {
  1604  	return m.Unmarshal(b)
  1605  }
  1606  func (m *RequestVerifyVoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1607  	if deterministic {
  1608  		return xxx_messageInfo_RequestVerifyVoteExtension.Marshal(b, m, deterministic)
  1609  	} else {
  1610  		b = b[:cap(b)]
  1611  		n, err := m.MarshalToSizedBuffer(b)
  1612  		if err != nil {
  1613  			return nil, err
  1614  		}
  1615  		return b[:n], nil
  1616  	}
  1617  }
  1618  func (m *RequestVerifyVoteExtension) XXX_Merge(src proto.Message) {
  1619  	xxx_messageInfo_RequestVerifyVoteExtension.Merge(m, src)
  1620  }
  1621  func (m *RequestVerifyVoteExtension) XXX_Size() int {
  1622  	return m.Size()
  1623  }
  1624  func (m *RequestVerifyVoteExtension) XXX_DiscardUnknown() {
  1625  	xxx_messageInfo_RequestVerifyVoteExtension.DiscardUnknown(m)
  1626  }
  1627  
  1628  var xxx_messageInfo_RequestVerifyVoteExtension proto.InternalMessageInfo
  1629  
  1630  func (m *RequestVerifyVoteExtension) GetHash() []byte {
  1631  	if m != nil {
  1632  		return m.Hash
  1633  	}
  1634  	return nil
  1635  }
  1636  
  1637  func (m *RequestVerifyVoteExtension) GetValidatorAddress() []byte {
  1638  	if m != nil {
  1639  		return m.ValidatorAddress
  1640  	}
  1641  	return nil
  1642  }
  1643  
  1644  func (m *RequestVerifyVoteExtension) GetHeight() int64 {
  1645  	if m != nil {
  1646  		return m.Height
  1647  	}
  1648  	return 0
  1649  }
  1650  
  1651  func (m *RequestVerifyVoteExtension) GetVoteExtension() []byte {
  1652  	if m != nil {
  1653  		return m.VoteExtension
  1654  	}
  1655  	return nil
  1656  }
  1657  
  1658  type RequestFinalizeBlock struct {
  1659  	Txs                 [][]byte      `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
  1660  	DecidedLastCommit   CommitInfo    `protobuf:"bytes,2,opt,name=decided_last_commit,json=decidedLastCommit,proto3" json:"decided_last_commit"`
  1661  	ByzantineValidators []Misbehavior `protobuf:"bytes,3,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators"`
  1662  	// hash is the merkle root hash of the fields of the proposed block.
  1663  	Hash               []byte    `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
  1664  	Height             int64     `protobuf:"varint,5,opt,name=height,proto3" json:"height,omitempty"`
  1665  	Time               time.Time `protobuf:"bytes,6,opt,name=time,proto3,stdtime" json:"time"`
  1666  	NextValidatorsHash []byte    `protobuf:"bytes,7,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"`
  1667  	// proposer_address is the address of the public key of the original proposer of the block.
  1668  	ProposerAddress       []byte `protobuf:"bytes,8,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
  1669  	AppHash               []byte `protobuf:"bytes,10,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
  1670  	ValidatorsHash        []byte `protobuf:"bytes,11,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"`
  1671  	ConsensusHash         []byte `protobuf:"bytes,12,opt,name=consensus_hash,json=consensusHash,proto3" json:"consensus_hash,omitempty"`
  1672  	DataHash              []byte `protobuf:"bytes,13,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
  1673  	EvidenceHash          []byte `protobuf:"bytes,14,opt,name=evidence_hash,json=evidenceHash,proto3" json:"evidence_hash,omitempty"`
  1674  	LastBlockHash         []byte `protobuf:"bytes,15,opt,name=last_block_hash,json=lastBlockHash,proto3" json:"last_block_hash,omitempty"`
  1675  	LastBlockPartSetTotal int64  `protobuf:"varint,16,opt,name=last_block_part_set_total,json=lastBlockPartSetTotal,proto3" json:"last_block_part_set_total,omitempty"`
  1676  	LastBlockPartSetHash  []byte `protobuf:"bytes,17,opt,name=last_block_part_set_hash,json=lastBlockPartSetHash,proto3" json:"last_block_part_set_hash,omitempty"`
  1677  	LastCommitHash        []byte `protobuf:"bytes,18,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"`
  1678  	LastResultsHash       []byte `protobuf:"bytes,19,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"`
  1679  }
  1680  
  1681  func (m *RequestFinalizeBlock) Reset()         { *m = RequestFinalizeBlock{} }
  1682  func (m *RequestFinalizeBlock) String() string { return proto.CompactTextString(m) }
  1683  func (*RequestFinalizeBlock) ProtoMessage()    {}
  1684  func (*RequestFinalizeBlock) Descriptor() ([]byte, []int) {
  1685  	return fileDescriptor_252557cfdd89a31a, []int{16}
  1686  }
  1687  func (m *RequestFinalizeBlock) XXX_Unmarshal(b []byte) error {
  1688  	return m.Unmarshal(b)
  1689  }
  1690  func (m *RequestFinalizeBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1691  	if deterministic {
  1692  		return xxx_messageInfo_RequestFinalizeBlock.Marshal(b, m, deterministic)
  1693  	} else {
  1694  		b = b[:cap(b)]
  1695  		n, err := m.MarshalToSizedBuffer(b)
  1696  		if err != nil {
  1697  			return nil, err
  1698  		}
  1699  		return b[:n], nil
  1700  	}
  1701  }
  1702  func (m *RequestFinalizeBlock) XXX_Merge(src proto.Message) {
  1703  	xxx_messageInfo_RequestFinalizeBlock.Merge(m, src)
  1704  }
  1705  func (m *RequestFinalizeBlock) XXX_Size() int {
  1706  	return m.Size()
  1707  }
  1708  func (m *RequestFinalizeBlock) XXX_DiscardUnknown() {
  1709  	xxx_messageInfo_RequestFinalizeBlock.DiscardUnknown(m)
  1710  }
  1711  
  1712  var xxx_messageInfo_RequestFinalizeBlock proto.InternalMessageInfo
  1713  
  1714  func (m *RequestFinalizeBlock) GetTxs() [][]byte {
  1715  	if m != nil {
  1716  		return m.Txs
  1717  	}
  1718  	return nil
  1719  }
  1720  
  1721  func (m *RequestFinalizeBlock) GetDecidedLastCommit() CommitInfo {
  1722  	if m != nil {
  1723  		return m.DecidedLastCommit
  1724  	}
  1725  	return CommitInfo{}
  1726  }
  1727  
  1728  func (m *RequestFinalizeBlock) GetByzantineValidators() []Misbehavior {
  1729  	if m != nil {
  1730  		return m.ByzantineValidators
  1731  	}
  1732  	return nil
  1733  }
  1734  
  1735  func (m *RequestFinalizeBlock) GetHash() []byte {
  1736  	if m != nil {
  1737  		return m.Hash
  1738  	}
  1739  	return nil
  1740  }
  1741  
  1742  func (m *RequestFinalizeBlock) GetHeight() int64 {
  1743  	if m != nil {
  1744  		return m.Height
  1745  	}
  1746  	return 0
  1747  }
  1748  
  1749  func (m *RequestFinalizeBlock) GetTime() time.Time {
  1750  	if m != nil {
  1751  		return m.Time
  1752  	}
  1753  	return time.Time{}
  1754  }
  1755  
  1756  func (m *RequestFinalizeBlock) GetNextValidatorsHash() []byte {
  1757  	if m != nil {
  1758  		return m.NextValidatorsHash
  1759  	}
  1760  	return nil
  1761  }
  1762  
  1763  func (m *RequestFinalizeBlock) GetProposerAddress() []byte {
  1764  	if m != nil {
  1765  		return m.ProposerAddress
  1766  	}
  1767  	return nil
  1768  }
  1769  
  1770  func (m *RequestFinalizeBlock) GetAppHash() []byte {
  1771  	if m != nil {
  1772  		return m.AppHash
  1773  	}
  1774  	return nil
  1775  }
  1776  
  1777  func (m *RequestFinalizeBlock) GetValidatorsHash() []byte {
  1778  	if m != nil {
  1779  		return m.ValidatorsHash
  1780  	}
  1781  	return nil
  1782  }
  1783  
  1784  func (m *RequestFinalizeBlock) GetConsensusHash() []byte {
  1785  	if m != nil {
  1786  		return m.ConsensusHash
  1787  	}
  1788  	return nil
  1789  }
  1790  
  1791  func (m *RequestFinalizeBlock) GetDataHash() []byte {
  1792  	if m != nil {
  1793  		return m.DataHash
  1794  	}
  1795  	return nil
  1796  }
  1797  
  1798  func (m *RequestFinalizeBlock) GetEvidenceHash() []byte {
  1799  	if m != nil {
  1800  		return m.EvidenceHash
  1801  	}
  1802  	return nil
  1803  }
  1804  
  1805  func (m *RequestFinalizeBlock) GetLastBlockHash() []byte {
  1806  	if m != nil {
  1807  		return m.LastBlockHash
  1808  	}
  1809  	return nil
  1810  }
  1811  
  1812  func (m *RequestFinalizeBlock) GetLastBlockPartSetTotal() int64 {
  1813  	if m != nil {
  1814  		return m.LastBlockPartSetTotal
  1815  	}
  1816  	return 0
  1817  }
  1818  
  1819  func (m *RequestFinalizeBlock) GetLastBlockPartSetHash() []byte {
  1820  	if m != nil {
  1821  		return m.LastBlockPartSetHash
  1822  	}
  1823  	return nil
  1824  }
  1825  
  1826  func (m *RequestFinalizeBlock) GetLastCommitHash() []byte {
  1827  	if m != nil {
  1828  		return m.LastCommitHash
  1829  	}
  1830  	return nil
  1831  }
  1832  
  1833  func (m *RequestFinalizeBlock) GetLastResultsHash() []byte {
  1834  	if m != nil {
  1835  		return m.LastResultsHash
  1836  	}
  1837  	return nil
  1838  }
  1839  
  1840  type RequestBeginBlock struct {
  1841  	Hash                []byte         `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
  1842  	Header              types1.Header  `protobuf:"bytes,2,opt,name=header,proto3" json:"header"`
  1843  	LastCommitInfo      LastCommitInfo `protobuf:"bytes,3,opt,name=last_commit_info,json=lastCommitInfo,proto3" json:"last_commit_info"`
  1844  	ByzantineValidators []Evidence     `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators"`
  1845  }
  1846  
  1847  func (m *RequestBeginBlock) Reset()         { *m = RequestBeginBlock{} }
  1848  func (m *RequestBeginBlock) String() string { return proto.CompactTextString(m) }
  1849  func (*RequestBeginBlock) ProtoMessage()    {}
  1850  func (*RequestBeginBlock) Descriptor() ([]byte, []int) {
  1851  	return fileDescriptor_252557cfdd89a31a, []int{17}
  1852  }
  1853  func (m *RequestBeginBlock) XXX_Unmarshal(b []byte) error {
  1854  	return m.Unmarshal(b)
  1855  }
  1856  func (m *RequestBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1857  	if deterministic {
  1858  		return xxx_messageInfo_RequestBeginBlock.Marshal(b, m, deterministic)
  1859  	} else {
  1860  		b = b[:cap(b)]
  1861  		n, err := m.MarshalToSizedBuffer(b)
  1862  		if err != nil {
  1863  			return nil, err
  1864  		}
  1865  		return b[:n], nil
  1866  	}
  1867  }
  1868  func (m *RequestBeginBlock) XXX_Merge(src proto.Message) {
  1869  	xxx_messageInfo_RequestBeginBlock.Merge(m, src)
  1870  }
  1871  func (m *RequestBeginBlock) XXX_Size() int {
  1872  	return m.Size()
  1873  }
  1874  func (m *RequestBeginBlock) XXX_DiscardUnknown() {
  1875  	xxx_messageInfo_RequestBeginBlock.DiscardUnknown(m)
  1876  }
  1877  
  1878  var xxx_messageInfo_RequestBeginBlock proto.InternalMessageInfo
  1879  
  1880  func (m *RequestBeginBlock) GetHash() []byte {
  1881  	if m != nil {
  1882  		return m.Hash
  1883  	}
  1884  	return nil
  1885  }
  1886  
  1887  func (m *RequestBeginBlock) GetHeader() types1.Header {
  1888  	if m != nil {
  1889  		return m.Header
  1890  	}
  1891  	return types1.Header{}
  1892  }
  1893  
  1894  func (m *RequestBeginBlock) GetLastCommitInfo() LastCommitInfo {
  1895  	if m != nil {
  1896  		return m.LastCommitInfo
  1897  	}
  1898  	return LastCommitInfo{}
  1899  }
  1900  
  1901  func (m *RequestBeginBlock) GetByzantineValidators() []Evidence {
  1902  	if m != nil {
  1903  		return m.ByzantineValidators
  1904  	}
  1905  	return nil
  1906  }
  1907  
  1908  type RequestDeliverTx struct {
  1909  	Tx          []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
  1910  	SigVerified bool   `protobuf:"varint,2,opt,name=sig_verified,json=sigVerified,proto3" json:"sig_verified,omitempty"`
  1911  }
  1912  
  1913  func (m *RequestDeliverTx) Reset()         { *m = RequestDeliverTx{} }
  1914  func (m *RequestDeliverTx) String() string { return proto.CompactTextString(m) }
  1915  func (*RequestDeliverTx) ProtoMessage()    {}
  1916  func (*RequestDeliverTx) Descriptor() ([]byte, []int) {
  1917  	return fileDescriptor_252557cfdd89a31a, []int{18}
  1918  }
  1919  func (m *RequestDeliverTx) XXX_Unmarshal(b []byte) error {
  1920  	return m.Unmarshal(b)
  1921  }
  1922  func (m *RequestDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1923  	if deterministic {
  1924  		return xxx_messageInfo_RequestDeliverTx.Marshal(b, m, deterministic)
  1925  	} else {
  1926  		b = b[:cap(b)]
  1927  		n, err := m.MarshalToSizedBuffer(b)
  1928  		if err != nil {
  1929  			return nil, err
  1930  		}
  1931  		return b[:n], nil
  1932  	}
  1933  }
  1934  func (m *RequestDeliverTx) XXX_Merge(src proto.Message) {
  1935  	xxx_messageInfo_RequestDeliverTx.Merge(m, src)
  1936  }
  1937  func (m *RequestDeliverTx) XXX_Size() int {
  1938  	return m.Size()
  1939  }
  1940  func (m *RequestDeliverTx) XXX_DiscardUnknown() {
  1941  	xxx_messageInfo_RequestDeliverTx.DiscardUnknown(m)
  1942  }
  1943  
  1944  var xxx_messageInfo_RequestDeliverTx proto.InternalMessageInfo
  1945  
  1946  func (m *RequestDeliverTx) GetTx() []byte {
  1947  	if m != nil {
  1948  		return m.Tx
  1949  	}
  1950  	return nil
  1951  }
  1952  
  1953  func (m *RequestDeliverTx) GetSigVerified() bool {
  1954  	if m != nil {
  1955  		return m.SigVerified
  1956  	}
  1957  	return false
  1958  }
  1959  
  1960  type RequestEndBlock struct {
  1961  	Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
  1962  }
  1963  
  1964  func (m *RequestEndBlock) Reset()         { *m = RequestEndBlock{} }
  1965  func (m *RequestEndBlock) String() string { return proto.CompactTextString(m) }
  1966  func (*RequestEndBlock) ProtoMessage()    {}
  1967  func (*RequestEndBlock) Descriptor() ([]byte, []int) {
  1968  	return fileDescriptor_252557cfdd89a31a, []int{19}
  1969  }
  1970  func (m *RequestEndBlock) XXX_Unmarshal(b []byte) error {
  1971  	return m.Unmarshal(b)
  1972  }
  1973  func (m *RequestEndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1974  	if deterministic {
  1975  		return xxx_messageInfo_RequestEndBlock.Marshal(b, m, deterministic)
  1976  	} else {
  1977  		b = b[:cap(b)]
  1978  		n, err := m.MarshalToSizedBuffer(b)
  1979  		if err != nil {
  1980  			return nil, err
  1981  		}
  1982  		return b[:n], nil
  1983  	}
  1984  }
  1985  func (m *RequestEndBlock) XXX_Merge(src proto.Message) {
  1986  	xxx_messageInfo_RequestEndBlock.Merge(m, src)
  1987  }
  1988  func (m *RequestEndBlock) XXX_Size() int {
  1989  	return m.Size()
  1990  }
  1991  func (m *RequestEndBlock) XXX_DiscardUnknown() {
  1992  	xxx_messageInfo_RequestEndBlock.DiscardUnknown(m)
  1993  }
  1994  
  1995  var xxx_messageInfo_RequestEndBlock proto.InternalMessageInfo
  1996  
  1997  func (m *RequestEndBlock) GetHeight() int64 {
  1998  	if m != nil {
  1999  		return m.Height
  2000  	}
  2001  	return 0
  2002  }
  2003  
  2004  type RequestLoadLatest struct {
  2005  }
  2006  
  2007  func (m *RequestLoadLatest) Reset()         { *m = RequestLoadLatest{} }
  2008  func (m *RequestLoadLatest) String() string { return proto.CompactTextString(m) }
  2009  func (*RequestLoadLatest) ProtoMessage()    {}
  2010  func (*RequestLoadLatest) Descriptor() ([]byte, []int) {
  2011  	return fileDescriptor_252557cfdd89a31a, []int{20}
  2012  }
  2013  func (m *RequestLoadLatest) XXX_Unmarshal(b []byte) error {
  2014  	return m.Unmarshal(b)
  2015  }
  2016  func (m *RequestLoadLatest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2017  	if deterministic {
  2018  		return xxx_messageInfo_RequestLoadLatest.Marshal(b, m, deterministic)
  2019  	} else {
  2020  		b = b[:cap(b)]
  2021  		n, err := m.MarshalToSizedBuffer(b)
  2022  		if err != nil {
  2023  			return nil, err
  2024  		}
  2025  		return b[:n], nil
  2026  	}
  2027  }
  2028  func (m *RequestLoadLatest) XXX_Merge(src proto.Message) {
  2029  	xxx_messageInfo_RequestLoadLatest.Merge(m, src)
  2030  }
  2031  func (m *RequestLoadLatest) XXX_Size() int {
  2032  	return m.Size()
  2033  }
  2034  func (m *RequestLoadLatest) XXX_DiscardUnknown() {
  2035  	xxx_messageInfo_RequestLoadLatest.DiscardUnknown(m)
  2036  }
  2037  
  2038  var xxx_messageInfo_RequestLoadLatest proto.InternalMessageInfo
  2039  
  2040  type Response struct {
  2041  	// Types that are valid to be assigned to Value:
  2042  	//
  2043  	//	*Response_Exception
  2044  	//	*Response_Echo
  2045  	//	*Response_Flush
  2046  	//	*Response_Info
  2047  	//	*Response_InitChain
  2048  	//	*Response_Query
  2049  	//	*Response_CheckTx
  2050  	//	*Response_Commit
  2051  	//	*Response_ListSnapshots
  2052  	//	*Response_OfferSnapshot
  2053  	//	*Response_LoadSnapshotChunk
  2054  	//	*Response_ApplySnapshotChunk
  2055  	//	*Response_PrepareProposal
  2056  	//	*Response_ProcessProposal
  2057  	//	*Response_ExtendVote
  2058  	//	*Response_VerifyVoteExtension
  2059  	//	*Response_FinalizeBlock
  2060  	//	*Response_BeginBlock
  2061  	//	*Response_DeliverTx
  2062  	//	*Response_EndBlock
  2063  	//	*Response_LoadLatest
  2064  	Value isResponse_Value `protobuf_oneof:"value"`
  2065  }
  2066  
  2067  func (m *Response) Reset()         { *m = Response{} }
  2068  func (m *Response) String() string { return proto.CompactTextString(m) }
  2069  func (*Response) ProtoMessage()    {}
  2070  func (*Response) Descriptor() ([]byte, []int) {
  2071  	return fileDescriptor_252557cfdd89a31a, []int{21}
  2072  }
  2073  func (m *Response) XXX_Unmarshal(b []byte) error {
  2074  	return m.Unmarshal(b)
  2075  }
  2076  func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2077  	if deterministic {
  2078  		return xxx_messageInfo_Response.Marshal(b, m, deterministic)
  2079  	} else {
  2080  		b = b[:cap(b)]
  2081  		n, err := m.MarshalToSizedBuffer(b)
  2082  		if err != nil {
  2083  			return nil, err
  2084  		}
  2085  		return b[:n], nil
  2086  	}
  2087  }
  2088  func (m *Response) XXX_Merge(src proto.Message) {
  2089  	xxx_messageInfo_Response.Merge(m, src)
  2090  }
  2091  func (m *Response) XXX_Size() int {
  2092  	return m.Size()
  2093  }
  2094  func (m *Response) XXX_DiscardUnknown() {
  2095  	xxx_messageInfo_Response.DiscardUnknown(m)
  2096  }
  2097  
  2098  var xxx_messageInfo_Response proto.InternalMessageInfo
  2099  
  2100  type isResponse_Value interface {
  2101  	isResponse_Value()
  2102  	MarshalTo([]byte) (int, error)
  2103  	Size() int
  2104  }
  2105  
  2106  type Response_Exception struct {
  2107  	Exception *ResponseException `protobuf:"bytes,1,opt,name=exception,proto3,oneof" json:"exception,omitempty"`
  2108  }
  2109  type Response_Echo struct {
  2110  	Echo *ResponseEcho `protobuf:"bytes,2,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
  2111  }
  2112  type Response_Flush struct {
  2113  	Flush *ResponseFlush `protobuf:"bytes,3,opt,name=flush,proto3,oneof" json:"flush,omitempty"`
  2114  }
  2115  type Response_Info struct {
  2116  	Info *ResponseInfo `protobuf:"bytes,4,opt,name=info,proto3,oneof" json:"info,omitempty"`
  2117  }
  2118  type Response_InitChain struct {
  2119  	InitChain *ResponseInitChain `protobuf:"bytes,5,opt,name=init_chain,json=initChain,proto3,oneof" json:"init_chain,omitempty"`
  2120  }
  2121  type Response_Query struct {
  2122  	Query *ResponseQuery `protobuf:"bytes,6,opt,name=query,proto3,oneof" json:"query,omitempty"`
  2123  }
  2124  type Response_CheckTx struct {
  2125  	CheckTx *ResponseCheckTx `protobuf:"bytes,8,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
  2126  }
  2127  type Response_Commit struct {
  2128  	Commit *ResponseCommit `protobuf:"bytes,11,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
  2129  }
  2130  type Response_ListSnapshots struct {
  2131  	ListSnapshots *ResponseListSnapshots `protobuf:"bytes,12,opt,name=list_snapshots,json=listSnapshots,proto3,oneof" json:"list_snapshots,omitempty"`
  2132  }
  2133  type Response_OfferSnapshot struct {
  2134  	OfferSnapshot *ResponseOfferSnapshot `protobuf:"bytes,13,opt,name=offer_snapshot,json=offerSnapshot,proto3,oneof" json:"offer_snapshot,omitempty"`
  2135  }
  2136  type Response_LoadSnapshotChunk struct {
  2137  	LoadSnapshotChunk *ResponseLoadSnapshotChunk `protobuf:"bytes,14,opt,name=load_snapshot_chunk,json=loadSnapshotChunk,proto3,oneof" json:"load_snapshot_chunk,omitempty"`
  2138  }
  2139  type Response_ApplySnapshotChunk struct {
  2140  	ApplySnapshotChunk *ResponseApplySnapshotChunk `protobuf:"bytes,15,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof" json:"apply_snapshot_chunk,omitempty"`
  2141  }
  2142  type Response_PrepareProposal struct {
  2143  	PrepareProposal *ResponsePrepareProposal `protobuf:"bytes,16,opt,name=prepare_proposal,json=prepareProposal,proto3,oneof" json:"prepare_proposal,omitempty"`
  2144  }
  2145  type Response_ProcessProposal struct {
  2146  	ProcessProposal *ResponseProcessProposal `protobuf:"bytes,17,opt,name=process_proposal,json=processProposal,proto3,oneof" json:"process_proposal,omitempty"`
  2147  }
  2148  type Response_ExtendVote struct {
  2149  	ExtendVote *ResponseExtendVote `protobuf:"bytes,18,opt,name=extend_vote,json=extendVote,proto3,oneof" json:"extend_vote,omitempty"`
  2150  }
  2151  type Response_VerifyVoteExtension struct {
  2152  	VerifyVoteExtension *ResponseVerifyVoteExtension `protobuf:"bytes,19,opt,name=verify_vote_extension,json=verifyVoteExtension,proto3,oneof" json:"verify_vote_extension,omitempty"`
  2153  }
  2154  type Response_FinalizeBlock struct {
  2155  	FinalizeBlock *ResponseFinalizeBlock `protobuf:"bytes,20,opt,name=finalize_block,json=finalizeBlock,proto3,oneof" json:"finalize_block,omitempty"`
  2156  }
  2157  type Response_BeginBlock struct {
  2158  	BeginBlock *ResponseBeginBlock `protobuf:"bytes,21,opt,name=begin_block,json=beginBlock,proto3,oneof" json:"begin_block,omitempty"`
  2159  }
  2160  type Response_DeliverTx struct {
  2161  	DeliverTx *ResponseDeliverTx `protobuf:"bytes,22,opt,name=deliver_tx,json=deliverTx,proto3,oneof" json:"deliver_tx,omitempty"`
  2162  }
  2163  type Response_EndBlock struct {
  2164  	EndBlock *ResponseEndBlock `protobuf:"bytes,23,opt,name=end_block,json=endBlock,proto3,oneof" json:"end_block,omitempty"`
  2165  }
  2166  type Response_LoadLatest struct {
  2167  	LoadLatest *ResponseLoadLatest `protobuf:"bytes,24,opt,name=load_latest,json=loadLatest,proto3,oneof" json:"load_latest,omitempty"`
  2168  }
  2169  
  2170  func (*Response_Exception) isResponse_Value()           {}
  2171  func (*Response_Echo) isResponse_Value()                {}
  2172  func (*Response_Flush) isResponse_Value()               {}
  2173  func (*Response_Info) isResponse_Value()                {}
  2174  func (*Response_InitChain) isResponse_Value()           {}
  2175  func (*Response_Query) isResponse_Value()               {}
  2176  func (*Response_CheckTx) isResponse_Value()             {}
  2177  func (*Response_Commit) isResponse_Value()              {}
  2178  func (*Response_ListSnapshots) isResponse_Value()       {}
  2179  func (*Response_OfferSnapshot) isResponse_Value()       {}
  2180  func (*Response_LoadSnapshotChunk) isResponse_Value()   {}
  2181  func (*Response_ApplySnapshotChunk) isResponse_Value()  {}
  2182  func (*Response_PrepareProposal) isResponse_Value()     {}
  2183  func (*Response_ProcessProposal) isResponse_Value()     {}
  2184  func (*Response_ExtendVote) isResponse_Value()          {}
  2185  func (*Response_VerifyVoteExtension) isResponse_Value() {}
  2186  func (*Response_FinalizeBlock) isResponse_Value()       {}
  2187  func (*Response_BeginBlock) isResponse_Value()          {}
  2188  func (*Response_DeliverTx) isResponse_Value()           {}
  2189  func (*Response_EndBlock) isResponse_Value()            {}
  2190  func (*Response_LoadLatest) isResponse_Value()          {}
  2191  
  2192  func (m *Response) GetValue() isResponse_Value {
  2193  	if m != nil {
  2194  		return m.Value
  2195  	}
  2196  	return nil
  2197  }
  2198  
  2199  func (m *Response) GetException() *ResponseException {
  2200  	if x, ok := m.GetValue().(*Response_Exception); ok {
  2201  		return x.Exception
  2202  	}
  2203  	return nil
  2204  }
  2205  
  2206  func (m *Response) GetEcho() *ResponseEcho {
  2207  	if x, ok := m.GetValue().(*Response_Echo); ok {
  2208  		return x.Echo
  2209  	}
  2210  	return nil
  2211  }
  2212  
  2213  func (m *Response) GetFlush() *ResponseFlush {
  2214  	if x, ok := m.GetValue().(*Response_Flush); ok {
  2215  		return x.Flush
  2216  	}
  2217  	return nil
  2218  }
  2219  
  2220  func (m *Response) GetInfo() *ResponseInfo {
  2221  	if x, ok := m.GetValue().(*Response_Info); ok {
  2222  		return x.Info
  2223  	}
  2224  	return nil
  2225  }
  2226  
  2227  func (m *Response) GetInitChain() *ResponseInitChain {
  2228  	if x, ok := m.GetValue().(*Response_InitChain); ok {
  2229  		return x.InitChain
  2230  	}
  2231  	return nil
  2232  }
  2233  
  2234  func (m *Response) GetQuery() *ResponseQuery {
  2235  	if x, ok := m.GetValue().(*Response_Query); ok {
  2236  		return x.Query
  2237  	}
  2238  	return nil
  2239  }
  2240  
  2241  func (m *Response) GetCheckTx() *ResponseCheckTx {
  2242  	if x, ok := m.GetValue().(*Response_CheckTx); ok {
  2243  		return x.CheckTx
  2244  	}
  2245  	return nil
  2246  }
  2247  
  2248  func (m *Response) GetCommit() *ResponseCommit {
  2249  	if x, ok := m.GetValue().(*Response_Commit); ok {
  2250  		return x.Commit
  2251  	}
  2252  	return nil
  2253  }
  2254  
  2255  func (m *Response) GetListSnapshots() *ResponseListSnapshots {
  2256  	if x, ok := m.GetValue().(*Response_ListSnapshots); ok {
  2257  		return x.ListSnapshots
  2258  	}
  2259  	return nil
  2260  }
  2261  
  2262  func (m *Response) GetOfferSnapshot() *ResponseOfferSnapshot {
  2263  	if x, ok := m.GetValue().(*Response_OfferSnapshot); ok {
  2264  		return x.OfferSnapshot
  2265  	}
  2266  	return nil
  2267  }
  2268  
  2269  func (m *Response) GetLoadSnapshotChunk() *ResponseLoadSnapshotChunk {
  2270  	if x, ok := m.GetValue().(*Response_LoadSnapshotChunk); ok {
  2271  		return x.LoadSnapshotChunk
  2272  	}
  2273  	return nil
  2274  }
  2275  
  2276  func (m *Response) GetApplySnapshotChunk() *ResponseApplySnapshotChunk {
  2277  	if x, ok := m.GetValue().(*Response_ApplySnapshotChunk); ok {
  2278  		return x.ApplySnapshotChunk
  2279  	}
  2280  	return nil
  2281  }
  2282  
  2283  func (m *Response) GetPrepareProposal() *ResponsePrepareProposal {
  2284  	if x, ok := m.GetValue().(*Response_PrepareProposal); ok {
  2285  		return x.PrepareProposal
  2286  	}
  2287  	return nil
  2288  }
  2289  
  2290  func (m *Response) GetProcessProposal() *ResponseProcessProposal {
  2291  	if x, ok := m.GetValue().(*Response_ProcessProposal); ok {
  2292  		return x.ProcessProposal
  2293  	}
  2294  	return nil
  2295  }
  2296  
  2297  func (m *Response) GetExtendVote() *ResponseExtendVote {
  2298  	if x, ok := m.GetValue().(*Response_ExtendVote); ok {
  2299  		return x.ExtendVote
  2300  	}
  2301  	return nil
  2302  }
  2303  
  2304  func (m *Response) GetVerifyVoteExtension() *ResponseVerifyVoteExtension {
  2305  	if x, ok := m.GetValue().(*Response_VerifyVoteExtension); ok {
  2306  		return x.VerifyVoteExtension
  2307  	}
  2308  	return nil
  2309  }
  2310  
  2311  func (m *Response) GetFinalizeBlock() *ResponseFinalizeBlock {
  2312  	if x, ok := m.GetValue().(*Response_FinalizeBlock); ok {
  2313  		return x.FinalizeBlock
  2314  	}
  2315  	return nil
  2316  }
  2317  
  2318  func (m *Response) GetBeginBlock() *ResponseBeginBlock {
  2319  	if x, ok := m.GetValue().(*Response_BeginBlock); ok {
  2320  		return x.BeginBlock
  2321  	}
  2322  	return nil
  2323  }
  2324  
  2325  func (m *Response) GetDeliverTx() *ResponseDeliverTx {
  2326  	if x, ok := m.GetValue().(*Response_DeliverTx); ok {
  2327  		return x.DeliverTx
  2328  	}
  2329  	return nil
  2330  }
  2331  
  2332  func (m *Response) GetEndBlock() *ResponseEndBlock {
  2333  	if x, ok := m.GetValue().(*Response_EndBlock); ok {
  2334  		return x.EndBlock
  2335  	}
  2336  	return nil
  2337  }
  2338  
  2339  func (m *Response) GetLoadLatest() *ResponseLoadLatest {
  2340  	if x, ok := m.GetValue().(*Response_LoadLatest); ok {
  2341  		return x.LoadLatest
  2342  	}
  2343  	return nil
  2344  }
  2345  
  2346  // XXX_OneofWrappers is for the internal use of the proto package.
  2347  func (*Response) XXX_OneofWrappers() []interface{} {
  2348  	return []interface{}{
  2349  		(*Response_Exception)(nil),
  2350  		(*Response_Echo)(nil),
  2351  		(*Response_Flush)(nil),
  2352  		(*Response_Info)(nil),
  2353  		(*Response_InitChain)(nil),
  2354  		(*Response_Query)(nil),
  2355  		(*Response_CheckTx)(nil),
  2356  		(*Response_Commit)(nil),
  2357  		(*Response_ListSnapshots)(nil),
  2358  		(*Response_OfferSnapshot)(nil),
  2359  		(*Response_LoadSnapshotChunk)(nil),
  2360  		(*Response_ApplySnapshotChunk)(nil),
  2361  		(*Response_PrepareProposal)(nil),
  2362  		(*Response_ProcessProposal)(nil),
  2363  		(*Response_ExtendVote)(nil),
  2364  		(*Response_VerifyVoteExtension)(nil),
  2365  		(*Response_FinalizeBlock)(nil),
  2366  		(*Response_BeginBlock)(nil),
  2367  		(*Response_DeliverTx)(nil),
  2368  		(*Response_EndBlock)(nil),
  2369  		(*Response_LoadLatest)(nil),
  2370  	}
  2371  }
  2372  
  2373  // nondeterministic
  2374  type ResponseException struct {
  2375  	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  2376  }
  2377  
  2378  func (m *ResponseException) Reset()         { *m = ResponseException{} }
  2379  func (m *ResponseException) String() string { return proto.CompactTextString(m) }
  2380  func (*ResponseException) ProtoMessage()    {}
  2381  func (*ResponseException) Descriptor() ([]byte, []int) {
  2382  	return fileDescriptor_252557cfdd89a31a, []int{22}
  2383  }
  2384  func (m *ResponseException) XXX_Unmarshal(b []byte) error {
  2385  	return m.Unmarshal(b)
  2386  }
  2387  func (m *ResponseException) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2388  	if deterministic {
  2389  		return xxx_messageInfo_ResponseException.Marshal(b, m, deterministic)
  2390  	} else {
  2391  		b = b[:cap(b)]
  2392  		n, err := m.MarshalToSizedBuffer(b)
  2393  		if err != nil {
  2394  			return nil, err
  2395  		}
  2396  		return b[:n], nil
  2397  	}
  2398  }
  2399  func (m *ResponseException) XXX_Merge(src proto.Message) {
  2400  	xxx_messageInfo_ResponseException.Merge(m, src)
  2401  }
  2402  func (m *ResponseException) XXX_Size() int {
  2403  	return m.Size()
  2404  }
  2405  func (m *ResponseException) XXX_DiscardUnknown() {
  2406  	xxx_messageInfo_ResponseException.DiscardUnknown(m)
  2407  }
  2408  
  2409  var xxx_messageInfo_ResponseException proto.InternalMessageInfo
  2410  
  2411  func (m *ResponseException) GetError() string {
  2412  	if m != nil {
  2413  		return m.Error
  2414  	}
  2415  	return ""
  2416  }
  2417  
  2418  type ResponseEcho struct {
  2419  	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
  2420  }
  2421  
  2422  func (m *ResponseEcho) Reset()         { *m = ResponseEcho{} }
  2423  func (m *ResponseEcho) String() string { return proto.CompactTextString(m) }
  2424  func (*ResponseEcho) ProtoMessage()    {}
  2425  func (*ResponseEcho) Descriptor() ([]byte, []int) {
  2426  	return fileDescriptor_252557cfdd89a31a, []int{23}
  2427  }
  2428  func (m *ResponseEcho) XXX_Unmarshal(b []byte) error {
  2429  	return m.Unmarshal(b)
  2430  }
  2431  func (m *ResponseEcho) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2432  	if deterministic {
  2433  		return xxx_messageInfo_ResponseEcho.Marshal(b, m, deterministic)
  2434  	} else {
  2435  		b = b[:cap(b)]
  2436  		n, err := m.MarshalToSizedBuffer(b)
  2437  		if err != nil {
  2438  			return nil, err
  2439  		}
  2440  		return b[:n], nil
  2441  	}
  2442  }
  2443  func (m *ResponseEcho) XXX_Merge(src proto.Message) {
  2444  	xxx_messageInfo_ResponseEcho.Merge(m, src)
  2445  }
  2446  func (m *ResponseEcho) XXX_Size() int {
  2447  	return m.Size()
  2448  }
  2449  func (m *ResponseEcho) XXX_DiscardUnknown() {
  2450  	xxx_messageInfo_ResponseEcho.DiscardUnknown(m)
  2451  }
  2452  
  2453  var xxx_messageInfo_ResponseEcho proto.InternalMessageInfo
  2454  
  2455  func (m *ResponseEcho) GetMessage() string {
  2456  	if m != nil {
  2457  		return m.Message
  2458  	}
  2459  	return ""
  2460  }
  2461  
  2462  type ResponseFlush struct {
  2463  }
  2464  
  2465  func (m *ResponseFlush) Reset()         { *m = ResponseFlush{} }
  2466  func (m *ResponseFlush) String() string { return proto.CompactTextString(m) }
  2467  func (*ResponseFlush) ProtoMessage()    {}
  2468  func (*ResponseFlush) Descriptor() ([]byte, []int) {
  2469  	return fileDescriptor_252557cfdd89a31a, []int{24}
  2470  }
  2471  func (m *ResponseFlush) XXX_Unmarshal(b []byte) error {
  2472  	return m.Unmarshal(b)
  2473  }
  2474  func (m *ResponseFlush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2475  	if deterministic {
  2476  		return xxx_messageInfo_ResponseFlush.Marshal(b, m, deterministic)
  2477  	} else {
  2478  		b = b[:cap(b)]
  2479  		n, err := m.MarshalToSizedBuffer(b)
  2480  		if err != nil {
  2481  			return nil, err
  2482  		}
  2483  		return b[:n], nil
  2484  	}
  2485  }
  2486  func (m *ResponseFlush) XXX_Merge(src proto.Message) {
  2487  	xxx_messageInfo_ResponseFlush.Merge(m, src)
  2488  }
  2489  func (m *ResponseFlush) XXX_Size() int {
  2490  	return m.Size()
  2491  }
  2492  func (m *ResponseFlush) XXX_DiscardUnknown() {
  2493  	xxx_messageInfo_ResponseFlush.DiscardUnknown(m)
  2494  }
  2495  
  2496  var xxx_messageInfo_ResponseFlush proto.InternalMessageInfo
  2497  
  2498  type ResponseInfo struct {
  2499  	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
  2500  	// this is the software version of the application. TODO: remove?
  2501  	Version          string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
  2502  	AppVersion       uint64 `protobuf:"varint,3,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
  2503  	LastBlockHeight  int64  `protobuf:"varint,4,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"`
  2504  	LastBlockAppHash []byte `protobuf:"bytes,5,opt,name=last_block_app_hash,json=lastBlockAppHash,proto3" json:"last_block_app_hash,omitempty"`
  2505  }
  2506  
  2507  func (m *ResponseInfo) Reset()         { *m = ResponseInfo{} }
  2508  func (m *ResponseInfo) String() string { return proto.CompactTextString(m) }
  2509  func (*ResponseInfo) ProtoMessage()    {}
  2510  func (*ResponseInfo) Descriptor() ([]byte, []int) {
  2511  	return fileDescriptor_252557cfdd89a31a, []int{25}
  2512  }
  2513  func (m *ResponseInfo) XXX_Unmarshal(b []byte) error {
  2514  	return m.Unmarshal(b)
  2515  }
  2516  func (m *ResponseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2517  	if deterministic {
  2518  		return xxx_messageInfo_ResponseInfo.Marshal(b, m, deterministic)
  2519  	} else {
  2520  		b = b[:cap(b)]
  2521  		n, err := m.MarshalToSizedBuffer(b)
  2522  		if err != nil {
  2523  			return nil, err
  2524  		}
  2525  		return b[:n], nil
  2526  	}
  2527  }
  2528  func (m *ResponseInfo) XXX_Merge(src proto.Message) {
  2529  	xxx_messageInfo_ResponseInfo.Merge(m, src)
  2530  }
  2531  func (m *ResponseInfo) XXX_Size() int {
  2532  	return m.Size()
  2533  }
  2534  func (m *ResponseInfo) XXX_DiscardUnknown() {
  2535  	xxx_messageInfo_ResponseInfo.DiscardUnknown(m)
  2536  }
  2537  
  2538  var xxx_messageInfo_ResponseInfo proto.InternalMessageInfo
  2539  
  2540  func (m *ResponseInfo) GetData() string {
  2541  	if m != nil {
  2542  		return m.Data
  2543  	}
  2544  	return ""
  2545  }
  2546  
  2547  func (m *ResponseInfo) GetVersion() string {
  2548  	if m != nil {
  2549  		return m.Version
  2550  	}
  2551  	return ""
  2552  }
  2553  
  2554  func (m *ResponseInfo) GetAppVersion() uint64 {
  2555  	if m != nil {
  2556  		return m.AppVersion
  2557  	}
  2558  	return 0
  2559  }
  2560  
  2561  func (m *ResponseInfo) GetLastBlockHeight() int64 {
  2562  	if m != nil {
  2563  		return m.LastBlockHeight
  2564  	}
  2565  	return 0
  2566  }
  2567  
  2568  func (m *ResponseInfo) GetLastBlockAppHash() []byte {
  2569  	if m != nil {
  2570  		return m.LastBlockAppHash
  2571  	}
  2572  	return nil
  2573  }
  2574  
  2575  type ResponseInitChain struct {
  2576  	ConsensusParams *types1.ConsensusParams `protobuf:"bytes,1,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"`
  2577  	Validators      []ValidatorUpdate       `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators"`
  2578  	AppHash         []byte                  `protobuf:"bytes,3,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
  2579  }
  2580  
  2581  func (m *ResponseInitChain) Reset()         { *m = ResponseInitChain{} }
  2582  func (m *ResponseInitChain) String() string { return proto.CompactTextString(m) }
  2583  func (*ResponseInitChain) ProtoMessage()    {}
  2584  func (*ResponseInitChain) Descriptor() ([]byte, []int) {
  2585  	return fileDescriptor_252557cfdd89a31a, []int{26}
  2586  }
  2587  func (m *ResponseInitChain) XXX_Unmarshal(b []byte) error {
  2588  	return m.Unmarshal(b)
  2589  }
  2590  func (m *ResponseInitChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2591  	if deterministic {
  2592  		return xxx_messageInfo_ResponseInitChain.Marshal(b, m, deterministic)
  2593  	} else {
  2594  		b = b[:cap(b)]
  2595  		n, err := m.MarshalToSizedBuffer(b)
  2596  		if err != nil {
  2597  			return nil, err
  2598  		}
  2599  		return b[:n], nil
  2600  	}
  2601  }
  2602  func (m *ResponseInitChain) XXX_Merge(src proto.Message) {
  2603  	xxx_messageInfo_ResponseInitChain.Merge(m, src)
  2604  }
  2605  func (m *ResponseInitChain) XXX_Size() int {
  2606  	return m.Size()
  2607  }
  2608  func (m *ResponseInitChain) XXX_DiscardUnknown() {
  2609  	xxx_messageInfo_ResponseInitChain.DiscardUnknown(m)
  2610  }
  2611  
  2612  var xxx_messageInfo_ResponseInitChain proto.InternalMessageInfo
  2613  
  2614  func (m *ResponseInitChain) GetConsensusParams() *types1.ConsensusParams {
  2615  	if m != nil {
  2616  		return m.ConsensusParams
  2617  	}
  2618  	return nil
  2619  }
  2620  
  2621  func (m *ResponseInitChain) GetValidators() []ValidatorUpdate {
  2622  	if m != nil {
  2623  		return m.Validators
  2624  	}
  2625  	return nil
  2626  }
  2627  
  2628  func (m *ResponseInitChain) GetAppHash() []byte {
  2629  	if m != nil {
  2630  		return m.AppHash
  2631  	}
  2632  	return nil
  2633  }
  2634  
  2635  type ResponseQuery struct {
  2636  	Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  2637  	// bytes data = 2; // use "value" instead.
  2638  	Log       string           `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  2639  	Info      string           `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
  2640  	Index     int64            `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
  2641  	Key       []byte           `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"`
  2642  	Value     []byte           `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"`
  2643  	ProofOps  *crypto.ProofOps `protobuf:"bytes,8,opt,name=proof_ops,json=proofOps,proto3" json:"proof_ops,omitempty"`
  2644  	Height    int64            `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
  2645  	Codespace string           `protobuf:"bytes,10,opt,name=codespace,proto3" json:"codespace,omitempty"`
  2646  }
  2647  
  2648  func (m *ResponseQuery) Reset()         { *m = ResponseQuery{} }
  2649  func (m *ResponseQuery) String() string { return proto.CompactTextString(m) }
  2650  func (*ResponseQuery) ProtoMessage()    {}
  2651  func (*ResponseQuery) Descriptor() ([]byte, []int) {
  2652  	return fileDescriptor_252557cfdd89a31a, []int{27}
  2653  }
  2654  func (m *ResponseQuery) XXX_Unmarshal(b []byte) error {
  2655  	return m.Unmarshal(b)
  2656  }
  2657  func (m *ResponseQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2658  	if deterministic {
  2659  		return xxx_messageInfo_ResponseQuery.Marshal(b, m, deterministic)
  2660  	} else {
  2661  		b = b[:cap(b)]
  2662  		n, err := m.MarshalToSizedBuffer(b)
  2663  		if err != nil {
  2664  			return nil, err
  2665  		}
  2666  		return b[:n], nil
  2667  	}
  2668  }
  2669  func (m *ResponseQuery) XXX_Merge(src proto.Message) {
  2670  	xxx_messageInfo_ResponseQuery.Merge(m, src)
  2671  }
  2672  func (m *ResponseQuery) XXX_Size() int {
  2673  	return m.Size()
  2674  }
  2675  func (m *ResponseQuery) XXX_DiscardUnknown() {
  2676  	xxx_messageInfo_ResponseQuery.DiscardUnknown(m)
  2677  }
  2678  
  2679  var xxx_messageInfo_ResponseQuery proto.InternalMessageInfo
  2680  
  2681  func (m *ResponseQuery) GetCode() uint32 {
  2682  	if m != nil {
  2683  		return m.Code
  2684  	}
  2685  	return 0
  2686  }
  2687  
  2688  func (m *ResponseQuery) GetLog() string {
  2689  	if m != nil {
  2690  		return m.Log
  2691  	}
  2692  	return ""
  2693  }
  2694  
  2695  func (m *ResponseQuery) GetInfo() string {
  2696  	if m != nil {
  2697  		return m.Info
  2698  	}
  2699  	return ""
  2700  }
  2701  
  2702  func (m *ResponseQuery) GetIndex() int64 {
  2703  	if m != nil {
  2704  		return m.Index
  2705  	}
  2706  	return 0
  2707  }
  2708  
  2709  func (m *ResponseQuery) GetKey() []byte {
  2710  	if m != nil {
  2711  		return m.Key
  2712  	}
  2713  	return nil
  2714  }
  2715  
  2716  func (m *ResponseQuery) GetValue() []byte {
  2717  	if m != nil {
  2718  		return m.Value
  2719  	}
  2720  	return nil
  2721  }
  2722  
  2723  func (m *ResponseQuery) GetProofOps() *crypto.ProofOps {
  2724  	if m != nil {
  2725  		return m.ProofOps
  2726  	}
  2727  	return nil
  2728  }
  2729  
  2730  func (m *ResponseQuery) GetHeight() int64 {
  2731  	if m != nil {
  2732  		return m.Height
  2733  	}
  2734  	return 0
  2735  }
  2736  
  2737  func (m *ResponseQuery) GetCodespace() string {
  2738  	if m != nil {
  2739  		return m.Codespace
  2740  	}
  2741  	return ""
  2742  }
  2743  
  2744  type ResponseBeginBlock struct {
  2745  	Events []Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
  2746  }
  2747  
  2748  func (m *ResponseBeginBlock) Reset()         { *m = ResponseBeginBlock{} }
  2749  func (m *ResponseBeginBlock) String() string { return proto.CompactTextString(m) }
  2750  func (*ResponseBeginBlock) ProtoMessage()    {}
  2751  func (*ResponseBeginBlock) Descriptor() ([]byte, []int) {
  2752  	return fileDescriptor_252557cfdd89a31a, []int{28}
  2753  }
  2754  func (m *ResponseBeginBlock) XXX_Unmarshal(b []byte) error {
  2755  	return m.Unmarshal(b)
  2756  }
  2757  func (m *ResponseBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2758  	if deterministic {
  2759  		return xxx_messageInfo_ResponseBeginBlock.Marshal(b, m, deterministic)
  2760  	} else {
  2761  		b = b[:cap(b)]
  2762  		n, err := m.MarshalToSizedBuffer(b)
  2763  		if err != nil {
  2764  			return nil, err
  2765  		}
  2766  		return b[:n], nil
  2767  	}
  2768  }
  2769  func (m *ResponseBeginBlock) XXX_Merge(src proto.Message) {
  2770  	xxx_messageInfo_ResponseBeginBlock.Merge(m, src)
  2771  }
  2772  func (m *ResponseBeginBlock) XXX_Size() int {
  2773  	return m.Size()
  2774  }
  2775  func (m *ResponseBeginBlock) XXX_DiscardUnknown() {
  2776  	xxx_messageInfo_ResponseBeginBlock.DiscardUnknown(m)
  2777  }
  2778  
  2779  var xxx_messageInfo_ResponseBeginBlock proto.InternalMessageInfo
  2780  
  2781  func (m *ResponseBeginBlock) GetEvents() []Event {
  2782  	if m != nil {
  2783  		return m.Events
  2784  	}
  2785  	return nil
  2786  }
  2787  
  2788  type ResponseCheckTx struct {
  2789  	Code      uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  2790  	Data      []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  2791  	Log       string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  2792  	GasWanted int64  `protobuf:"varint,5,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"`
  2793  	Codespace string `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"`
  2794  	Sender    string `protobuf:"bytes,9,opt,name=sender,proto3" json:"sender,omitempty"`
  2795  	Priority  int64  `protobuf:"varint,10,opt,name=priority,proto3" json:"priority,omitempty"`
  2796  }
  2797  
  2798  func (m *ResponseCheckTx) Reset()         { *m = ResponseCheckTx{} }
  2799  func (m *ResponseCheckTx) String() string { return proto.CompactTextString(m) }
  2800  func (*ResponseCheckTx) ProtoMessage()    {}
  2801  func (*ResponseCheckTx) Descriptor() ([]byte, []int) {
  2802  	return fileDescriptor_252557cfdd89a31a, []int{29}
  2803  }
  2804  func (m *ResponseCheckTx) XXX_Unmarshal(b []byte) error {
  2805  	return m.Unmarshal(b)
  2806  }
  2807  func (m *ResponseCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2808  	if deterministic {
  2809  		return xxx_messageInfo_ResponseCheckTx.Marshal(b, m, deterministic)
  2810  	} else {
  2811  		b = b[:cap(b)]
  2812  		n, err := m.MarshalToSizedBuffer(b)
  2813  		if err != nil {
  2814  			return nil, err
  2815  		}
  2816  		return b[:n], nil
  2817  	}
  2818  }
  2819  func (m *ResponseCheckTx) XXX_Merge(src proto.Message) {
  2820  	xxx_messageInfo_ResponseCheckTx.Merge(m, src)
  2821  }
  2822  func (m *ResponseCheckTx) XXX_Size() int {
  2823  	return m.Size()
  2824  }
  2825  func (m *ResponseCheckTx) XXX_DiscardUnknown() {
  2826  	xxx_messageInfo_ResponseCheckTx.DiscardUnknown(m)
  2827  }
  2828  
  2829  var xxx_messageInfo_ResponseCheckTx proto.InternalMessageInfo
  2830  
  2831  func (m *ResponseCheckTx) GetCode() uint32 {
  2832  	if m != nil {
  2833  		return m.Code
  2834  	}
  2835  	return 0
  2836  }
  2837  
  2838  func (m *ResponseCheckTx) GetData() []byte {
  2839  	if m != nil {
  2840  		return m.Data
  2841  	}
  2842  	return nil
  2843  }
  2844  
  2845  func (m *ResponseCheckTx) GetLog() string {
  2846  	if m != nil {
  2847  		return m.Log
  2848  	}
  2849  	return ""
  2850  }
  2851  
  2852  func (m *ResponseCheckTx) GetGasWanted() int64 {
  2853  	if m != nil {
  2854  		return m.GasWanted
  2855  	}
  2856  	return 0
  2857  }
  2858  
  2859  func (m *ResponseCheckTx) GetCodespace() string {
  2860  	if m != nil {
  2861  		return m.Codespace
  2862  	}
  2863  	return ""
  2864  }
  2865  
  2866  func (m *ResponseCheckTx) GetSender() string {
  2867  	if m != nil {
  2868  		return m.Sender
  2869  	}
  2870  	return ""
  2871  }
  2872  
  2873  func (m *ResponseCheckTx) GetPriority() int64 {
  2874  	if m != nil {
  2875  		return m.Priority
  2876  	}
  2877  	return 0
  2878  }
  2879  
  2880  type ResponseDeliverTx struct {
  2881  	Code      uint32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  2882  	Data      []byte  `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  2883  	Log       string  `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  2884  	Info      string  `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
  2885  	GasWanted int64   `protobuf:"varint,5,opt,name=gas_wanted,proto3" json:"gas_wanted,omitempty"`
  2886  	GasUsed   int64   `protobuf:"varint,6,opt,name=gas_used,proto3" json:"gas_used,omitempty"`
  2887  	Events    []Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`
  2888  	Codespace string  `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"`
  2889  }
  2890  
  2891  func (m *ResponseDeliverTx) Reset()         { *m = ResponseDeliverTx{} }
  2892  func (m *ResponseDeliverTx) String() string { return proto.CompactTextString(m) }
  2893  func (*ResponseDeliverTx) ProtoMessage()    {}
  2894  func (*ResponseDeliverTx) Descriptor() ([]byte, []int) {
  2895  	return fileDescriptor_252557cfdd89a31a, []int{30}
  2896  }
  2897  func (m *ResponseDeliverTx) XXX_Unmarshal(b []byte) error {
  2898  	return m.Unmarshal(b)
  2899  }
  2900  func (m *ResponseDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2901  	if deterministic {
  2902  		return xxx_messageInfo_ResponseDeliverTx.Marshal(b, m, deterministic)
  2903  	} else {
  2904  		b = b[:cap(b)]
  2905  		n, err := m.MarshalToSizedBuffer(b)
  2906  		if err != nil {
  2907  			return nil, err
  2908  		}
  2909  		return b[:n], nil
  2910  	}
  2911  }
  2912  func (m *ResponseDeliverTx) XXX_Merge(src proto.Message) {
  2913  	xxx_messageInfo_ResponseDeliverTx.Merge(m, src)
  2914  }
  2915  func (m *ResponseDeliverTx) XXX_Size() int {
  2916  	return m.Size()
  2917  }
  2918  func (m *ResponseDeliverTx) XXX_DiscardUnknown() {
  2919  	xxx_messageInfo_ResponseDeliverTx.DiscardUnknown(m)
  2920  }
  2921  
  2922  var xxx_messageInfo_ResponseDeliverTx proto.InternalMessageInfo
  2923  
  2924  func (m *ResponseDeliverTx) GetCode() uint32 {
  2925  	if m != nil {
  2926  		return m.Code
  2927  	}
  2928  	return 0
  2929  }
  2930  
  2931  func (m *ResponseDeliverTx) GetData() []byte {
  2932  	if m != nil {
  2933  		return m.Data
  2934  	}
  2935  	return nil
  2936  }
  2937  
  2938  func (m *ResponseDeliverTx) GetLog() string {
  2939  	if m != nil {
  2940  		return m.Log
  2941  	}
  2942  	return ""
  2943  }
  2944  
  2945  func (m *ResponseDeliverTx) GetInfo() string {
  2946  	if m != nil {
  2947  		return m.Info
  2948  	}
  2949  	return ""
  2950  }
  2951  
  2952  func (m *ResponseDeliverTx) GetGasWanted() int64 {
  2953  	if m != nil {
  2954  		return m.GasWanted
  2955  	}
  2956  	return 0
  2957  }
  2958  
  2959  func (m *ResponseDeliverTx) GetGasUsed() int64 {
  2960  	if m != nil {
  2961  		return m.GasUsed
  2962  	}
  2963  	return 0
  2964  }
  2965  
  2966  func (m *ResponseDeliverTx) GetEvents() []Event {
  2967  	if m != nil {
  2968  		return m.Events
  2969  	}
  2970  	return nil
  2971  }
  2972  
  2973  func (m *ResponseDeliverTx) GetCodespace() string {
  2974  	if m != nil {
  2975  		return m.Codespace
  2976  	}
  2977  	return ""
  2978  }
  2979  
  2980  type ResponseEndBlock struct {
  2981  	ValidatorUpdates      []ValidatorUpdate `protobuf:"bytes,1,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates"`
  2982  	ConsensusParamUpdates *ConsensusParams  `protobuf:"bytes,2,opt,name=consensus_param_updates,json=consensusParamUpdates,proto3" json:"consensus_param_updates,omitempty"`
  2983  	Events                []Event           `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
  2984  }
  2985  
  2986  func (m *ResponseEndBlock) Reset()         { *m = ResponseEndBlock{} }
  2987  func (m *ResponseEndBlock) String() string { return proto.CompactTextString(m) }
  2988  func (*ResponseEndBlock) ProtoMessage()    {}
  2989  func (*ResponseEndBlock) Descriptor() ([]byte, []int) {
  2990  	return fileDescriptor_252557cfdd89a31a, []int{31}
  2991  }
  2992  func (m *ResponseEndBlock) XXX_Unmarshal(b []byte) error {
  2993  	return m.Unmarshal(b)
  2994  }
  2995  func (m *ResponseEndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  2996  	if deterministic {
  2997  		return xxx_messageInfo_ResponseEndBlock.Marshal(b, m, deterministic)
  2998  	} else {
  2999  		b = b[:cap(b)]
  3000  		n, err := m.MarshalToSizedBuffer(b)
  3001  		if err != nil {
  3002  			return nil, err
  3003  		}
  3004  		return b[:n], nil
  3005  	}
  3006  }
  3007  func (m *ResponseEndBlock) XXX_Merge(src proto.Message) {
  3008  	xxx_messageInfo_ResponseEndBlock.Merge(m, src)
  3009  }
  3010  func (m *ResponseEndBlock) XXX_Size() int {
  3011  	return m.Size()
  3012  }
  3013  func (m *ResponseEndBlock) XXX_DiscardUnknown() {
  3014  	xxx_messageInfo_ResponseEndBlock.DiscardUnknown(m)
  3015  }
  3016  
  3017  var xxx_messageInfo_ResponseEndBlock proto.InternalMessageInfo
  3018  
  3019  func (m *ResponseEndBlock) GetValidatorUpdates() []ValidatorUpdate {
  3020  	if m != nil {
  3021  		return m.ValidatorUpdates
  3022  	}
  3023  	return nil
  3024  }
  3025  
  3026  func (m *ResponseEndBlock) GetConsensusParamUpdates() *ConsensusParams {
  3027  	if m != nil {
  3028  		return m.ConsensusParamUpdates
  3029  	}
  3030  	return nil
  3031  }
  3032  
  3033  func (m *ResponseEndBlock) GetEvents() []Event {
  3034  	if m != nil {
  3035  		return m.Events
  3036  	}
  3037  	return nil
  3038  }
  3039  
  3040  type ResponseCommit struct {
  3041  	// reserve 1
  3042  	RetainHeight int64 `protobuf:"varint,3,opt,name=retain_height,json=retainHeight,proto3" json:"retain_height,omitempty"`
  3043  }
  3044  
  3045  func (m *ResponseCommit) Reset()         { *m = ResponseCommit{} }
  3046  func (m *ResponseCommit) String() string { return proto.CompactTextString(m) }
  3047  func (*ResponseCommit) ProtoMessage()    {}
  3048  func (*ResponseCommit) Descriptor() ([]byte, []int) {
  3049  	return fileDescriptor_252557cfdd89a31a, []int{32}
  3050  }
  3051  func (m *ResponseCommit) XXX_Unmarshal(b []byte) error {
  3052  	return m.Unmarshal(b)
  3053  }
  3054  func (m *ResponseCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3055  	if deterministic {
  3056  		return xxx_messageInfo_ResponseCommit.Marshal(b, m, deterministic)
  3057  	} else {
  3058  		b = b[:cap(b)]
  3059  		n, err := m.MarshalToSizedBuffer(b)
  3060  		if err != nil {
  3061  			return nil, err
  3062  		}
  3063  		return b[:n], nil
  3064  	}
  3065  }
  3066  func (m *ResponseCommit) XXX_Merge(src proto.Message) {
  3067  	xxx_messageInfo_ResponseCommit.Merge(m, src)
  3068  }
  3069  func (m *ResponseCommit) XXX_Size() int {
  3070  	return m.Size()
  3071  }
  3072  func (m *ResponseCommit) XXX_DiscardUnknown() {
  3073  	xxx_messageInfo_ResponseCommit.DiscardUnknown(m)
  3074  }
  3075  
  3076  var xxx_messageInfo_ResponseCommit proto.InternalMessageInfo
  3077  
  3078  func (m *ResponseCommit) GetRetainHeight() int64 {
  3079  	if m != nil {
  3080  		return m.RetainHeight
  3081  	}
  3082  	return 0
  3083  }
  3084  
  3085  type ResponseListSnapshots struct {
  3086  	Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
  3087  }
  3088  
  3089  func (m *ResponseListSnapshots) Reset()         { *m = ResponseListSnapshots{} }
  3090  func (m *ResponseListSnapshots) String() string { return proto.CompactTextString(m) }
  3091  func (*ResponseListSnapshots) ProtoMessage()    {}
  3092  func (*ResponseListSnapshots) Descriptor() ([]byte, []int) {
  3093  	return fileDescriptor_252557cfdd89a31a, []int{33}
  3094  }
  3095  func (m *ResponseListSnapshots) XXX_Unmarshal(b []byte) error {
  3096  	return m.Unmarshal(b)
  3097  }
  3098  func (m *ResponseListSnapshots) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3099  	if deterministic {
  3100  		return xxx_messageInfo_ResponseListSnapshots.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 *ResponseListSnapshots) XXX_Merge(src proto.Message) {
  3111  	xxx_messageInfo_ResponseListSnapshots.Merge(m, src)
  3112  }
  3113  func (m *ResponseListSnapshots) XXX_Size() int {
  3114  	return m.Size()
  3115  }
  3116  func (m *ResponseListSnapshots) XXX_DiscardUnknown() {
  3117  	xxx_messageInfo_ResponseListSnapshots.DiscardUnknown(m)
  3118  }
  3119  
  3120  var xxx_messageInfo_ResponseListSnapshots proto.InternalMessageInfo
  3121  
  3122  func (m *ResponseListSnapshots) GetSnapshots() []*Snapshot {
  3123  	if m != nil {
  3124  		return m.Snapshots
  3125  	}
  3126  	return nil
  3127  }
  3128  
  3129  type ResponseOfferSnapshot struct {
  3130  	Result ResponseOfferSnapshot_Result `protobuf:"varint,1,opt,name=result,proto3,enum=seitendermint.abci.ResponseOfferSnapshot_Result" json:"result,omitempty"`
  3131  }
  3132  
  3133  func (m *ResponseOfferSnapshot) Reset()         { *m = ResponseOfferSnapshot{} }
  3134  func (m *ResponseOfferSnapshot) String() string { return proto.CompactTextString(m) }
  3135  func (*ResponseOfferSnapshot) ProtoMessage()    {}
  3136  func (*ResponseOfferSnapshot) Descriptor() ([]byte, []int) {
  3137  	return fileDescriptor_252557cfdd89a31a, []int{34}
  3138  }
  3139  func (m *ResponseOfferSnapshot) XXX_Unmarshal(b []byte) error {
  3140  	return m.Unmarshal(b)
  3141  }
  3142  func (m *ResponseOfferSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3143  	if deterministic {
  3144  		return xxx_messageInfo_ResponseOfferSnapshot.Marshal(b, m, deterministic)
  3145  	} else {
  3146  		b = b[:cap(b)]
  3147  		n, err := m.MarshalToSizedBuffer(b)
  3148  		if err != nil {
  3149  			return nil, err
  3150  		}
  3151  		return b[:n], nil
  3152  	}
  3153  }
  3154  func (m *ResponseOfferSnapshot) XXX_Merge(src proto.Message) {
  3155  	xxx_messageInfo_ResponseOfferSnapshot.Merge(m, src)
  3156  }
  3157  func (m *ResponseOfferSnapshot) XXX_Size() int {
  3158  	return m.Size()
  3159  }
  3160  func (m *ResponseOfferSnapshot) XXX_DiscardUnknown() {
  3161  	xxx_messageInfo_ResponseOfferSnapshot.DiscardUnknown(m)
  3162  }
  3163  
  3164  var xxx_messageInfo_ResponseOfferSnapshot proto.InternalMessageInfo
  3165  
  3166  func (m *ResponseOfferSnapshot) GetResult() ResponseOfferSnapshot_Result {
  3167  	if m != nil {
  3168  		return m.Result
  3169  	}
  3170  	return ResponseOfferSnapshot_UNKNOWN
  3171  }
  3172  
  3173  type ResponseLoadSnapshotChunk struct {
  3174  	Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
  3175  }
  3176  
  3177  func (m *ResponseLoadSnapshotChunk) Reset()         { *m = ResponseLoadSnapshotChunk{} }
  3178  func (m *ResponseLoadSnapshotChunk) String() string { return proto.CompactTextString(m) }
  3179  func (*ResponseLoadSnapshotChunk) ProtoMessage()    {}
  3180  func (*ResponseLoadSnapshotChunk) Descriptor() ([]byte, []int) {
  3181  	return fileDescriptor_252557cfdd89a31a, []int{35}
  3182  }
  3183  func (m *ResponseLoadSnapshotChunk) XXX_Unmarshal(b []byte) error {
  3184  	return m.Unmarshal(b)
  3185  }
  3186  func (m *ResponseLoadSnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3187  	if deterministic {
  3188  		return xxx_messageInfo_ResponseLoadSnapshotChunk.Marshal(b, m, deterministic)
  3189  	} else {
  3190  		b = b[:cap(b)]
  3191  		n, err := m.MarshalToSizedBuffer(b)
  3192  		if err != nil {
  3193  			return nil, err
  3194  		}
  3195  		return b[:n], nil
  3196  	}
  3197  }
  3198  func (m *ResponseLoadSnapshotChunk) XXX_Merge(src proto.Message) {
  3199  	xxx_messageInfo_ResponseLoadSnapshotChunk.Merge(m, src)
  3200  }
  3201  func (m *ResponseLoadSnapshotChunk) XXX_Size() int {
  3202  	return m.Size()
  3203  }
  3204  func (m *ResponseLoadSnapshotChunk) XXX_DiscardUnknown() {
  3205  	xxx_messageInfo_ResponseLoadSnapshotChunk.DiscardUnknown(m)
  3206  }
  3207  
  3208  var xxx_messageInfo_ResponseLoadSnapshotChunk proto.InternalMessageInfo
  3209  
  3210  func (m *ResponseLoadSnapshotChunk) GetChunk() []byte {
  3211  	if m != nil {
  3212  		return m.Chunk
  3213  	}
  3214  	return nil
  3215  }
  3216  
  3217  type ResponseApplySnapshotChunk struct {
  3218  	Result        ResponseApplySnapshotChunk_Result `protobuf:"varint,1,opt,name=result,proto3,enum=seitendermint.abci.ResponseApplySnapshotChunk_Result" json:"result,omitempty"`
  3219  	RefetchChunks []uint32                          `protobuf:"varint,2,rep,packed,name=refetch_chunks,json=refetchChunks,proto3" json:"refetch_chunks,omitempty"`
  3220  	RejectSenders []string                          `protobuf:"bytes,3,rep,name=reject_senders,json=rejectSenders,proto3" json:"reject_senders,omitempty"`
  3221  }
  3222  
  3223  func (m *ResponseApplySnapshotChunk) Reset()         { *m = ResponseApplySnapshotChunk{} }
  3224  func (m *ResponseApplySnapshotChunk) String() string { return proto.CompactTextString(m) }
  3225  func (*ResponseApplySnapshotChunk) ProtoMessage()    {}
  3226  func (*ResponseApplySnapshotChunk) Descriptor() ([]byte, []int) {
  3227  	return fileDescriptor_252557cfdd89a31a, []int{36}
  3228  }
  3229  func (m *ResponseApplySnapshotChunk) XXX_Unmarshal(b []byte) error {
  3230  	return m.Unmarshal(b)
  3231  }
  3232  func (m *ResponseApplySnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3233  	if deterministic {
  3234  		return xxx_messageInfo_ResponseApplySnapshotChunk.Marshal(b, m, deterministic)
  3235  	} else {
  3236  		b = b[:cap(b)]
  3237  		n, err := m.MarshalToSizedBuffer(b)
  3238  		if err != nil {
  3239  			return nil, err
  3240  		}
  3241  		return b[:n], nil
  3242  	}
  3243  }
  3244  func (m *ResponseApplySnapshotChunk) XXX_Merge(src proto.Message) {
  3245  	xxx_messageInfo_ResponseApplySnapshotChunk.Merge(m, src)
  3246  }
  3247  func (m *ResponseApplySnapshotChunk) XXX_Size() int {
  3248  	return m.Size()
  3249  }
  3250  func (m *ResponseApplySnapshotChunk) XXX_DiscardUnknown() {
  3251  	xxx_messageInfo_ResponseApplySnapshotChunk.DiscardUnknown(m)
  3252  }
  3253  
  3254  var xxx_messageInfo_ResponseApplySnapshotChunk proto.InternalMessageInfo
  3255  
  3256  func (m *ResponseApplySnapshotChunk) GetResult() ResponseApplySnapshotChunk_Result {
  3257  	if m != nil {
  3258  		return m.Result
  3259  	}
  3260  	return ResponseApplySnapshotChunk_UNKNOWN
  3261  }
  3262  
  3263  func (m *ResponseApplySnapshotChunk) GetRefetchChunks() []uint32 {
  3264  	if m != nil {
  3265  		return m.RefetchChunks
  3266  	}
  3267  	return nil
  3268  }
  3269  
  3270  func (m *ResponseApplySnapshotChunk) GetRejectSenders() []string {
  3271  	if m != nil {
  3272  		return m.RejectSenders
  3273  	}
  3274  	return nil
  3275  }
  3276  
  3277  type ResponsePrepareProposal struct {
  3278  	TxRecords             []*TxRecord             `protobuf:"bytes,1,rep,name=tx_records,json=txRecords,proto3" json:"tx_records,omitempty"`
  3279  	AppHash               []byte                  `protobuf:"bytes,2,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
  3280  	TxResults             []*ExecTxResult         `protobuf:"bytes,3,rep,name=tx_results,json=txResults,proto3" json:"tx_results,omitempty"`
  3281  	ValidatorUpdates      []*ValidatorUpdate      `protobuf:"bytes,4,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates,omitempty"`
  3282  	ConsensusParamUpdates *types1.ConsensusParams `protobuf:"bytes,5,opt,name=consensus_param_updates,json=consensusParamUpdates,proto3" json:"consensus_param_updates,omitempty"`
  3283  }
  3284  
  3285  func (m *ResponsePrepareProposal) Reset()         { *m = ResponsePrepareProposal{} }
  3286  func (m *ResponsePrepareProposal) String() string { return proto.CompactTextString(m) }
  3287  func (*ResponsePrepareProposal) ProtoMessage()    {}
  3288  func (*ResponsePrepareProposal) Descriptor() ([]byte, []int) {
  3289  	return fileDescriptor_252557cfdd89a31a, []int{37}
  3290  }
  3291  func (m *ResponsePrepareProposal) XXX_Unmarshal(b []byte) error {
  3292  	return m.Unmarshal(b)
  3293  }
  3294  func (m *ResponsePrepareProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3295  	if deterministic {
  3296  		return xxx_messageInfo_ResponsePrepareProposal.Marshal(b, m, deterministic)
  3297  	} else {
  3298  		b = b[:cap(b)]
  3299  		n, err := m.MarshalToSizedBuffer(b)
  3300  		if err != nil {
  3301  			return nil, err
  3302  		}
  3303  		return b[:n], nil
  3304  	}
  3305  }
  3306  func (m *ResponsePrepareProposal) XXX_Merge(src proto.Message) {
  3307  	xxx_messageInfo_ResponsePrepareProposal.Merge(m, src)
  3308  }
  3309  func (m *ResponsePrepareProposal) XXX_Size() int {
  3310  	return m.Size()
  3311  }
  3312  func (m *ResponsePrepareProposal) XXX_DiscardUnknown() {
  3313  	xxx_messageInfo_ResponsePrepareProposal.DiscardUnknown(m)
  3314  }
  3315  
  3316  var xxx_messageInfo_ResponsePrepareProposal proto.InternalMessageInfo
  3317  
  3318  func (m *ResponsePrepareProposal) GetTxRecords() []*TxRecord {
  3319  	if m != nil {
  3320  		return m.TxRecords
  3321  	}
  3322  	return nil
  3323  }
  3324  
  3325  func (m *ResponsePrepareProposal) GetAppHash() []byte {
  3326  	if m != nil {
  3327  		return m.AppHash
  3328  	}
  3329  	return nil
  3330  }
  3331  
  3332  func (m *ResponsePrepareProposal) GetTxResults() []*ExecTxResult {
  3333  	if m != nil {
  3334  		return m.TxResults
  3335  	}
  3336  	return nil
  3337  }
  3338  
  3339  func (m *ResponsePrepareProposal) GetValidatorUpdates() []*ValidatorUpdate {
  3340  	if m != nil {
  3341  		return m.ValidatorUpdates
  3342  	}
  3343  	return nil
  3344  }
  3345  
  3346  func (m *ResponsePrepareProposal) GetConsensusParamUpdates() *types1.ConsensusParams {
  3347  	if m != nil {
  3348  		return m.ConsensusParamUpdates
  3349  	}
  3350  	return nil
  3351  }
  3352  
  3353  type ResponseProcessProposal struct {
  3354  	Status                ResponseProcessProposal_ProposalStatus `protobuf:"varint,1,opt,name=status,proto3,enum=seitendermint.abci.ResponseProcessProposal_ProposalStatus" json:"status,omitempty"`
  3355  	AppHash               []byte                                 `protobuf:"bytes,2,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
  3356  	TxResults             []*ExecTxResult                        `protobuf:"bytes,3,rep,name=tx_results,json=txResults,proto3" json:"tx_results,omitempty"`
  3357  	ValidatorUpdates      []*ValidatorUpdate                     `protobuf:"bytes,4,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates,omitempty"`
  3358  	ConsensusParamUpdates *types1.ConsensusParams                `protobuf:"bytes,5,opt,name=consensus_param_updates,json=consensusParamUpdates,proto3" json:"consensus_param_updates,omitempty"`
  3359  }
  3360  
  3361  func (m *ResponseProcessProposal) Reset()         { *m = ResponseProcessProposal{} }
  3362  func (m *ResponseProcessProposal) String() string { return proto.CompactTextString(m) }
  3363  func (*ResponseProcessProposal) ProtoMessage()    {}
  3364  func (*ResponseProcessProposal) Descriptor() ([]byte, []int) {
  3365  	return fileDescriptor_252557cfdd89a31a, []int{38}
  3366  }
  3367  func (m *ResponseProcessProposal) XXX_Unmarshal(b []byte) error {
  3368  	return m.Unmarshal(b)
  3369  }
  3370  func (m *ResponseProcessProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3371  	if deterministic {
  3372  		return xxx_messageInfo_ResponseProcessProposal.Marshal(b, m, deterministic)
  3373  	} else {
  3374  		b = b[:cap(b)]
  3375  		n, err := m.MarshalToSizedBuffer(b)
  3376  		if err != nil {
  3377  			return nil, err
  3378  		}
  3379  		return b[:n], nil
  3380  	}
  3381  }
  3382  func (m *ResponseProcessProposal) XXX_Merge(src proto.Message) {
  3383  	xxx_messageInfo_ResponseProcessProposal.Merge(m, src)
  3384  }
  3385  func (m *ResponseProcessProposal) XXX_Size() int {
  3386  	return m.Size()
  3387  }
  3388  func (m *ResponseProcessProposal) XXX_DiscardUnknown() {
  3389  	xxx_messageInfo_ResponseProcessProposal.DiscardUnknown(m)
  3390  }
  3391  
  3392  var xxx_messageInfo_ResponseProcessProposal proto.InternalMessageInfo
  3393  
  3394  func (m *ResponseProcessProposal) GetStatus() ResponseProcessProposal_ProposalStatus {
  3395  	if m != nil {
  3396  		return m.Status
  3397  	}
  3398  	return ResponseProcessProposal_UNKNOWN
  3399  }
  3400  
  3401  func (m *ResponseProcessProposal) GetAppHash() []byte {
  3402  	if m != nil {
  3403  		return m.AppHash
  3404  	}
  3405  	return nil
  3406  }
  3407  
  3408  func (m *ResponseProcessProposal) GetTxResults() []*ExecTxResult {
  3409  	if m != nil {
  3410  		return m.TxResults
  3411  	}
  3412  	return nil
  3413  }
  3414  
  3415  func (m *ResponseProcessProposal) GetValidatorUpdates() []*ValidatorUpdate {
  3416  	if m != nil {
  3417  		return m.ValidatorUpdates
  3418  	}
  3419  	return nil
  3420  }
  3421  
  3422  func (m *ResponseProcessProposal) GetConsensusParamUpdates() *types1.ConsensusParams {
  3423  	if m != nil {
  3424  		return m.ConsensusParamUpdates
  3425  	}
  3426  	return nil
  3427  }
  3428  
  3429  type ResponseExtendVote struct {
  3430  	VoteExtension []byte `protobuf:"bytes,1,opt,name=vote_extension,json=voteExtension,proto3" json:"vote_extension,omitempty"`
  3431  }
  3432  
  3433  func (m *ResponseExtendVote) Reset()         { *m = ResponseExtendVote{} }
  3434  func (m *ResponseExtendVote) String() string { return proto.CompactTextString(m) }
  3435  func (*ResponseExtendVote) ProtoMessage()    {}
  3436  func (*ResponseExtendVote) Descriptor() ([]byte, []int) {
  3437  	return fileDescriptor_252557cfdd89a31a, []int{39}
  3438  }
  3439  func (m *ResponseExtendVote) XXX_Unmarshal(b []byte) error {
  3440  	return m.Unmarshal(b)
  3441  }
  3442  func (m *ResponseExtendVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3443  	if deterministic {
  3444  		return xxx_messageInfo_ResponseExtendVote.Marshal(b, m, deterministic)
  3445  	} else {
  3446  		b = b[:cap(b)]
  3447  		n, err := m.MarshalToSizedBuffer(b)
  3448  		if err != nil {
  3449  			return nil, err
  3450  		}
  3451  		return b[:n], nil
  3452  	}
  3453  }
  3454  func (m *ResponseExtendVote) XXX_Merge(src proto.Message) {
  3455  	xxx_messageInfo_ResponseExtendVote.Merge(m, src)
  3456  }
  3457  func (m *ResponseExtendVote) XXX_Size() int {
  3458  	return m.Size()
  3459  }
  3460  func (m *ResponseExtendVote) XXX_DiscardUnknown() {
  3461  	xxx_messageInfo_ResponseExtendVote.DiscardUnknown(m)
  3462  }
  3463  
  3464  var xxx_messageInfo_ResponseExtendVote proto.InternalMessageInfo
  3465  
  3466  func (m *ResponseExtendVote) GetVoteExtension() []byte {
  3467  	if m != nil {
  3468  		return m.VoteExtension
  3469  	}
  3470  	return nil
  3471  }
  3472  
  3473  type ResponseVerifyVoteExtension struct {
  3474  	Status ResponseVerifyVoteExtension_VerifyStatus `protobuf:"varint,1,opt,name=status,proto3,enum=seitendermint.abci.ResponseVerifyVoteExtension_VerifyStatus" json:"status,omitempty"`
  3475  }
  3476  
  3477  func (m *ResponseVerifyVoteExtension) Reset()         { *m = ResponseVerifyVoteExtension{} }
  3478  func (m *ResponseVerifyVoteExtension) String() string { return proto.CompactTextString(m) }
  3479  func (*ResponseVerifyVoteExtension) ProtoMessage()    {}
  3480  func (*ResponseVerifyVoteExtension) Descriptor() ([]byte, []int) {
  3481  	return fileDescriptor_252557cfdd89a31a, []int{40}
  3482  }
  3483  func (m *ResponseVerifyVoteExtension) XXX_Unmarshal(b []byte) error {
  3484  	return m.Unmarshal(b)
  3485  }
  3486  func (m *ResponseVerifyVoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3487  	if deterministic {
  3488  		return xxx_messageInfo_ResponseVerifyVoteExtension.Marshal(b, m, deterministic)
  3489  	} else {
  3490  		b = b[:cap(b)]
  3491  		n, err := m.MarshalToSizedBuffer(b)
  3492  		if err != nil {
  3493  			return nil, err
  3494  		}
  3495  		return b[:n], nil
  3496  	}
  3497  }
  3498  func (m *ResponseVerifyVoteExtension) XXX_Merge(src proto.Message) {
  3499  	xxx_messageInfo_ResponseVerifyVoteExtension.Merge(m, src)
  3500  }
  3501  func (m *ResponseVerifyVoteExtension) XXX_Size() int {
  3502  	return m.Size()
  3503  }
  3504  func (m *ResponseVerifyVoteExtension) XXX_DiscardUnknown() {
  3505  	xxx_messageInfo_ResponseVerifyVoteExtension.DiscardUnknown(m)
  3506  }
  3507  
  3508  var xxx_messageInfo_ResponseVerifyVoteExtension proto.InternalMessageInfo
  3509  
  3510  func (m *ResponseVerifyVoteExtension) GetStatus() ResponseVerifyVoteExtension_VerifyStatus {
  3511  	if m != nil {
  3512  		return m.Status
  3513  	}
  3514  	return ResponseVerifyVoteExtension_UNKNOWN
  3515  }
  3516  
  3517  type ResponseFinalizeBlock struct {
  3518  	Events                []Event                 `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
  3519  	TxResults             []*ExecTxResult         `protobuf:"bytes,2,rep,name=tx_results,json=txResults,proto3" json:"tx_results,omitempty"`
  3520  	ValidatorUpdates      []ValidatorUpdate       `protobuf:"bytes,3,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates"`
  3521  	ConsensusParamUpdates *types1.ConsensusParams `protobuf:"bytes,4,opt,name=consensus_param_updates,json=consensusParamUpdates,proto3" json:"consensus_param_updates,omitempty"`
  3522  	AppHash               []byte                  `protobuf:"bytes,5,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
  3523  }
  3524  
  3525  func (m *ResponseFinalizeBlock) Reset()         { *m = ResponseFinalizeBlock{} }
  3526  func (m *ResponseFinalizeBlock) String() string { return proto.CompactTextString(m) }
  3527  func (*ResponseFinalizeBlock) ProtoMessage()    {}
  3528  func (*ResponseFinalizeBlock) Descriptor() ([]byte, []int) {
  3529  	return fileDescriptor_252557cfdd89a31a, []int{41}
  3530  }
  3531  func (m *ResponseFinalizeBlock) XXX_Unmarshal(b []byte) error {
  3532  	return m.Unmarshal(b)
  3533  }
  3534  func (m *ResponseFinalizeBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3535  	if deterministic {
  3536  		return xxx_messageInfo_ResponseFinalizeBlock.Marshal(b, m, deterministic)
  3537  	} else {
  3538  		b = b[:cap(b)]
  3539  		n, err := m.MarshalToSizedBuffer(b)
  3540  		if err != nil {
  3541  			return nil, err
  3542  		}
  3543  		return b[:n], nil
  3544  	}
  3545  }
  3546  func (m *ResponseFinalizeBlock) XXX_Merge(src proto.Message) {
  3547  	xxx_messageInfo_ResponseFinalizeBlock.Merge(m, src)
  3548  }
  3549  func (m *ResponseFinalizeBlock) XXX_Size() int {
  3550  	return m.Size()
  3551  }
  3552  func (m *ResponseFinalizeBlock) XXX_DiscardUnknown() {
  3553  	xxx_messageInfo_ResponseFinalizeBlock.DiscardUnknown(m)
  3554  }
  3555  
  3556  var xxx_messageInfo_ResponseFinalizeBlock proto.InternalMessageInfo
  3557  
  3558  func (m *ResponseFinalizeBlock) GetEvents() []Event {
  3559  	if m != nil {
  3560  		return m.Events
  3561  	}
  3562  	return nil
  3563  }
  3564  
  3565  func (m *ResponseFinalizeBlock) GetTxResults() []*ExecTxResult {
  3566  	if m != nil {
  3567  		return m.TxResults
  3568  	}
  3569  	return nil
  3570  }
  3571  
  3572  func (m *ResponseFinalizeBlock) GetValidatorUpdates() []ValidatorUpdate {
  3573  	if m != nil {
  3574  		return m.ValidatorUpdates
  3575  	}
  3576  	return nil
  3577  }
  3578  
  3579  func (m *ResponseFinalizeBlock) GetConsensusParamUpdates() *types1.ConsensusParams {
  3580  	if m != nil {
  3581  		return m.ConsensusParamUpdates
  3582  	}
  3583  	return nil
  3584  }
  3585  
  3586  func (m *ResponseFinalizeBlock) GetAppHash() []byte {
  3587  	if m != nil {
  3588  		return m.AppHash
  3589  	}
  3590  	return nil
  3591  }
  3592  
  3593  type ResponseLoadLatest struct {
  3594  }
  3595  
  3596  func (m *ResponseLoadLatest) Reset()         { *m = ResponseLoadLatest{} }
  3597  func (m *ResponseLoadLatest) String() string { return proto.CompactTextString(m) }
  3598  func (*ResponseLoadLatest) ProtoMessage()    {}
  3599  func (*ResponseLoadLatest) Descriptor() ([]byte, []int) {
  3600  	return fileDescriptor_252557cfdd89a31a, []int{42}
  3601  }
  3602  func (m *ResponseLoadLatest) XXX_Unmarshal(b []byte) error {
  3603  	return m.Unmarshal(b)
  3604  }
  3605  func (m *ResponseLoadLatest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3606  	if deterministic {
  3607  		return xxx_messageInfo_ResponseLoadLatest.Marshal(b, m, deterministic)
  3608  	} else {
  3609  		b = b[:cap(b)]
  3610  		n, err := m.MarshalToSizedBuffer(b)
  3611  		if err != nil {
  3612  			return nil, err
  3613  		}
  3614  		return b[:n], nil
  3615  	}
  3616  }
  3617  func (m *ResponseLoadLatest) XXX_Merge(src proto.Message) {
  3618  	xxx_messageInfo_ResponseLoadLatest.Merge(m, src)
  3619  }
  3620  func (m *ResponseLoadLatest) XXX_Size() int {
  3621  	return m.Size()
  3622  }
  3623  func (m *ResponseLoadLatest) XXX_DiscardUnknown() {
  3624  	xxx_messageInfo_ResponseLoadLatest.DiscardUnknown(m)
  3625  }
  3626  
  3627  var xxx_messageInfo_ResponseLoadLatest proto.InternalMessageInfo
  3628  
  3629  type CommitInfo struct {
  3630  	Round int32      `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"`
  3631  	Votes []VoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes"`
  3632  }
  3633  
  3634  func (m *CommitInfo) Reset()         { *m = CommitInfo{} }
  3635  func (m *CommitInfo) String() string { return proto.CompactTextString(m) }
  3636  func (*CommitInfo) ProtoMessage()    {}
  3637  func (*CommitInfo) Descriptor() ([]byte, []int) {
  3638  	return fileDescriptor_252557cfdd89a31a, []int{43}
  3639  }
  3640  func (m *CommitInfo) XXX_Unmarshal(b []byte) error {
  3641  	return m.Unmarshal(b)
  3642  }
  3643  func (m *CommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3644  	if deterministic {
  3645  		return xxx_messageInfo_CommitInfo.Marshal(b, m, deterministic)
  3646  	} else {
  3647  		b = b[:cap(b)]
  3648  		n, err := m.MarshalToSizedBuffer(b)
  3649  		if err != nil {
  3650  			return nil, err
  3651  		}
  3652  		return b[:n], nil
  3653  	}
  3654  }
  3655  func (m *CommitInfo) XXX_Merge(src proto.Message) {
  3656  	xxx_messageInfo_CommitInfo.Merge(m, src)
  3657  }
  3658  func (m *CommitInfo) XXX_Size() int {
  3659  	return m.Size()
  3660  }
  3661  func (m *CommitInfo) XXX_DiscardUnknown() {
  3662  	xxx_messageInfo_CommitInfo.DiscardUnknown(m)
  3663  }
  3664  
  3665  var xxx_messageInfo_CommitInfo proto.InternalMessageInfo
  3666  
  3667  func (m *CommitInfo) GetRound() int32 {
  3668  	if m != nil {
  3669  		return m.Round
  3670  	}
  3671  	return 0
  3672  }
  3673  
  3674  func (m *CommitInfo) GetVotes() []VoteInfo {
  3675  	if m != nil {
  3676  		return m.Votes
  3677  	}
  3678  	return nil
  3679  }
  3680  
  3681  type LastCommitInfo struct {
  3682  	Round int32      `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"`
  3683  	Votes []VoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes"`
  3684  }
  3685  
  3686  func (m *LastCommitInfo) Reset()         { *m = LastCommitInfo{} }
  3687  func (m *LastCommitInfo) String() string { return proto.CompactTextString(m) }
  3688  func (*LastCommitInfo) ProtoMessage()    {}
  3689  func (*LastCommitInfo) Descriptor() ([]byte, []int) {
  3690  	return fileDescriptor_252557cfdd89a31a, []int{44}
  3691  }
  3692  func (m *LastCommitInfo) XXX_Unmarshal(b []byte) error {
  3693  	return m.Unmarshal(b)
  3694  }
  3695  func (m *LastCommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3696  	if deterministic {
  3697  		return xxx_messageInfo_LastCommitInfo.Marshal(b, m, deterministic)
  3698  	} else {
  3699  		b = b[:cap(b)]
  3700  		n, err := m.MarshalToSizedBuffer(b)
  3701  		if err != nil {
  3702  			return nil, err
  3703  		}
  3704  		return b[:n], nil
  3705  	}
  3706  }
  3707  func (m *LastCommitInfo) XXX_Merge(src proto.Message) {
  3708  	xxx_messageInfo_LastCommitInfo.Merge(m, src)
  3709  }
  3710  func (m *LastCommitInfo) XXX_Size() int {
  3711  	return m.Size()
  3712  }
  3713  func (m *LastCommitInfo) XXX_DiscardUnknown() {
  3714  	xxx_messageInfo_LastCommitInfo.DiscardUnknown(m)
  3715  }
  3716  
  3717  var xxx_messageInfo_LastCommitInfo proto.InternalMessageInfo
  3718  
  3719  func (m *LastCommitInfo) GetRound() int32 {
  3720  	if m != nil {
  3721  		return m.Round
  3722  	}
  3723  	return 0
  3724  }
  3725  
  3726  func (m *LastCommitInfo) GetVotes() []VoteInfo {
  3727  	if m != nil {
  3728  		return m.Votes
  3729  	}
  3730  	return nil
  3731  }
  3732  
  3733  // ExtendedCommitInfo is similar to CommitInfo except that it is only used in
  3734  // the PrepareProposal request such that Tendermint can provide vote extensions
  3735  // to the application.
  3736  type ExtendedCommitInfo struct {
  3737  	// The round at which the block proposer decided in the previous height.
  3738  	Round int32 `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"`
  3739  	// List of validators' addresses in the last validator set with their voting
  3740  	// information, including vote extensions.
  3741  	Votes []ExtendedVoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes"`
  3742  }
  3743  
  3744  func (m *ExtendedCommitInfo) Reset()         { *m = ExtendedCommitInfo{} }
  3745  func (m *ExtendedCommitInfo) String() string { return proto.CompactTextString(m) }
  3746  func (*ExtendedCommitInfo) ProtoMessage()    {}
  3747  func (*ExtendedCommitInfo) Descriptor() ([]byte, []int) {
  3748  	return fileDescriptor_252557cfdd89a31a, []int{45}
  3749  }
  3750  func (m *ExtendedCommitInfo) XXX_Unmarshal(b []byte) error {
  3751  	return m.Unmarshal(b)
  3752  }
  3753  func (m *ExtendedCommitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3754  	if deterministic {
  3755  		return xxx_messageInfo_ExtendedCommitInfo.Marshal(b, m, deterministic)
  3756  	} else {
  3757  		b = b[:cap(b)]
  3758  		n, err := m.MarshalToSizedBuffer(b)
  3759  		if err != nil {
  3760  			return nil, err
  3761  		}
  3762  		return b[:n], nil
  3763  	}
  3764  }
  3765  func (m *ExtendedCommitInfo) XXX_Merge(src proto.Message) {
  3766  	xxx_messageInfo_ExtendedCommitInfo.Merge(m, src)
  3767  }
  3768  func (m *ExtendedCommitInfo) XXX_Size() int {
  3769  	return m.Size()
  3770  }
  3771  func (m *ExtendedCommitInfo) XXX_DiscardUnknown() {
  3772  	xxx_messageInfo_ExtendedCommitInfo.DiscardUnknown(m)
  3773  }
  3774  
  3775  var xxx_messageInfo_ExtendedCommitInfo proto.InternalMessageInfo
  3776  
  3777  func (m *ExtendedCommitInfo) GetRound() int32 {
  3778  	if m != nil {
  3779  		return m.Round
  3780  	}
  3781  	return 0
  3782  }
  3783  
  3784  func (m *ExtendedCommitInfo) GetVotes() []ExtendedVoteInfo {
  3785  	if m != nil {
  3786  		return m.Votes
  3787  	}
  3788  	return nil
  3789  }
  3790  
  3791  // Event allows application developers to attach additional information to
  3792  // ResponseFinalizeBlock, ResponseDeliverTx, ExecTxResult
  3793  // Later, transactions may be queried using these events.
  3794  type Event struct {
  3795  	Type       string           `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  3796  	Attributes []EventAttribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
  3797  }
  3798  
  3799  func (m *Event) Reset()         { *m = Event{} }
  3800  func (m *Event) String() string { return proto.CompactTextString(m) }
  3801  func (*Event) ProtoMessage()    {}
  3802  func (*Event) Descriptor() ([]byte, []int) {
  3803  	return fileDescriptor_252557cfdd89a31a, []int{46}
  3804  }
  3805  func (m *Event) XXX_Unmarshal(b []byte) error {
  3806  	return m.Unmarshal(b)
  3807  }
  3808  func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3809  	if deterministic {
  3810  		return xxx_messageInfo_Event.Marshal(b, m, deterministic)
  3811  	} else {
  3812  		b = b[:cap(b)]
  3813  		n, err := m.MarshalToSizedBuffer(b)
  3814  		if err != nil {
  3815  			return nil, err
  3816  		}
  3817  		return b[:n], nil
  3818  	}
  3819  }
  3820  func (m *Event) XXX_Merge(src proto.Message) {
  3821  	xxx_messageInfo_Event.Merge(m, src)
  3822  }
  3823  func (m *Event) XXX_Size() int {
  3824  	return m.Size()
  3825  }
  3826  func (m *Event) XXX_DiscardUnknown() {
  3827  	xxx_messageInfo_Event.DiscardUnknown(m)
  3828  }
  3829  
  3830  var xxx_messageInfo_Event proto.InternalMessageInfo
  3831  
  3832  func (m *Event) GetType() string {
  3833  	if m != nil {
  3834  		return m.Type
  3835  	}
  3836  	return ""
  3837  }
  3838  
  3839  func (m *Event) GetAttributes() []EventAttribute {
  3840  	if m != nil {
  3841  		return m.Attributes
  3842  	}
  3843  	return nil
  3844  }
  3845  
  3846  // EventAttribute is a single key-value pair, associated with an event.
  3847  type EventAttribute struct {
  3848  	Key   []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  3849  	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  3850  	Index bool   `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
  3851  }
  3852  
  3853  func (m *EventAttribute) Reset()         { *m = EventAttribute{} }
  3854  func (m *EventAttribute) String() string { return proto.CompactTextString(m) }
  3855  func (*EventAttribute) ProtoMessage()    {}
  3856  func (*EventAttribute) Descriptor() ([]byte, []int) {
  3857  	return fileDescriptor_252557cfdd89a31a, []int{47}
  3858  }
  3859  func (m *EventAttribute) XXX_Unmarshal(b []byte) error {
  3860  	return m.Unmarshal(b)
  3861  }
  3862  func (m *EventAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3863  	if deterministic {
  3864  		return xxx_messageInfo_EventAttribute.Marshal(b, m, deterministic)
  3865  	} else {
  3866  		b = b[:cap(b)]
  3867  		n, err := m.MarshalToSizedBuffer(b)
  3868  		if err != nil {
  3869  			return nil, err
  3870  		}
  3871  		return b[:n], nil
  3872  	}
  3873  }
  3874  func (m *EventAttribute) XXX_Merge(src proto.Message) {
  3875  	xxx_messageInfo_EventAttribute.Merge(m, src)
  3876  }
  3877  func (m *EventAttribute) XXX_Size() int {
  3878  	return m.Size()
  3879  }
  3880  func (m *EventAttribute) XXX_DiscardUnknown() {
  3881  	xxx_messageInfo_EventAttribute.DiscardUnknown(m)
  3882  }
  3883  
  3884  var xxx_messageInfo_EventAttribute proto.InternalMessageInfo
  3885  
  3886  func (m *EventAttribute) GetKey() []byte {
  3887  	if m != nil {
  3888  		return m.Key
  3889  	}
  3890  	return nil
  3891  }
  3892  
  3893  func (m *EventAttribute) GetValue() []byte {
  3894  	if m != nil {
  3895  		return m.Value
  3896  	}
  3897  	return nil
  3898  }
  3899  
  3900  func (m *EventAttribute) GetIndex() bool {
  3901  	if m != nil {
  3902  		return m.Index
  3903  	}
  3904  	return false
  3905  }
  3906  
  3907  // ExecTxResult contains results of executing one individual transaction.
  3908  //
  3909  // * Its structure is equivalent to #ResponseDeliverTx which will be deprecated/deleted
  3910  type ExecTxResult struct {
  3911  	Code      uint32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
  3912  	Data      []byte  `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
  3913  	Log       string  `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
  3914  	Info      string  `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
  3915  	GasWanted int64   `protobuf:"varint,5,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"`
  3916  	GasUsed   int64   `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
  3917  	Events    []Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`
  3918  	Codespace string  `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"`
  3919  }
  3920  
  3921  func (m *ExecTxResult) Reset()         { *m = ExecTxResult{} }
  3922  func (m *ExecTxResult) String() string { return proto.CompactTextString(m) }
  3923  func (*ExecTxResult) ProtoMessage()    {}
  3924  func (*ExecTxResult) Descriptor() ([]byte, []int) {
  3925  	return fileDescriptor_252557cfdd89a31a, []int{48}
  3926  }
  3927  func (m *ExecTxResult) XXX_Unmarshal(b []byte) error {
  3928  	return m.Unmarshal(b)
  3929  }
  3930  func (m *ExecTxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  3931  	if deterministic {
  3932  		return xxx_messageInfo_ExecTxResult.Marshal(b, m, deterministic)
  3933  	} else {
  3934  		b = b[:cap(b)]
  3935  		n, err := m.MarshalToSizedBuffer(b)
  3936  		if err != nil {
  3937  			return nil, err
  3938  		}
  3939  		return b[:n], nil
  3940  	}
  3941  }
  3942  func (m *ExecTxResult) XXX_Merge(src proto.Message) {
  3943  	xxx_messageInfo_ExecTxResult.Merge(m, src)
  3944  }
  3945  func (m *ExecTxResult) XXX_Size() int {
  3946  	return m.Size()
  3947  }
  3948  func (m *ExecTxResult) XXX_DiscardUnknown() {
  3949  	xxx_messageInfo_ExecTxResult.DiscardUnknown(m)
  3950  }
  3951  
  3952  var xxx_messageInfo_ExecTxResult proto.InternalMessageInfo
  3953  
  3954  func (m *ExecTxResult) GetCode() uint32 {
  3955  	if m != nil {
  3956  		return m.Code
  3957  	}
  3958  	return 0
  3959  }
  3960  
  3961  func (m *ExecTxResult) GetData() []byte {
  3962  	if m != nil {
  3963  		return m.Data
  3964  	}
  3965  	return nil
  3966  }
  3967  
  3968  func (m *ExecTxResult) GetLog() string {
  3969  	if m != nil {
  3970  		return m.Log
  3971  	}
  3972  	return ""
  3973  }
  3974  
  3975  func (m *ExecTxResult) GetInfo() string {
  3976  	if m != nil {
  3977  		return m.Info
  3978  	}
  3979  	return ""
  3980  }
  3981  
  3982  func (m *ExecTxResult) GetGasWanted() int64 {
  3983  	if m != nil {
  3984  		return m.GasWanted
  3985  	}
  3986  	return 0
  3987  }
  3988  
  3989  func (m *ExecTxResult) GetGasUsed() int64 {
  3990  	if m != nil {
  3991  		return m.GasUsed
  3992  	}
  3993  	return 0
  3994  }
  3995  
  3996  func (m *ExecTxResult) GetEvents() []Event {
  3997  	if m != nil {
  3998  		return m.Events
  3999  	}
  4000  	return nil
  4001  }
  4002  
  4003  func (m *ExecTxResult) GetCodespace() string {
  4004  	if m != nil {
  4005  		return m.Codespace
  4006  	}
  4007  	return ""
  4008  }
  4009  
  4010  // TxResult contains results of executing the transaction.
  4011  //
  4012  // One usage is indexing transaction results.
  4013  type TxResult struct {
  4014  	Height int64        `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
  4015  	Index  uint32       `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
  4016  	Tx     []byte       `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"`
  4017  	Result ExecTxResult `protobuf:"bytes,4,opt,name=result,proto3" json:"result"`
  4018  }
  4019  
  4020  func (m *TxResult) Reset()         { *m = TxResult{} }
  4021  func (m *TxResult) String() string { return proto.CompactTextString(m) }
  4022  func (*TxResult) ProtoMessage()    {}
  4023  func (*TxResult) Descriptor() ([]byte, []int) {
  4024  	return fileDescriptor_252557cfdd89a31a, []int{49}
  4025  }
  4026  func (m *TxResult) XXX_Unmarshal(b []byte) error {
  4027  	return m.Unmarshal(b)
  4028  }
  4029  func (m *TxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4030  	if deterministic {
  4031  		return xxx_messageInfo_TxResult.Marshal(b, m, deterministic)
  4032  	} else {
  4033  		b = b[:cap(b)]
  4034  		n, err := m.MarshalToSizedBuffer(b)
  4035  		if err != nil {
  4036  			return nil, err
  4037  		}
  4038  		return b[:n], nil
  4039  	}
  4040  }
  4041  func (m *TxResult) XXX_Merge(src proto.Message) {
  4042  	xxx_messageInfo_TxResult.Merge(m, src)
  4043  }
  4044  func (m *TxResult) XXX_Size() int {
  4045  	return m.Size()
  4046  }
  4047  func (m *TxResult) XXX_DiscardUnknown() {
  4048  	xxx_messageInfo_TxResult.DiscardUnknown(m)
  4049  }
  4050  
  4051  var xxx_messageInfo_TxResult proto.InternalMessageInfo
  4052  
  4053  func (m *TxResult) GetHeight() int64 {
  4054  	if m != nil {
  4055  		return m.Height
  4056  	}
  4057  	return 0
  4058  }
  4059  
  4060  func (m *TxResult) GetIndex() uint32 {
  4061  	if m != nil {
  4062  		return m.Index
  4063  	}
  4064  	return 0
  4065  }
  4066  
  4067  func (m *TxResult) GetTx() []byte {
  4068  	if m != nil {
  4069  		return m.Tx
  4070  	}
  4071  	return nil
  4072  }
  4073  
  4074  func (m *TxResult) GetResult() ExecTxResult {
  4075  	if m != nil {
  4076  		return m.Result
  4077  	}
  4078  	return ExecTxResult{}
  4079  }
  4080  
  4081  type TxRecord struct {
  4082  	Action TxRecord_TxAction `protobuf:"varint,1,opt,name=action,proto3,enum=seitendermint.abci.TxRecord_TxAction" json:"action,omitempty"`
  4083  	Tx     []byte            `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx,omitempty"`
  4084  }
  4085  
  4086  func (m *TxRecord) Reset()         { *m = TxRecord{} }
  4087  func (m *TxRecord) String() string { return proto.CompactTextString(m) }
  4088  func (*TxRecord) ProtoMessage()    {}
  4089  func (*TxRecord) Descriptor() ([]byte, []int) {
  4090  	return fileDescriptor_252557cfdd89a31a, []int{50}
  4091  }
  4092  func (m *TxRecord) XXX_Unmarshal(b []byte) error {
  4093  	return m.Unmarshal(b)
  4094  }
  4095  func (m *TxRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4096  	if deterministic {
  4097  		return xxx_messageInfo_TxRecord.Marshal(b, m, deterministic)
  4098  	} else {
  4099  		b = b[:cap(b)]
  4100  		n, err := m.MarshalToSizedBuffer(b)
  4101  		if err != nil {
  4102  			return nil, err
  4103  		}
  4104  		return b[:n], nil
  4105  	}
  4106  }
  4107  func (m *TxRecord) XXX_Merge(src proto.Message) {
  4108  	xxx_messageInfo_TxRecord.Merge(m, src)
  4109  }
  4110  func (m *TxRecord) XXX_Size() int {
  4111  	return m.Size()
  4112  }
  4113  func (m *TxRecord) XXX_DiscardUnknown() {
  4114  	xxx_messageInfo_TxRecord.DiscardUnknown(m)
  4115  }
  4116  
  4117  var xxx_messageInfo_TxRecord proto.InternalMessageInfo
  4118  
  4119  func (m *TxRecord) GetAction() TxRecord_TxAction {
  4120  	if m != nil {
  4121  		return m.Action
  4122  	}
  4123  	return TxRecord_UNKNOWN
  4124  }
  4125  
  4126  func (m *TxRecord) GetTx() []byte {
  4127  	if m != nil {
  4128  		return m.Tx
  4129  	}
  4130  	return nil
  4131  }
  4132  
  4133  type BlockParams struct {
  4134  	// Note: must be greater than 0
  4135  	MaxBytes int64 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
  4136  	// Note: must be greater or equal to -1
  4137  	MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
  4138  }
  4139  
  4140  func (m *BlockParams) Reset()         { *m = BlockParams{} }
  4141  func (m *BlockParams) String() string { return proto.CompactTextString(m) }
  4142  func (*BlockParams) ProtoMessage()    {}
  4143  func (*BlockParams) Descriptor() ([]byte, []int) {
  4144  	return fileDescriptor_252557cfdd89a31a, []int{51}
  4145  }
  4146  func (m *BlockParams) XXX_Unmarshal(b []byte) error {
  4147  	return m.Unmarshal(b)
  4148  }
  4149  func (m *BlockParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4150  	if deterministic {
  4151  		return xxx_messageInfo_BlockParams.Marshal(b, m, deterministic)
  4152  	} else {
  4153  		b = b[:cap(b)]
  4154  		n, err := m.MarshalToSizedBuffer(b)
  4155  		if err != nil {
  4156  			return nil, err
  4157  		}
  4158  		return b[:n], nil
  4159  	}
  4160  }
  4161  func (m *BlockParams) XXX_Merge(src proto.Message) {
  4162  	xxx_messageInfo_BlockParams.Merge(m, src)
  4163  }
  4164  func (m *BlockParams) XXX_Size() int {
  4165  	return m.Size()
  4166  }
  4167  func (m *BlockParams) XXX_DiscardUnknown() {
  4168  	xxx_messageInfo_BlockParams.DiscardUnknown(m)
  4169  }
  4170  
  4171  var xxx_messageInfo_BlockParams proto.InternalMessageInfo
  4172  
  4173  func (m *BlockParams) GetMaxBytes() int64 {
  4174  	if m != nil {
  4175  		return m.MaxBytes
  4176  	}
  4177  	return 0
  4178  }
  4179  
  4180  func (m *BlockParams) GetMaxGas() int64 {
  4181  	if m != nil {
  4182  		return m.MaxGas
  4183  	}
  4184  	return 0
  4185  }
  4186  
  4187  type ConsensusParams struct {
  4188  	Block     *BlockParams            `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
  4189  	Evidence  *types1.EvidenceParams  `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence,omitempty"`
  4190  	Validator *types1.ValidatorParams `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator,omitempty"`
  4191  	Version   *types1.VersionParams   `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
  4192  }
  4193  
  4194  func (m *ConsensusParams) Reset()         { *m = ConsensusParams{} }
  4195  func (m *ConsensusParams) String() string { return proto.CompactTextString(m) }
  4196  func (*ConsensusParams) ProtoMessage()    {}
  4197  func (*ConsensusParams) Descriptor() ([]byte, []int) {
  4198  	return fileDescriptor_252557cfdd89a31a, []int{52}
  4199  }
  4200  func (m *ConsensusParams) XXX_Unmarshal(b []byte) error {
  4201  	return m.Unmarshal(b)
  4202  }
  4203  func (m *ConsensusParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4204  	if deterministic {
  4205  		return xxx_messageInfo_ConsensusParams.Marshal(b, m, deterministic)
  4206  	} else {
  4207  		b = b[:cap(b)]
  4208  		n, err := m.MarshalToSizedBuffer(b)
  4209  		if err != nil {
  4210  			return nil, err
  4211  		}
  4212  		return b[:n], nil
  4213  	}
  4214  }
  4215  func (m *ConsensusParams) XXX_Merge(src proto.Message) {
  4216  	xxx_messageInfo_ConsensusParams.Merge(m, src)
  4217  }
  4218  func (m *ConsensusParams) XXX_Size() int {
  4219  	return m.Size()
  4220  }
  4221  func (m *ConsensusParams) XXX_DiscardUnknown() {
  4222  	xxx_messageInfo_ConsensusParams.DiscardUnknown(m)
  4223  }
  4224  
  4225  var xxx_messageInfo_ConsensusParams proto.InternalMessageInfo
  4226  
  4227  func (m *ConsensusParams) GetBlock() *BlockParams {
  4228  	if m != nil {
  4229  		return m.Block
  4230  	}
  4231  	return nil
  4232  }
  4233  
  4234  func (m *ConsensusParams) GetEvidence() *types1.EvidenceParams {
  4235  	if m != nil {
  4236  		return m.Evidence
  4237  	}
  4238  	return nil
  4239  }
  4240  
  4241  func (m *ConsensusParams) GetValidator() *types1.ValidatorParams {
  4242  	if m != nil {
  4243  		return m.Validator
  4244  	}
  4245  	return nil
  4246  }
  4247  
  4248  func (m *ConsensusParams) GetVersion() *types1.VersionParams {
  4249  	if m != nil {
  4250  		return m.Version
  4251  	}
  4252  	return nil
  4253  }
  4254  
  4255  // Validator
  4256  type Validator struct {
  4257  	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
  4258  	// PubKey pub_key = 2 [(gogoproto.nullable)=false];
  4259  	Power int64 `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"`
  4260  }
  4261  
  4262  func (m *Validator) Reset()         { *m = Validator{} }
  4263  func (m *Validator) String() string { return proto.CompactTextString(m) }
  4264  func (*Validator) ProtoMessage()    {}
  4265  func (*Validator) Descriptor() ([]byte, []int) {
  4266  	return fileDescriptor_252557cfdd89a31a, []int{53}
  4267  }
  4268  func (m *Validator) XXX_Unmarshal(b []byte) error {
  4269  	return m.Unmarshal(b)
  4270  }
  4271  func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4272  	if deterministic {
  4273  		return xxx_messageInfo_Validator.Marshal(b, m, deterministic)
  4274  	} else {
  4275  		b = b[:cap(b)]
  4276  		n, err := m.MarshalToSizedBuffer(b)
  4277  		if err != nil {
  4278  			return nil, err
  4279  		}
  4280  		return b[:n], nil
  4281  	}
  4282  }
  4283  func (m *Validator) XXX_Merge(src proto.Message) {
  4284  	xxx_messageInfo_Validator.Merge(m, src)
  4285  }
  4286  func (m *Validator) XXX_Size() int {
  4287  	return m.Size()
  4288  }
  4289  func (m *Validator) XXX_DiscardUnknown() {
  4290  	xxx_messageInfo_Validator.DiscardUnknown(m)
  4291  }
  4292  
  4293  var xxx_messageInfo_Validator proto.InternalMessageInfo
  4294  
  4295  func (m *Validator) GetAddress() []byte {
  4296  	if m != nil {
  4297  		return m.Address
  4298  	}
  4299  	return nil
  4300  }
  4301  
  4302  func (m *Validator) GetPower() int64 {
  4303  	if m != nil {
  4304  		return m.Power
  4305  	}
  4306  	return 0
  4307  }
  4308  
  4309  // ValidatorUpdate
  4310  type ValidatorUpdate struct {
  4311  	PubKey crypto.PublicKey `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"`
  4312  	Power  int64            `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"`
  4313  }
  4314  
  4315  func (m *ValidatorUpdate) Reset()         { *m = ValidatorUpdate{} }
  4316  func (m *ValidatorUpdate) String() string { return proto.CompactTextString(m) }
  4317  func (*ValidatorUpdate) ProtoMessage()    {}
  4318  func (*ValidatorUpdate) Descriptor() ([]byte, []int) {
  4319  	return fileDescriptor_252557cfdd89a31a, []int{54}
  4320  }
  4321  func (m *ValidatorUpdate) XXX_Unmarshal(b []byte) error {
  4322  	return m.Unmarshal(b)
  4323  }
  4324  func (m *ValidatorUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4325  	if deterministic {
  4326  		return xxx_messageInfo_ValidatorUpdate.Marshal(b, m, deterministic)
  4327  	} else {
  4328  		b = b[:cap(b)]
  4329  		n, err := m.MarshalToSizedBuffer(b)
  4330  		if err != nil {
  4331  			return nil, err
  4332  		}
  4333  		return b[:n], nil
  4334  	}
  4335  }
  4336  func (m *ValidatorUpdate) XXX_Merge(src proto.Message) {
  4337  	xxx_messageInfo_ValidatorUpdate.Merge(m, src)
  4338  }
  4339  func (m *ValidatorUpdate) XXX_Size() int {
  4340  	return m.Size()
  4341  }
  4342  func (m *ValidatorUpdate) XXX_DiscardUnknown() {
  4343  	xxx_messageInfo_ValidatorUpdate.DiscardUnknown(m)
  4344  }
  4345  
  4346  var xxx_messageInfo_ValidatorUpdate proto.InternalMessageInfo
  4347  
  4348  func (m *ValidatorUpdate) GetPubKey() crypto.PublicKey {
  4349  	if m != nil {
  4350  		return m.PubKey
  4351  	}
  4352  	return crypto.PublicKey{}
  4353  }
  4354  
  4355  func (m *ValidatorUpdate) GetPower() int64 {
  4356  	if m != nil {
  4357  		return m.Power
  4358  	}
  4359  	return 0
  4360  }
  4361  
  4362  // VoteInfo
  4363  type VoteInfo struct {
  4364  	Validator       Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
  4365  	SignedLastBlock bool      `protobuf:"varint,2,opt,name=signed_last_block,json=signedLastBlock,proto3" json:"signed_last_block,omitempty"`
  4366  }
  4367  
  4368  func (m *VoteInfo) Reset()         { *m = VoteInfo{} }
  4369  func (m *VoteInfo) String() string { return proto.CompactTextString(m) }
  4370  func (*VoteInfo) ProtoMessage()    {}
  4371  func (*VoteInfo) Descriptor() ([]byte, []int) {
  4372  	return fileDescriptor_252557cfdd89a31a, []int{55}
  4373  }
  4374  func (m *VoteInfo) XXX_Unmarshal(b []byte) error {
  4375  	return m.Unmarshal(b)
  4376  }
  4377  func (m *VoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4378  	if deterministic {
  4379  		return xxx_messageInfo_VoteInfo.Marshal(b, m, deterministic)
  4380  	} else {
  4381  		b = b[:cap(b)]
  4382  		n, err := m.MarshalToSizedBuffer(b)
  4383  		if err != nil {
  4384  			return nil, err
  4385  		}
  4386  		return b[:n], nil
  4387  	}
  4388  }
  4389  func (m *VoteInfo) XXX_Merge(src proto.Message) {
  4390  	xxx_messageInfo_VoteInfo.Merge(m, src)
  4391  }
  4392  func (m *VoteInfo) XXX_Size() int {
  4393  	return m.Size()
  4394  }
  4395  func (m *VoteInfo) XXX_DiscardUnknown() {
  4396  	xxx_messageInfo_VoteInfo.DiscardUnknown(m)
  4397  }
  4398  
  4399  var xxx_messageInfo_VoteInfo proto.InternalMessageInfo
  4400  
  4401  func (m *VoteInfo) GetValidator() Validator {
  4402  	if m != nil {
  4403  		return m.Validator
  4404  	}
  4405  	return Validator{}
  4406  }
  4407  
  4408  func (m *VoteInfo) GetSignedLastBlock() bool {
  4409  	if m != nil {
  4410  		return m.SignedLastBlock
  4411  	}
  4412  	return false
  4413  }
  4414  
  4415  // ExtendedVoteInfo
  4416  type ExtendedVoteInfo struct {
  4417  	// The validator that sent the vote.
  4418  	Validator Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
  4419  	// Indicates whether the validator signed the last block, allowing for rewards based on validator availability.
  4420  	SignedLastBlock bool `protobuf:"varint,2,opt,name=signed_last_block,json=signedLastBlock,proto3" json:"signed_last_block,omitempty"`
  4421  	// Non-deterministic extension provided by the sending validator's application.
  4422  	VoteExtension []byte `protobuf:"bytes,3,opt,name=vote_extension,json=voteExtension,proto3" json:"vote_extension,omitempty"`
  4423  }
  4424  
  4425  func (m *ExtendedVoteInfo) Reset()         { *m = ExtendedVoteInfo{} }
  4426  func (m *ExtendedVoteInfo) String() string { return proto.CompactTextString(m) }
  4427  func (*ExtendedVoteInfo) ProtoMessage()    {}
  4428  func (*ExtendedVoteInfo) Descriptor() ([]byte, []int) {
  4429  	return fileDescriptor_252557cfdd89a31a, []int{56}
  4430  }
  4431  func (m *ExtendedVoteInfo) XXX_Unmarshal(b []byte) error {
  4432  	return m.Unmarshal(b)
  4433  }
  4434  func (m *ExtendedVoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4435  	if deterministic {
  4436  		return xxx_messageInfo_ExtendedVoteInfo.Marshal(b, m, deterministic)
  4437  	} else {
  4438  		b = b[:cap(b)]
  4439  		n, err := m.MarshalToSizedBuffer(b)
  4440  		if err != nil {
  4441  			return nil, err
  4442  		}
  4443  		return b[:n], nil
  4444  	}
  4445  }
  4446  func (m *ExtendedVoteInfo) XXX_Merge(src proto.Message) {
  4447  	xxx_messageInfo_ExtendedVoteInfo.Merge(m, src)
  4448  }
  4449  func (m *ExtendedVoteInfo) XXX_Size() int {
  4450  	return m.Size()
  4451  }
  4452  func (m *ExtendedVoteInfo) XXX_DiscardUnknown() {
  4453  	xxx_messageInfo_ExtendedVoteInfo.DiscardUnknown(m)
  4454  }
  4455  
  4456  var xxx_messageInfo_ExtendedVoteInfo proto.InternalMessageInfo
  4457  
  4458  func (m *ExtendedVoteInfo) GetValidator() Validator {
  4459  	if m != nil {
  4460  		return m.Validator
  4461  	}
  4462  	return Validator{}
  4463  }
  4464  
  4465  func (m *ExtendedVoteInfo) GetSignedLastBlock() bool {
  4466  	if m != nil {
  4467  		return m.SignedLastBlock
  4468  	}
  4469  	return false
  4470  }
  4471  
  4472  func (m *ExtendedVoteInfo) GetVoteExtension() []byte {
  4473  	if m != nil {
  4474  		return m.VoteExtension
  4475  	}
  4476  	return nil
  4477  }
  4478  
  4479  type Misbehavior struct {
  4480  	Type MisbehaviorType `protobuf:"varint,1,opt,name=type,proto3,enum=seitendermint.abci.MisbehaviorType" json:"type,omitempty"`
  4481  	// The offending validator
  4482  	Validator Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator"`
  4483  	// The height when the offense occurred
  4484  	Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
  4485  	// The corresponding time where the offense occurred
  4486  	Time time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"`
  4487  	// Total voting power of the validator set in case the ABCI application does
  4488  	// not store historical validators.
  4489  	// https://github.com/tendermint/tendermint/issues/4581
  4490  	TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"`
  4491  }
  4492  
  4493  func (m *Misbehavior) Reset()         { *m = Misbehavior{} }
  4494  func (m *Misbehavior) String() string { return proto.CompactTextString(m) }
  4495  func (*Misbehavior) ProtoMessage()    {}
  4496  func (*Misbehavior) Descriptor() ([]byte, []int) {
  4497  	return fileDescriptor_252557cfdd89a31a, []int{57}
  4498  }
  4499  func (m *Misbehavior) XXX_Unmarshal(b []byte) error {
  4500  	return m.Unmarshal(b)
  4501  }
  4502  func (m *Misbehavior) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4503  	if deterministic {
  4504  		return xxx_messageInfo_Misbehavior.Marshal(b, m, deterministic)
  4505  	} else {
  4506  		b = b[:cap(b)]
  4507  		n, err := m.MarshalToSizedBuffer(b)
  4508  		if err != nil {
  4509  			return nil, err
  4510  		}
  4511  		return b[:n], nil
  4512  	}
  4513  }
  4514  func (m *Misbehavior) XXX_Merge(src proto.Message) {
  4515  	xxx_messageInfo_Misbehavior.Merge(m, src)
  4516  }
  4517  func (m *Misbehavior) XXX_Size() int {
  4518  	return m.Size()
  4519  }
  4520  func (m *Misbehavior) XXX_DiscardUnknown() {
  4521  	xxx_messageInfo_Misbehavior.DiscardUnknown(m)
  4522  }
  4523  
  4524  var xxx_messageInfo_Misbehavior proto.InternalMessageInfo
  4525  
  4526  func (m *Misbehavior) GetType() MisbehaviorType {
  4527  	if m != nil {
  4528  		return m.Type
  4529  	}
  4530  	return MisbehaviorType_UNKNOWN
  4531  }
  4532  
  4533  func (m *Misbehavior) GetValidator() Validator {
  4534  	if m != nil {
  4535  		return m.Validator
  4536  	}
  4537  	return Validator{}
  4538  }
  4539  
  4540  func (m *Misbehavior) GetHeight() int64 {
  4541  	if m != nil {
  4542  		return m.Height
  4543  	}
  4544  	return 0
  4545  }
  4546  
  4547  func (m *Misbehavior) GetTime() time.Time {
  4548  	if m != nil {
  4549  		return m.Time
  4550  	}
  4551  	return time.Time{}
  4552  }
  4553  
  4554  func (m *Misbehavior) GetTotalVotingPower() int64 {
  4555  	if m != nil {
  4556  		return m.TotalVotingPower
  4557  	}
  4558  	return 0
  4559  }
  4560  
  4561  type Evidence struct {
  4562  	Type MisbehaviorType `protobuf:"varint,1,opt,name=type,proto3,enum=seitendermint.abci.MisbehaviorType" json:"type,omitempty"`
  4563  	// The offending validator
  4564  	Validator Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator"`
  4565  	// The height when the offense occurred
  4566  	Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
  4567  	// The corresponding time where the offense occurred
  4568  	Time time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"`
  4569  	// Total voting power of the validator set in case the ABCI application does
  4570  	// not store historical validators.
  4571  	// https://github.com/tendermint/tendermint/issues/4581
  4572  	TotalVotingPower int64 `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"`
  4573  }
  4574  
  4575  func (m *Evidence) Reset()         { *m = Evidence{} }
  4576  func (m *Evidence) String() string { return proto.CompactTextString(m) }
  4577  func (*Evidence) ProtoMessage()    {}
  4578  func (*Evidence) Descriptor() ([]byte, []int) {
  4579  	return fileDescriptor_252557cfdd89a31a, []int{58}
  4580  }
  4581  func (m *Evidence) XXX_Unmarshal(b []byte) error {
  4582  	return m.Unmarshal(b)
  4583  }
  4584  func (m *Evidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4585  	if deterministic {
  4586  		return xxx_messageInfo_Evidence.Marshal(b, m, deterministic)
  4587  	} else {
  4588  		b = b[:cap(b)]
  4589  		n, err := m.MarshalToSizedBuffer(b)
  4590  		if err != nil {
  4591  			return nil, err
  4592  		}
  4593  		return b[:n], nil
  4594  	}
  4595  }
  4596  func (m *Evidence) XXX_Merge(src proto.Message) {
  4597  	xxx_messageInfo_Evidence.Merge(m, src)
  4598  }
  4599  func (m *Evidence) XXX_Size() int {
  4600  	return m.Size()
  4601  }
  4602  func (m *Evidence) XXX_DiscardUnknown() {
  4603  	xxx_messageInfo_Evidence.DiscardUnknown(m)
  4604  }
  4605  
  4606  var xxx_messageInfo_Evidence proto.InternalMessageInfo
  4607  
  4608  func (m *Evidence) GetType() MisbehaviorType {
  4609  	if m != nil {
  4610  		return m.Type
  4611  	}
  4612  	return MisbehaviorType_UNKNOWN
  4613  }
  4614  
  4615  func (m *Evidence) GetValidator() Validator {
  4616  	if m != nil {
  4617  		return m.Validator
  4618  	}
  4619  	return Validator{}
  4620  }
  4621  
  4622  func (m *Evidence) GetHeight() int64 {
  4623  	if m != nil {
  4624  		return m.Height
  4625  	}
  4626  	return 0
  4627  }
  4628  
  4629  func (m *Evidence) GetTime() time.Time {
  4630  	if m != nil {
  4631  		return m.Time
  4632  	}
  4633  	return time.Time{}
  4634  }
  4635  
  4636  func (m *Evidence) GetTotalVotingPower() int64 {
  4637  	if m != nil {
  4638  		return m.TotalVotingPower
  4639  	}
  4640  	return 0
  4641  }
  4642  
  4643  type Snapshot struct {
  4644  	Height   uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
  4645  	Format   uint32 `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"`
  4646  	Chunks   uint32 `protobuf:"varint,3,opt,name=chunks,proto3" json:"chunks,omitempty"`
  4647  	Hash     []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
  4648  	Metadata []byte `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
  4649  }
  4650  
  4651  func (m *Snapshot) Reset()         { *m = Snapshot{} }
  4652  func (m *Snapshot) String() string { return proto.CompactTextString(m) }
  4653  func (*Snapshot) ProtoMessage()    {}
  4654  func (*Snapshot) Descriptor() ([]byte, []int) {
  4655  	return fileDescriptor_252557cfdd89a31a, []int{59}
  4656  }
  4657  func (m *Snapshot) XXX_Unmarshal(b []byte) error {
  4658  	return m.Unmarshal(b)
  4659  }
  4660  func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  4661  	if deterministic {
  4662  		return xxx_messageInfo_Snapshot.Marshal(b, m, deterministic)
  4663  	} else {
  4664  		b = b[:cap(b)]
  4665  		n, err := m.MarshalToSizedBuffer(b)
  4666  		if err != nil {
  4667  			return nil, err
  4668  		}
  4669  		return b[:n], nil
  4670  	}
  4671  }
  4672  func (m *Snapshot) XXX_Merge(src proto.Message) {
  4673  	xxx_messageInfo_Snapshot.Merge(m, src)
  4674  }
  4675  func (m *Snapshot) XXX_Size() int {
  4676  	return m.Size()
  4677  }
  4678  func (m *Snapshot) XXX_DiscardUnknown() {
  4679  	xxx_messageInfo_Snapshot.DiscardUnknown(m)
  4680  }
  4681  
  4682  var xxx_messageInfo_Snapshot proto.InternalMessageInfo
  4683  
  4684  func (m *Snapshot) GetHeight() uint64 {
  4685  	if m != nil {
  4686  		return m.Height
  4687  	}
  4688  	return 0
  4689  }
  4690  
  4691  func (m *Snapshot) GetFormat() uint32 {
  4692  	if m != nil {
  4693  		return m.Format
  4694  	}
  4695  	return 0
  4696  }
  4697  
  4698  func (m *Snapshot) GetChunks() uint32 {
  4699  	if m != nil {
  4700  		return m.Chunks
  4701  	}
  4702  	return 0
  4703  }
  4704  
  4705  func (m *Snapshot) GetHash() []byte {
  4706  	if m != nil {
  4707  		return m.Hash
  4708  	}
  4709  	return nil
  4710  }
  4711  
  4712  func (m *Snapshot) GetMetadata() []byte {
  4713  	if m != nil {
  4714  		return m.Metadata
  4715  	}
  4716  	return nil
  4717  }
  4718  
  4719  func init() {
  4720  	proto.RegisterEnum("seitendermint.abci.CheckTxType", CheckTxType_name, CheckTxType_value)
  4721  	proto.RegisterEnum("seitendermint.abci.MisbehaviorType", MisbehaviorType_name, MisbehaviorType_value)
  4722  	proto.RegisterEnum("seitendermint.abci.ResponseOfferSnapshot_Result", ResponseOfferSnapshot_Result_name, ResponseOfferSnapshot_Result_value)
  4723  	proto.RegisterEnum("seitendermint.abci.ResponseApplySnapshotChunk_Result", ResponseApplySnapshotChunk_Result_name, ResponseApplySnapshotChunk_Result_value)
  4724  	proto.RegisterEnum("seitendermint.abci.ResponseProcessProposal_ProposalStatus", ResponseProcessProposal_ProposalStatus_name, ResponseProcessProposal_ProposalStatus_value)
  4725  	proto.RegisterEnum("seitendermint.abci.ResponseVerifyVoteExtension_VerifyStatus", ResponseVerifyVoteExtension_VerifyStatus_name, ResponseVerifyVoteExtension_VerifyStatus_value)
  4726  	proto.RegisterEnum("seitendermint.abci.TxRecord_TxAction", TxRecord_TxAction_name, TxRecord_TxAction_value)
  4727  	proto.RegisterType((*Request)(nil), "seitendermint.abci.Request")
  4728  	proto.RegisterType((*RequestEcho)(nil), "seitendermint.abci.RequestEcho")
  4729  	proto.RegisterType((*RequestFlush)(nil), "seitendermint.abci.RequestFlush")
  4730  	proto.RegisterType((*RequestInfo)(nil), "seitendermint.abci.RequestInfo")
  4731  	proto.RegisterType((*RequestInitChain)(nil), "seitendermint.abci.RequestInitChain")
  4732  	proto.RegisterType((*RequestQuery)(nil), "seitendermint.abci.RequestQuery")
  4733  	proto.RegisterType((*RequestCheckTx)(nil), "seitendermint.abci.RequestCheckTx")
  4734  	proto.RegisterType((*RequestCommit)(nil), "seitendermint.abci.RequestCommit")
  4735  	proto.RegisterType((*RequestListSnapshots)(nil), "seitendermint.abci.RequestListSnapshots")
  4736  	proto.RegisterType((*RequestOfferSnapshot)(nil), "seitendermint.abci.RequestOfferSnapshot")
  4737  	proto.RegisterType((*RequestLoadSnapshotChunk)(nil), "seitendermint.abci.RequestLoadSnapshotChunk")
  4738  	proto.RegisterType((*RequestApplySnapshotChunk)(nil), "seitendermint.abci.RequestApplySnapshotChunk")
  4739  	proto.RegisterType((*RequestPrepareProposal)(nil), "seitendermint.abci.RequestPrepareProposal")
  4740  	proto.RegisterType((*RequestProcessProposal)(nil), "seitendermint.abci.RequestProcessProposal")
  4741  	proto.RegisterType((*RequestExtendVote)(nil), "seitendermint.abci.RequestExtendVote")
  4742  	proto.RegisterType((*RequestVerifyVoteExtension)(nil), "seitendermint.abci.RequestVerifyVoteExtension")
  4743  	proto.RegisterType((*RequestFinalizeBlock)(nil), "seitendermint.abci.RequestFinalizeBlock")
  4744  	proto.RegisterType((*RequestBeginBlock)(nil), "seitendermint.abci.RequestBeginBlock")
  4745  	proto.RegisterType((*RequestDeliverTx)(nil), "seitendermint.abci.RequestDeliverTx")
  4746  	proto.RegisterType((*RequestEndBlock)(nil), "seitendermint.abci.RequestEndBlock")
  4747  	proto.RegisterType((*RequestLoadLatest)(nil), "seitendermint.abci.RequestLoadLatest")
  4748  	proto.RegisterType((*Response)(nil), "seitendermint.abci.Response")
  4749  	proto.RegisterType((*ResponseException)(nil), "seitendermint.abci.ResponseException")
  4750  	proto.RegisterType((*ResponseEcho)(nil), "seitendermint.abci.ResponseEcho")
  4751  	proto.RegisterType((*ResponseFlush)(nil), "seitendermint.abci.ResponseFlush")
  4752  	proto.RegisterType((*ResponseInfo)(nil), "seitendermint.abci.ResponseInfo")
  4753  	proto.RegisterType((*ResponseInitChain)(nil), "seitendermint.abci.ResponseInitChain")
  4754  	proto.RegisterType((*ResponseQuery)(nil), "seitendermint.abci.ResponseQuery")
  4755  	proto.RegisterType((*ResponseBeginBlock)(nil), "seitendermint.abci.ResponseBeginBlock")
  4756  	proto.RegisterType((*ResponseCheckTx)(nil), "seitendermint.abci.ResponseCheckTx")
  4757  	proto.RegisterType((*ResponseDeliverTx)(nil), "seitendermint.abci.ResponseDeliverTx")
  4758  	proto.RegisterType((*ResponseEndBlock)(nil), "seitendermint.abci.ResponseEndBlock")
  4759  	proto.RegisterType((*ResponseCommit)(nil), "seitendermint.abci.ResponseCommit")
  4760  	proto.RegisterType((*ResponseListSnapshots)(nil), "seitendermint.abci.ResponseListSnapshots")
  4761  	proto.RegisterType((*ResponseOfferSnapshot)(nil), "seitendermint.abci.ResponseOfferSnapshot")
  4762  	proto.RegisterType((*ResponseLoadSnapshotChunk)(nil), "seitendermint.abci.ResponseLoadSnapshotChunk")
  4763  	proto.RegisterType((*ResponseApplySnapshotChunk)(nil), "seitendermint.abci.ResponseApplySnapshotChunk")
  4764  	proto.RegisterType((*ResponsePrepareProposal)(nil), "seitendermint.abci.ResponsePrepareProposal")
  4765  	proto.RegisterType((*ResponseProcessProposal)(nil), "seitendermint.abci.ResponseProcessProposal")
  4766  	proto.RegisterType((*ResponseExtendVote)(nil), "seitendermint.abci.ResponseExtendVote")
  4767  	proto.RegisterType((*ResponseVerifyVoteExtension)(nil), "seitendermint.abci.ResponseVerifyVoteExtension")
  4768  	proto.RegisterType((*ResponseFinalizeBlock)(nil), "seitendermint.abci.ResponseFinalizeBlock")
  4769  	proto.RegisterType((*ResponseLoadLatest)(nil), "seitendermint.abci.ResponseLoadLatest")
  4770  	proto.RegisterType((*CommitInfo)(nil), "seitendermint.abci.CommitInfo")
  4771  	proto.RegisterType((*LastCommitInfo)(nil), "seitendermint.abci.LastCommitInfo")
  4772  	proto.RegisterType((*ExtendedCommitInfo)(nil), "seitendermint.abci.ExtendedCommitInfo")
  4773  	proto.RegisterType((*Event)(nil), "seitendermint.abci.Event")
  4774  	proto.RegisterType((*EventAttribute)(nil), "seitendermint.abci.EventAttribute")
  4775  	proto.RegisterType((*ExecTxResult)(nil), "seitendermint.abci.ExecTxResult")
  4776  	proto.RegisterType((*TxResult)(nil), "seitendermint.abci.TxResult")
  4777  	proto.RegisterType((*TxRecord)(nil), "seitendermint.abci.TxRecord")
  4778  	proto.RegisterType((*BlockParams)(nil), "seitendermint.abci.BlockParams")
  4779  	proto.RegisterType((*ConsensusParams)(nil), "seitendermint.abci.ConsensusParams")
  4780  	proto.RegisterType((*Validator)(nil), "seitendermint.abci.Validator")
  4781  	proto.RegisterType((*ValidatorUpdate)(nil), "seitendermint.abci.ValidatorUpdate")
  4782  	proto.RegisterType((*VoteInfo)(nil), "seitendermint.abci.VoteInfo")
  4783  	proto.RegisterType((*ExtendedVoteInfo)(nil), "seitendermint.abci.ExtendedVoteInfo")
  4784  	proto.RegisterType((*Misbehavior)(nil), "seitendermint.abci.Misbehavior")
  4785  	proto.RegisterType((*Evidence)(nil), "seitendermint.abci.Evidence")
  4786  	proto.RegisterType((*Snapshot)(nil), "seitendermint.abci.Snapshot")
  4787  }
  4788  
  4789  func init() { proto.RegisterFile("tendermint/abci/types.proto", fileDescriptor_252557cfdd89a31a) }
  4790  
  4791  var fileDescriptor_252557cfdd89a31a = []byte{
  4792  	// 3903 bytes of a gzipped FileDescriptorProto
  4793  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcb, 0x93, 0x1b, 0xc7,
  4794  	0x79, 0xc7, 0xfb, 0xf1, 0xe1, 0x35, 0xdb, 0xbb, 0x24, 0x41, 0x50, 0x5a, 0xae, 0x46, 0xa6, 0x4c,
  4795  	0xd1, 0xd2, 0xae, 0x43, 0x15, 0x15, 0xca, 0x54, 0x4c, 0xef, 0x03, 0x34, 0x96, 0x5c, 0xee, 0xae,
  4796  	0x67, 0xc1, 0x15, 0x13, 0xbb, 0x3c, 0xea, 0x05, 0x7a, 0x81, 0x31, 0x01, 0xcc, 0x78, 0x66, 0xb0,
  4797  	0xc2, 0xba, 0x2a, 0x87, 0xe4, 0x90, 0x52, 0x9c, 0x4a, 0x95, 0x0e, 0x39, 0x25, 0xf1, 0x3d, 0xc7,
  4798  	0x1c, 0x7d, 0xc8, 0x25, 0x37, 0x57, 0x2a, 0x07, 0x57, 0x2a, 0x87, 0x9c, 0x9c, 0x14, 0x95, 0x5c,
  4799  	0xf2, 0x07, 0xe4, 0x90, 0x53, 0xaa, 0x1f, 0xf3, 0x02, 0x06, 0x33, 0x80, 0xc8, 0x72, 0x95, 0x2b,
  4800  	0xba, 0x4d, 0xf7, 0x7c, 0xdf, 0xd7, 0xd3, 0xdd, 0xdf, 0xab, 0x7f, 0x5f, 0x0f, 0xdc, 0xb0, 0xc9,
  4801  	0xa8, 0x4b, 0xcc, 0xa1, 0x36, 0xb2, 0xb7, 0xf0, 0x59, 0x47, 0xdb, 0xb2, 0x2f, 0x0d, 0x62, 0x6d,
  4802  	0x1a, 0xa6, 0x6e, 0xeb, 0x08, 0x59, 0x44, 0xf3, 0xde, 0x6f, 0xd2, 0xf7, 0x8d, 0x37, 0x7d, 0x0c,
  4803  	0x1d, 0xf3, 0xd2, 0xb0, 0xf5, 0x2d, 0xc3, 0xd4, 0xf5, 0x73, 0xce, 0xd2, 0x78, 0x63, 0xf6, 0xf5,
  4804  	0x0b, 0x72, 0x29, 0x04, 0x06, 0x98, 0xd9, 0x40, 0x5b, 0x06, 0x36, 0xf1, 0xd0, 0x0a, 0x61, 0xe6,
  4805  	0xaf, 0x7d, 0x5f, 0xd3, 0xb8, 0xd9, 0xd3, 0xf5, 0xde, 0x80, 0x6c, 0xb1, 0xd6, 0xd9, 0xf8, 0x7c,
  4806  	0xcb, 0xd6, 0x86, 0xc4, 0xb2, 0xf1, 0xd0, 0x10, 0x04, 0x6b, 0x3d, 0xbd, 0xa7, 0xb3, 0xc7, 0x2d,
  4807  	0xfa, 0xc4, 0x7b, 0xe5, 0xcf, 0xcb, 0x90, 0x57, 0xc8, 0x4f, 0xc7, 0xc4, 0xb2, 0xd1, 0x3d, 0xc8,
  4808  	0x90, 0x4e, 0x5f, 0xaf, 0x27, 0x37, 0x92, 0xb7, 0x4b, 0x77, 0x6f, 0x6e, 0xce, 0xce, 0x6f, 0x53,
  4809  	0x90, 0x36, 0x3b, 0x7d, 0xbd, 0x95, 0x50, 0x18, 0x39, 0xba, 0x0f, 0xd9, 0xf3, 0xc1, 0xd8, 0xea,
  4810  	0xd7, 0x53, 0x8c, 0x6f, 0x23, 0x82, 0xef, 0x11, 0xa5, 0x6b, 0x25, 0x14, 0xce, 0x40, 0x07, 0xd4,
  4811  	0x46, 0xe7, 0x7a, 0x3d, 0x1d, 0x3b, 0xe0, 0xfe, 0xe8, 0x9c, 0x0d, 0x48, 0xc9, 0x51, 0x13, 0x40,
  4812  	0x1b, 0x69, 0xb6, 0xda, 0xe9, 0x63, 0x6d, 0x54, 0xcf, 0x30, 0xe6, 0x6f, 0x44, 0x32, 0x6b, 0xf6,
  4813  	0x2e, 0xa5, 0x6d, 0x25, 0x94, 0xa2, 0xe6, 0x34, 0xe8, 0x77, 0xff, 0x74, 0x4c, 0xcc, 0xcb, 0x7a,
  4814  	0x36, 0xf6, 0xbb, 0x7f, 0x40, 0xe9, 0xe8, 0x77, 0x33, 0x06, 0xf4, 0x10, 0x0a, 0x9d, 0x3e, 0xe9,
  4815  	0xbc, 0x50, 0xed, 0x49, 0x3d, 0xcf, 0x98, 0xe5, 0x08, 0xe6, 0x5d, 0x4a, 0xda, 0x9e, 0xb4, 0x12,
  4816  	0x4a, 0xbe, 0xc3, 0x1f, 0xd1, 0x03, 0xc8, 0x75, 0xf4, 0xe1, 0x50, 0xb3, 0xeb, 0xc0, 0xd8, 0xdf,
  4817  	0x8a, 0x62, 0x67, 0x84, 0xad, 0x84, 0x22, 0x58, 0xd0, 0x0f, 0xa0, 0x3a, 0xd0, 0x2c, 0x5b, 0xb5,
  4818  	0x46, 0xd8, 0xb0, 0xfa, 0xba, 0x6d, 0xd5, 0x4b, 0x4c, 0xc8, 0xed, 0x08, 0x21, 0x07, 0x9a, 0x65,
  4819  	0x9f, 0x38, 0xf4, 0xad, 0x84, 0x52, 0x19, 0xf8, 0x3b, 0xa8, 0x48, 0xfd, 0xfc, 0x9c, 0x98, 0xae,
  4820  	0xcc, 0x7a, 0x39, 0x56, 0xe4, 0x11, 0x65, 0x70, 0x44, 0x50, 0x91, 0xba, 0xbf, 0x03, 0xfd, 0x18,
  4821  	0x56, 0x07, 0x3a, 0xee, 0xba, 0x12, 0xd5, 0x4e, 0x7f, 0x3c, 0x7a, 0x51, 0xaf, 0x30, 0xb9, 0xef,
  4822  	0x45, 0x7d, 0xaa, 0x8e, 0xbb, 0x8e, 0x94, 0x5d, 0xca, 0xd3, 0x4a, 0x28, 0x2b, 0x83, 0xe9, 0x4e,
  4823  	0x84, 0x61, 0x0d, 0x1b, 0xc6, 0xe0, 0x72, 0x7a, 0x80, 0x2a, 0x1b, 0xe0, 0xfd, 0x88, 0x01, 0xb6,
  4824  	0x29, 0xdb, 0xf4, 0x08, 0x08, 0xcf, 0xf4, 0xa2, 0x4f, 0x40, 0x32, 0x4c, 0x62, 0x60, 0x93, 0xa8,
  4825  	0x86, 0xa9, 0x1b, 0xba, 0x85, 0x07, 0xf5, 0x1a, 0x13, 0x7f, 0x27, 0x42, 0xfc, 0x31, 0x67, 0x39,
  4826  	0x16, 0x1c, 0xad, 0x84, 0x52, 0x33, 0x82, 0x5d, 0x5c, 0xb0, 0xde, 0x21, 0x96, 0xe5, 0x09, 0x96,
  4827  	0x16, 0x10, 0xcc, 0x58, 0x82, 0x82, 0x03, 0x5d, 0xa8, 0x05, 0x25, 0x32, 0xa1, 0xec, 0xea, 0x85,
  4828  	0x6e, 0x93, 0xfa, 0x0a, 0x93, 0x79, 0x2b, 0xca, 0x90, 0x19, 0xf5, 0xa9, 0x6e, 0x93, 0x56, 0x42,
  4829  	0x01, 0xe2, 0xb6, 0x50, 0x17, 0xae, 0x5c, 0x10, 0x53, 0x3b, 0xbf, 0x64, 0x92, 0x54, 0xf6, 0xc6,
  4830  	0xd2, 0xf4, 0x51, 0x1d, 0x31, 0x99, 0x9b, 0x11, 0x32, 0x4f, 0x19, 0x1f, 0x95, 0xd2, 0x74, 0xb8,
  4831  	0x5a, 0x09, 0x65, 0xf5, 0x62, 0xb6, 0x9b, 0xea, 0xdd, 0xb9, 0x36, 0xc2, 0x03, 0xed, 0x67, 0x44,
  4832  	0x3d, 0x1b, 0xe8, 0x9d, 0x17, 0xf5, 0xd5, 0x58, 0xbd, 0x7b, 0x24, 0x18, 0x76, 0x28, 0x3d, 0xd5,
  4833  	0xbb, 0x73, 0x7f, 0x07, 0x5d, 0x82, 0x33, 0xd2, 0xd3, 0x46, 0x42, 0xde, 0x5a, 0xec, 0x12, 0xec,
  4834  	0x50, 0x6a, 0x47, 0x18, 0x9c, 0xb9, 0x2d, 0xea, 0x66, 0xba, 0x64, 0xa0, 0x5d, 0x10, 0x93, 0xda,
  4835  	0xf9, 0x95, 0x58, 0x37, 0xb3, 0xc7, 0x89, 0x99, 0xa5, 0x17, 0xbb, 0x4e, 0x03, 0xed, 0x40, 0x91,
  4836  	0x6e, 0x08, 0xff, 0x9c, 0xab, 0x4c, 0xca, 0xdb, 0x51, 0x3b, 0x32, 0xea, 0x3a, 0x1f, 0x53, 0x20,
  4837  	0xe2, 0x99, 0x4e, 0x8a, 0x19, 0xd3, 0x00, 0xdb, 0xc4, 0xb2, 0xeb, 0xd7, 0x62, 0x27, 0x45, 0x8d,
  4838  	0xe8, 0x80, 0x11, 0xd3, 0x49, 0x0d, 0xdc, 0xd6, 0x4e, 0x1e, 0xb2, 0x17, 0x78, 0x30, 0x26, 0x8f,
  4839  	0x33, 0x85, 0x9c, 0x94, 0x7f, 0x9c, 0x29, 0x14, 0xa4, 0xe2, 0xe3, 0x4c, 0xa1, 0x28, 0x81, 0xfc,
  4840  	0x4d, 0x28, 0xf9, 0xdc, 0x3b, 0xaa, 0x43, 0x7e, 0x48, 0x2c, 0x0b, 0xf7, 0x08, 0x0b, 0x08, 0x45,
  4841  	0xc5, 0x69, 0xca, 0x55, 0x28, 0xfb, 0xfd, 0xb9, 0xfc, 0x45, 0xd2, 0xe5, 0xa4, 0x7e, 0x9a, 0x72,
  4842  	0x5e, 0x10, 0x93, 0x69, 0x8b, 0xe0, 0x14, 0x4d, 0xf4, 0x36, 0x54, 0xd8, 0x3a, 0xa8, 0xce, 0x7b,
  4843  	0x1a, 0x32, 0x32, 0x4a, 0x99, 0x75, 0x9e, 0x0a, 0xa2, 0x9b, 0x50, 0x32, 0xee, 0x1a, 0x2e, 0x49,
  4844  	0x9a, 0x91, 0x80, 0x71, 0xd7, 0x70, 0x08, 0xde, 0x82, 0x32, 0x9d, 0xab, 0x4b, 0x91, 0x61, 0x83,
  4845  	0x94, 0x68, 0x9f, 0x20, 0x91, 0xff, 0x25, 0x05, 0xd2, 0xb4, 0xf7, 0x47, 0xf7, 0x21, 0x43, 0x83,
  4846  	0xa2, 0x88, 0x6f, 0x8d, 0x4d, 0x1e, 0x31, 0x37, 0x9d, 0x88, 0xb9, 0xd9, 0x76, 0x22, 0xe6, 0x4e,
  4847  	0xe1, 0x57, 0xbf, 0xb9, 0x99, 0xf8, 0xe2, 0xdf, 0x6f, 0x26, 0x15, 0xc6, 0x81, 0xae, 0x53, 0x87,
  4848  	0x8f, 0xb5, 0x91, 0xaa, 0x75, 0xd9, 0x27, 0x17, 0xa9, 0x2b, 0xc7, 0xda, 0x68, 0xbf, 0x8b, 0x8e,
  4849  	0x40, 0xea, 0xe8, 0x23, 0x8b, 0x8c, 0xac, 0xb1, 0xa5, 0xf2, 0x78, 0x2d, 0xe2, 0xd9, 0xb4, 0xae,
  4850  	0xf0, 0x68, 0xbd, 0xeb, 0x10, 0x1f, 0x33, 0x5a, 0xa5, 0xd6, 0x09, 0x76, 0xa0, 0x7d, 0x80, 0x0b,
  4851  	0x3c, 0xd0, 0xba, 0xd8, 0xd6, 0x4d, 0xab, 0x9e, 0xd9, 0x48, 0xcf, 0x53, 0x98, 0x53, 0x87, 0xea,
  4852  	0x99, 0xd1, 0xc5, 0x36, 0xd9, 0xc9, 0xd0, 0x8f, 0x56, 0x7c, 0xcc, 0xe8, 0x1d, 0xa8, 0x61, 0xc3,
  4853  	0x50, 0x2d, 0x1b, 0xdb, 0x44, 0x3d, 0xbb, 0xb4, 0x89, 0xc5, 0x62, 0x5d, 0x59, 0xa9, 0x60, 0xc3,
  4854  	0x38, 0xa1, 0xbd, 0x3b, 0xb4, 0x13, 0xdd, 0x82, 0x2a, 0x0d, 0x8b, 0x1a, 0x1e, 0xa8, 0x7d, 0xa2,
  4855  	0xf5, 0xfa, 0x76, 0x3d, 0xb7, 0x91, 0xbc, 0x9d, 0x56, 0x2a, 0xa2, 0xb7, 0xc5, 0x3a, 0xe5, 0xae,
  4856  	0xbb, 0xef, 0x2c, 0x1e, 0x22, 0x04, 0x99, 0x2e, 0xb6, 0x31, 0x5b, 0xcf, 0xb2, 0xc2, 0x9e, 0x69,
  4857  	0x9f, 0x81, 0xed, 0xbe, 0x58, 0x25, 0xf6, 0x8c, 0xae, 0x42, 0x4e, 0x88, 0x4d, 0x33, 0xb1, 0xa2,
  4858  	0x85, 0xd6, 0x20, 0x6b, 0x98, 0xfa, 0x05, 0x61, 0x1b, 0x58, 0x50, 0x78, 0x43, 0x7e, 0x06, 0xd5,
  4859  	0x60, 0xe0, 0x44, 0x55, 0x48, 0xd9, 0x13, 0x31, 0x4a, 0xca, 0x9e, 0xa0, 0x0f, 0x20, 0x43, 0xd7,
  4860  	0x92, 0x8d, 0x51, 0x0d, 0x4f, 0x1b, 0x04, 0x6b, 0xfb, 0xd2, 0x20, 0x0a, 0x23, 0x96, 0x6b, 0x50,
  4861  	0x09, 0x04, 0x54, 0xf9, 0x2a, 0xac, 0x85, 0x05, 0x47, 0xf9, 0x85, 0xdb, 0x1f, 0x88, 0x70, 0xe8,
  4862  	0x3e, 0x14, 0xdc, 0xe8, 0xc8, 0x35, 0xe8, 0x8d, 0xb0, 0x91, 0x1d, 0x7a, 0xc5, 0xa5, 0xa6, 0xda,
  4863  	0x43, 0xb7, 0xa1, 0x8f, 0x45, 0x8e, 0x54, 0x56, 0xf2, 0xd8, 0x30, 0x5a, 0xd8, 0xea, 0xcb, 0x9f,
  4864  	0x42, 0x7d, 0x5e, 0xd8, 0xf3, 0x2d, 0x5b, 0x92, 0x99, 0x80, 0xb3, 0x6c, 0x57, 0x21, 0x77, 0xae,
  4865  	0x9b, 0x43, 0x6c, 0x33, 0x61, 0x15, 0x45, 0xb4, 0xe8, 0x72, 0xf2, 0x10, 0x98, 0x66, 0xdd, 0xbc,
  4866  	0x21, 0xab, 0x70, 0x7d, 0x6e, 0xdc, 0xa3, 0x2c, 0xda, 0xa8, 0x4b, 0xf8, 0xe2, 0x56, 0x14, 0xde,
  4867  	0xf0, 0x04, 0xf1, 0x8f, 0xe5, 0x0d, 0x3a, 0xac, 0xc5, 0xe6, 0xca, 0xe4, 0x17, 0x15, 0xd1, 0x92,
  4868  	0xff, 0x39, 0x07, 0x57, 0xc3, 0x43, 0x1f, 0xda, 0x80, 0xf2, 0x10, 0x4f, 0x54, 0x7b, 0x22, 0x94,
  4869  	0x2f, 0xc9, 0xb6, 0x1f, 0x86, 0x78, 0xd2, 0x9e, 0x70, 0xcd, 0x93, 0x20, 0x6d, 0x4f, 0xac, 0x7a,
  4870  	0x6a, 0x23, 0x7d, 0xbb, 0xac, 0xd0, 0x47, 0xf4, 0x1c, 0x56, 0x06, 0x7a, 0x07, 0x0f, 0xd4, 0x01,
  4871  	0xb6, 0x6c, 0x55, 0x64, 0x49, 0xdc, 0xa0, 0xde, 0x09, 0x5b, 0x6f, 0x1e, 0xc1, 0x48, 0x97, 0xef,
  4872  	0x2a, 0xf5, 0x3f, 0xc2, 0x10, 0x6a, 0x4c, 0xcc, 0x01, 0x76, 0x36, 0x1c, 0x3d, 0x87, 0xb5, 0xb3,
  4873  	0xcb, 0x9f, 0xe1, 0x91, 0xad, 0x8d, 0x88, 0x3a, 0x63, 0x62, 0xa1, 0x6a, 0xf4, 0x54, 0xb3, 0xce,
  4874  	0x48, 0x1f, 0x5f, 0x68, 0xba, 0x29, 0xa4, 0xae, 0xba, 0x22, 0x4e, 0x3d, 0x3b, 0xf3, 0x76, 0x2a,
  4875  	0x1b, 0x50, 0x70, 0xc7, 0xe1, 0xe4, 0x96, 0x76, 0x38, 0xdf, 0x86, 0xb5, 0x11, 0x99, 0xd8, 0xbe,
  4876  	0xcf, 0xe4, 0xea, 0x93, 0x67, 0x3b, 0x82, 0xe8, 0x3b, 0x6f, 0x7c, 0xaa, 0x49, 0xe8, 0x5d, 0x96,
  4877  	0x53, 0x18, 0xba, 0x45, 0x4c, 0x15, 0x77, 0xbb, 0x26, 0xb1, 0xac, 0x7a, 0x81, 0x51, 0xd7, 0x9c,
  4878  	0xfe, 0x6d, 0xde, 0x1d, 0xd0, 0xc7, 0x62, 0x40, 0x1f, 0xd1, 0x37, 0xa1, 0x36, 0x3d, 0x24, 0x30,
  4879  	0x8a, 0xea, 0x45, 0x70, 0xb8, 0x5b, 0x50, 0xf5, 0xdc, 0x1e, 0xa3, 0x2b, 0x71, 0xcf, 0xe2, 0xf6,
  4880  	0x32, 0xb2, 0x1b, 0x50, 0xa4, 0x6e, 0x81, 0x53, 0x94, 0x19, 0x45, 0x81, 0x76, 0xb0, 0x97, 0x6f,
  4881  	0x43, 0x85, 0x5c, 0x68, 0x5d, 0x32, 0xea, 0x10, 0x4e, 0x50, 0x61, 0x04, 0x65, 0xa7, 0x93, 0x11,
  4882  	0xbd, 0x03, 0x35, 0xa6, 0x09, 0x3c, 0x6e, 0x30, 0xb2, 0x2a, 0x1f, 0x89, 0x76, 0xf3, 0x50, 0x49,
  4883  	0xe9, 0xee, 0xc3, 0x75, 0x1f, 0x9d, 0x81, 0x4d, 0x5b, 0xb5, 0x88, 0xad, 0xda, 0xba, 0x2d, 0xb2,
  4884  	0xb6, 0xb4, 0x72, 0xc5, 0xe5, 0x38, 0xc6, 0xa6, 0x7d, 0x42, 0xec, 0x36, 0x7d, 0x89, 0x3e, 0x84,
  4885  	0x7a, 0x18, 0x27, 0x1b, 0x4a, 0x62, 0x43, 0xad, 0x4d, 0x33, 0xb2, 0x11, 0x6f, 0x83, 0xe4, 0xd3,
  4886  	0x51, 0x4e, 0xbf, 0xc2, 0x17, 0x6b, 0xe0, 0x6a, 0x1d, 0xa3, 0xbc, 0x03, 0x2b, 0x8c, 0xd2, 0x24,
  4887  	0xd6, 0x78, 0x60, 0x8b, 0xf5, 0x42, 0x7c, 0x73, 0xe8, 0x0b, 0x85, 0xf7, 0x33, 0x8f, 0xf0, 0x0f,
  4888  	0x7e, 0x73, 0x0a, 0x66, 0x77, 0xc2, 0x58, 0x92, 0x9e, 0xb1, 0x9c, 0xc2, 0x9a, 0xd8, 0xdc, 0x6e,
  4889  	0xc0, 0x5e, 0xf8, 0x49, 0x6c, 0x3d, 0xd4, 0x33, 0x4e, 0xdb, 0x09, 0x72, 0x24, 0x2c, 0x60, 0x2a,
  4890  	0xe9, 0x57, 0x36, 0x15, 0x04, 0x19, 0x36, 0xfb, 0x0c, 0x8f, 0x19, 0xf4, 0xf9, 0x77, 0xd9, 0x7c,
  4891  	0x20, 0xd6, 0x7c, 0x4a, 0x0b, 0x9a, 0x4f, 0x39, 0xd6, 0x7c, 0x2a, 0x71, 0xe6, 0x53, 0x5d, 0xcc,
  4892  	0x7c, 0x6a, 0x4b, 0x9b, 0x8f, 0xf4, 0x55, 0xcd, 0x67, 0x65, 0x49, 0xf3, 0x41, 0x8b, 0x9b, 0xcf,
  4893  	0x6a, 0xb8, 0xf9, 0x3c, 0x84, 0x95, 0x99, 0xa3, 0x8d, 0xab, 0x74, 0xc9, 0x50, 0xa5, 0x4b, 0xf9,
  4894  	0x95, 0x4e, 0xfe, 0xdb, 0x24, 0x34, 0xe6, 0x1f, 0x64, 0x42, 0x45, 0x7d, 0x0b, 0x56, 0xdc, 0xed,
  4895  	0x75, 0x95, 0x87, 0xc7, 0x4e, 0xc9, 0x7d, 0xe1, 0x68, 0xcf, 0xbc, 0x64, 0xe8, 0x16, 0x54, 0xa7,
  4896  	0x4e, 0x5a, 0xdc, 0x44, 0x2a, 0x17, 0xfe, 0xf1, 0xe5, 0x5f, 0xe6, 0xdc, 0xf4, 0x24, 0x70, 0x10,
  4897  	0x0a, 0x71, 0x0e, 0x6d, 0x58, 0xed, 0x92, 0x8e, 0xd6, 0x7d, 0x05, 0xdf, 0xb0, 0x22, 0x04, 0x7c,
  4898  	0xed, 0x1a, 0xbe, 0x76, 0x0d, 0xbf, 0xf3, 0xae, 0xe1, 0x2f, 0x53, 0xae, 0x6f, 0xf0, 0xce, 0xfc,
  4899  	0xa1, 0x06, 0xfd, 0x11, 0xd5, 0x3a, 0x4c, 0x53, 0x5d, 0x6e, 0x2c, 0x37, 0x42, 0x4f, 0x72, 0x2d,
  4900  	0x46, 0x22, 0x34, 0x5a, 0x30, 0x20, 0x25, 0xf8, 0xe9, 0x3e, 0x78, 0x33, 0x14, 0x22, 0xf4, 0x0c,
  4901  	0xcb, 0x67, 0x75, 0xbe, 0x49, 0xb2, 0xf3, 0xf4, 0xb3, 0xc8, 0xc4, 0x35, 0xf4, 0x14, 0xd2, 0x14,
  4902  	0x1b, 0x1d, 0x61, 0x6f, 0x72, 0xd3, 0x3d, 0x22, 0xbb, 0xc8, 0xc5, 0xcc, 0x51, 0xeb, 0x2d, 0x28,
  4903  	0x5b, 0x5a, 0x4f, 0x65, 0xd8, 0x8d, 0x46, 0xf8, 0xe1, 0xb7, 0xa0, 0x94, 0x2c, 0xad, 0x77, 0x2a,
  4904  	0xba, 0xe4, 0x77, 0xa1, 0x36, 0x05, 0x5d, 0x4c, 0x9d, 0x5c, 0x3c, 0xdf, 0xba, 0xea, 0x6e, 0x80,
  4905  	0x87, 0x4f, 0xc8, 0xff, 0x59, 0x86, 0x82, 0x42, 0x2c, 0x83, 0x6a, 0x37, 0x6a, 0x42, 0x91, 0x4c,
  4906  	0x3a, 0xc4, 0xb0, 0x1d, 0xf0, 0x60, 0x2e, 0xcc, 0xc1, 0x19, 0x9a, 0x0e, 0x71, 0x2b, 0xa1, 0x78,
  4907  	0x9c, 0xe8, 0x43, 0x81, 0x64, 0x47, 0x22, 0xd2, 0x42, 0x82, 0x1f, 0xca, 0xfe, 0xc8, 0x81, 0xb2,
  4908  	0xd3, 0x51, 0xb0, 0x2c, 0x67, 0x9c, 0xc2, 0xb2, 0x3f, 0x14, 0x58, 0x76, 0x26, 0x7e, 0xc8, 0x00,
  4909  	0x98, 0xfd, 0x28, 0x00, 0x66, 0x67, 0xe3, 0xa7, 0x3c, 0x07, 0xcd, 0xfe, 0xc8, 0x41, 0xb3, 0x73,
  4910  	0xf1, 0x9f, 0x3e, 0x05, 0x67, 0x7f, 0xcf, 0x07, 0x67, 0x17, 0xa2, 0x00, 0x2a, 0xce, 0x1d, 0x82,
  4911  	0x67, 0x7f, 0xec, 0xe2, 0xd9, 0xa5, 0x28, 0x38, 0x5c, 0xf0, 0x4f, 0x03, 0xda, 0xca, 0x0c, 0xa0,
  4912  	0xcd, 0xd1, 0xe7, 0x77, 0xa3, 0xa4, 0xc4, 0x20, 0xda, 0xca, 0x0c, 0xa2, 0x5d, 0x89, 0x97, 0x19,
  4913  	0x03, 0x69, 0xab, 0xe1, 0x90, 0x76, 0x24, 0xe2, 0x2c, 0x3e, 0x76, 0x31, 0x4c, 0xfb, 0x6c, 0x0e,
  4914  	0xa6, 0x5d, 0x8b, 0xc2, 0x5c, 0xf9, 0x08, 0x0b, 0x83, 0xda, 0xcf, 0x43, 0x40, 0x6d, 0x8e, 0x3d,
  4915  	0x7f, 0x2b, 0x4a, 0xfe, 0x02, 0xa8, 0xf6, 0xf3, 0x10, 0x54, 0x7b, 0x65, 0x11, 0xc9, 0xb1, 0xb0,
  4916  	0xf6, 0x7e, 0x10, 0xd6, 0x46, 0xf3, 0xd1, 0x00, 0xcf, 0x2f, 0xcc, 0xc1, 0xb5, 0xc9, 0x3c, 0x5c,
  4917  	0x9b, 0x03, 0xcf, 0x5b, 0x51, 0x42, 0x97, 0x00, 0xb6, 0x95, 0x19, 0x60, 0x7b, 0x2d, 0x5e, 0xfd,
  4918  	0x62, 0x90, 0xed, 0xfd, 0x20, 0xb2, 0x7d, 0x25, 0x7e, 0x15, 0xe6, 0x42, 0xdb, 0x8f, 0x02, 0xd0,
  4919  	0xf6, 0xd5, 0x78, 0xa7, 0x33, 0x07, 0xdb, 0xde, 0xf5, 0x63, 0xdb, 0xd7, 0xa2, 0x10, 0x72, 0xb1,
  4920  	0x2d, 0x61, 0xe0, 0xf6, 0x7e, 0x10, 0xdc, 0xae, 0xc7, 0xcf, 0x6b, 0x11, 0x74, 0x3b, 0x2f, 0x15,
  4921  	0x38, 0xae, 0xfd, 0x38, 0x53, 0x00, 0xa9, 0x24, 0xbf, 0x4b, 0x63, 0xcf, 0x54, 0xd0, 0x40, 0x6b,
  4922  	0x90, 0x25, 0xa6, 0xa9, 0x9b, 0x02, 0xa7, 0xe6, 0x0d, 0xf9, 0x36, 0x94, 0xfd, 0xd1, 0x21, 0x02,
  4923  	0x09, 0x67, 0xa0, 0xa2, 0x2f, 0x1c, 0xc8, 0xbf, 0x4c, 0x7a, 0xbc, 0x2c, 0x76, 0xfb, 0x31, 0xd2,
  4924  	0xa2, 0xc0, 0x48, 0x7d, 0xf8, 0x78, 0x2a, 0x88, 0x8f, 0xdf, 0x84, 0x12, 0xcd, 0x1f, 0xa7, 0xa0,
  4925  	0x6f, 0x6c, 0xb8, 0xd0, 0xb7, 0x93, 0xef, 0x88, 0x9c, 0x8d, 0x07, 0xd9, 0x0c, 0x0b, 0xb2, 0x35,
  4926  	0x2f, 0x6b, 0xe3, 0x39, 0xf2, 0xfb, 0xb0, 0xea, 0xa3, 0x75, 0xf3, 0x52, 0x8e, 0x00, 0x4b, 0x2e,
  4927  	0xf5, 0xb6, 0x80, 0x22, 0xff, 0x29, 0xe9, 0xad, 0x90, 0x87, 0x99, 0x87, 0xc1, 0xdb, 0xc9, 0xd7,
  4928  	0x07, 0x6f, 0xa7, 0x5e, 0x05, 0xde, 0xf6, 0x67, 0xdb, 0xe9, 0x20, 0xae, 0xfa, 0xbf, 0x49, 0x6f,
  4929  	0x67, 0x5c, 0xb0, 0xba, 0xa3, 0x77, 0x89, 0x40, 0x3a, 0xd9, 0x33, 0x3d, 0x33, 0x0d, 0xf4, 0x9e,
  4930  	0xc0, 0x33, 0xe9, 0x23, 0xa5, 0x72, 0xa3, 0x78, 0x51, 0x44, 0x68, 0x17, 0x24, 0xe5, 0x47, 0x10,
  4931  	0x01, 0x92, 0x4a, 0x90, 0x7e, 0x41, 0x78, 0xb4, 0x2d, 0x2b, 0xf4, 0x91, 0xd2, 0x31, 0xe5, 0x13,
  4932  	0x47, 0x09, 0xde, 0x40, 0x0f, 0xa0, 0xc8, 0x6e, 0x00, 0xa8, 0xba, 0x61, 0x89, 0xe8, 0x3a, 0x7d,
  4933  	0xf6, 0xe2, 0x37, 0x01, 0x36, 0x8f, 0x29, 0xd9, 0x91, 0x61, 0x29, 0x05, 0x43, 0x3c, 0xf9, 0x12,
  4934  	0xa9, 0x62, 0xe0, 0xf8, 0xf3, 0x06, 0x14, 0xe9, 0x04, 0x2c, 0x03, 0x77, 0x08, 0x3b, 0x68, 0x14,
  4935  	0x15, 0xaf, 0x43, 0xc6, 0x80, 0x66, 0x3d, 0x00, 0x7a, 0x02, 0x39, 0x72, 0x41, 0x46, 0x36, 0x3f,
  4936  	0x23, 0x96, 0xee, 0x5e, 0x0f, 0xcf, 0x1b, 0xc9, 0xc8, 0xde, 0xa9, 0xd3, 0xa5, 0xfe, 0xef, 0xdf,
  4937  	0xdc, 0x94, 0x38, 0xc3, 0x7b, 0xfa, 0x50, 0xb3, 0xc9, 0xd0, 0xb0, 0x2f, 0x15, 0x21, 0x42, 0xfe,
  4938  	0xd7, 0x24, 0xcd, 0xfa, 0x02, 0xf9, 0x40, 0xe8, 0x0a, 0x3b, 0xea, 0x9f, 0xf2, 0x95, 0x08, 0x66,
  4939  	0x57, 0xfd, 0x4d, 0x80, 0x1e, 0xb6, 0xd4, 0xcf, 0xf0, 0xc8, 0x26, 0x5d, 0xb1, 0xcc, 0xc5, 0x1e,
  4940  	0xb6, 0x3e, 0x61, 0x1d, 0xc1, 0xd9, 0x16, 0xa6, 0x66, 0xeb, 0xc3, 0xa5, 0x8b, 0x7e, 0x5c, 0x1a,
  4941  	0x35, 0xa0, 0x60, 0x98, 0x9a, 0x6e, 0x6a, 0xf6, 0x25, 0x5b, 0xa2, 0xb4, 0xe2, 0xb6, 0x1f, 0x67,
  4942  	0x0a, 0x19, 0x29, 0xeb, 0x96, 0xc0, 0xb8, 0xab, 0x28, 0x49, 0x65, 0xf9, 0xf3, 0x94, 0x67, 0x03,
  4943  	0x5e, 0x52, 0xfc, 0xd5, 0x27, 0x16, 0xa6, 0x4e, 0xeb, 0x21, 0x93, 0xf5, 0xf5, 0xd0, 0xef, 0xa6,
  4944  	0xad, 0xb1, 0x45, 0xba, 0xa2, 0x0c, 0xe3, 0xb6, 0x7d, 0x7b, 0x98, 0x7f, 0xe5, 0x3d, 0x8c, 0x5e,
  4945  	0x56, 0xf9, 0xaf, 0x58, 0x05, 0x2d, 0xe8, 0xb6, 0xd1, 0xa9, 0x1f, 0xe9, 0x18, 0x33, 0xbb, 0x74,
  4946  	0xd4, 0x69, 0x09, 0x1b, 0xf6, 0x40, 0x11, 0xde, 0x6d, 0xa1, 0x1f, 0xc2, 0xb5, 0x29, 0x2f, 0xe3,
  4947  	0x4a, 0x4f, 0xcd, 0x4f, 0x48, 0xa7, 0x7d, 0xcd, 0x95, 0xa0, 0xaf, 0x71, 0x84, 0x7b, 0x8b, 0x96,
  4948  	0x7e, 0x75, 0xc5, 0xbf, 0x07, 0xd5, 0x60, 0x1e, 0x4b, 0xcf, 0xda, 0x26, 0xb1, 0xb1, 0x36, 0x52,
  4949  	0x03, 0xb8, 0x4e, 0x99, 0x77, 0x8a, 0xd2, 0xd9, 0x09, 0x5c, 0x09, 0x4d, 0x5c, 0xd1, 0x77, 0xa0,
  4950  	0xe8, 0xa5, 0xbd, 0xc9, 0xf9, 0x07, 0x3a, 0xb7, 0xac, 0xe4, 0x91, 0xcb, 0xff, 0x98, 0xf4, 0xa4,
  4951  	0x06, 0x6b, 0x55, 0x2d, 0xc8, 0xf1, 0x13, 0x31, 0xd3, 0xd9, 0xea, 0xdd, 0x6f, 0x2f, 0x9c, 0xf5,
  4952  	0x6e, 0xf2, 0x13, 0xb3, 0x22, 0xf8, 0xe5, 0x1f, 0x43, 0x8e, 0xf7, 0xa0, 0x12, 0xe4, 0x9f, 0x1d,
  4953  	0x3e, 0x39, 0x3c, 0xfa, 0xe4, 0x50, 0x4a, 0x20, 0x80, 0xdc, 0xf6, 0xee, 0x6e, 0xf3, 0xb8, 0x2d,
  4954  	0x25, 0x51, 0x11, 0xb2, 0xdb, 0x3b, 0x47, 0x4a, 0x5b, 0x4a, 0xd1, 0x6e, 0xa5, 0xf9, 0xb8, 0xb9,
  4955  	0xdb, 0x96, 0xd2, 0x68, 0x05, 0x2a, 0xfc, 0x59, 0x7d, 0x74, 0xa4, 0x3c, 0xdd, 0x6e, 0x4b, 0x19,
  4956  	0x5f, 0xd7, 0x49, 0xf3, 0x70, 0xaf, 0xa9, 0x48, 0x59, 0xf9, 0xf7, 0xe0, 0xfa, 0xdc, 0x24, 0xd9,
  4957  	0x2b, 0x44, 0x25, 0x7d, 0x85, 0x28, 0xf9, 0x6f, 0x52, 0xd0, 0x98, 0x9f, 0xf6, 0xa2, 0xa7, 0x53,
  4958  	0x73, 0xbf, 0xb7, 0x5c, 0xda, 0x3c, 0xb5, 0x00, 0xe8, 0x16, 0x54, 0x4d, 0x72, 0x4e, 0xec, 0x4e,
  4959  	0x9f, 0x27, 0xe3, 0x3c, 0x66, 0x55, 0x94, 0x8a, 0xe8, 0x65, 0x4c, 0x16, 0x27, 0xfb, 0x09, 0xe9,
  4960  	0xd8, 0x2a, 0x77, 0x3f, 0x5c, 0xd9, 0x8a, 0x94, 0x8c, 0xf6, 0x9e, 0xf0, 0x4e, 0xf9, 0xd3, 0xa5,
  4961  	0x96, 0xb3, 0x08, 0x59, 0xa5, 0xd9, 0x56, 0xfe, 0x50, 0x4a, 0x23, 0x04, 0x55, 0xf6, 0xa8, 0x9e,
  4962  	0x1c, 0x6e, 0x1f, 0x9f, 0xb4, 0x8e, 0xe8, 0x72, 0xae, 0x42, 0xcd, 0x59, 0x4e, 0xa7, 0x33, 0x2b,
  4963  	0xbf, 0x4c, 0xc1, 0xb5, 0x39, 0x49, 0x3b, 0x7a, 0x00, 0x60, 0x4f, 0x54, 0x93, 0x74, 0x74, 0xb3,
  4964  	0x1b, 0xa9, 0x6d, 0xed, 0x89, 0xc2, 0x88, 0x94, 0xa2, 0x2d, 0x9e, 0xac, 0x88, 0x2a, 0x26, 0x7a,
  4965  	0x28, 0xe4, 0x32, 0xac, 0x45, 0x58, 0xd9, 0x46, 0x78, 0xb1, 0x8e, 0x74, 0xa8, 0x6c, 0xb6, 0xc2,
  4966  	0x4c, 0x36, 0x63, 0x41, 0xc7, 0x61, 0x7e, 0x65, 0xf1, 0xd2, 0x77, 0x88, 0x47, 0xf9, 0xd1, 0x7c,
  4967  	0x8f, 0x92, 0x5d, 0x22, 0x7d, 0x09, 0x77, 0x29, 0xf2, 0xdf, 0xa7, 0xfd, 0x8b, 0x1c, 0x3c, 0xac,
  4968  	0x28, 0x90, 0xb3, 0x6c, 0x6c, 0x8f, 0x2d, 0xa1, 0x7f, 0xdf, 0x59, 0xe2, 0xf0, 0xb3, 0xe9, 0x3c,
  4969  	0x9c, 0x30, 0x09, 0x8a, 0x90, 0xf4, 0xf5, 0xda, 0xfb, 0xd6, 0xfe, 0x1e, 0x54, 0x83, 0xab, 0x34,
  4970  	0xdf, 0x94, 0x3c, 0x77, 0x94, 0x92, 0x1f, 0x78, 0x49, 0x91, 0xaf, 0x32, 0x30, 0x8b, 0xba, 0x27,
  4971  	0xc3, 0x50, 0xf7, 0xbf, 0x4b, 0xc2, 0x8d, 0x88, 0x53, 0x20, 0x6a, 0x4f, 0xed, 0xf9, 0xc7, 0x4b,
  4972  	0x1e, 0x23, 0x37, 0x79, 0x5f, 0x70, 0xd7, 0xe5, 0x0f, 0xa0, 0xec, 0xef, 0x5f, 0x6c, 0x9e, 0xff,
  4973  	0x93, 0xf2, 0x82, 0x42, 0xb0, 0x42, 0xf0, 0x3a, 0x13, 0xc0, 0x29, 0xb5, 0x4b, 0x2d, 0xaf, 0x76,
  4974  	0xa1, 0xa9, 0x44, 0xfa, 0xd5, 0x53, 0x89, 0x08, 0xe5, 0xcb, 0xbc, 0xb2, 0xf2, 0x05, 0x0c, 0x31,
  4975  	0x1b, 0x3c, 0x72, 0xac, 0x79, 0x0a, 0xe6, 0x43, 0x37, 0x7f, 0x04, 0xe0, 0x43, 0x72, 0xd7, 0x20,
  4976  	0x6b, 0xea, 0xe3, 0x51, 0x97, 0xa9, 0x49, 0x56, 0xe1, 0x0d, 0x74, 0x1f, 0xb2, 0x54, 0xdd, 0x9c,
  4977  	0x65, 0x0c, 0xf5, 0xc8, 0x54, 0x5d, 0x7c, 0x10, 0x31, 0x67, 0x90, 0x3f, 0x85, 0x6a, 0x10, 0x41,
  4978  	0x7e, 0xed, 0x23, 0x0c, 0x00, 0xcd, 0xde, 0xb0, 0x98, 0x33, 0xca, 0xf7, 0x82, 0xa3, 0x7c, 0x23,
  4979  	0xea, 0xba, 0x46, 0xf8, 0x68, 0x7f, 0x0c, 0x59, 0xa6, 0x80, 0x34, 0x71, 0x66, 0x57, 0x7c, 0xc4,
  4980  	0xb1, 0x99, 0x3e, 0xa3, 0x4f, 0x01, 0xb0, 0x6d, 0x9b, 0xda, 0xd9, 0xd8, 0x1b, 0x43, 0x9e, 0xab,
  4981  	0xc3, 0xdb, 0x0e, 0xe9, 0xce, 0x1b, 0x42, 0x99, 0xd7, 0x3c, 0x6e, 0x9f, 0x42, 0xfb, 0x64, 0xca,
  4982  	0x87, 0x50, 0x0d, 0xf2, 0x3a, 0xa7, 0xbc, 0x64, 0xc8, 0x29, 0x2f, 0xe5, 0x3f, 0xe5, 0xb9, 0x67,
  4983  	0xc4, 0x34, 0xbf, 0xca, 0xc4, 0x1a, 0xf2, 0x9f, 0xa4, 0xa0, 0xec, 0xd7, 0xff, 0xd7, 0x7c, 0x92,
  4984  	0x88, 0x39, 0x36, 0x5d, 0x9f, 0x39, 0x48, 0xe4, 0x7b, 0xd8, 0x7a, 0xf6, 0x5b, 0x3e, 0x47, 0x7c,
  4985  	0x9e, 0x84, 0x82, 0x3b, 0xff, 0x39, 0x85, 0x01, 0x6f, 0xf9, 0x52, 0xfe, 0x7b, 0x48, 0xbc, 0x18,
  4986  	0x91, 0x76, 0x8b, 0x11, 0xdf, 0x75, 0x33, 0xbb, 0x08, 0x90, 0xdd, 0xbf, 0xde, 0x4e, 0x6d, 0x46,
  4987  	0xe4, 0xb2, 0x7f, 0x2d, 0x3e, 0x85, 0xe6, 0x33, 0xe8, 0x0f, 0x20, 0x87, 0x3b, 0x6e, 0x99, 0xa1,
  4988  	0x1a, 0x0e, 0x7f, 0x39, 0xd4, 0x9b, 0xed, 0xc9, 0x36, 0x23, 0x56, 0x04, 0x93, 0xf8, 0xb6, 0x94,
  4989  	0xf3, 0x6d, 0xf2, 0x43, 0x2a, 0x9a, 0xd3, 0x04, 0xfd, 0x74, 0x15, 0xe0, 0xd9, 0xe1, 0xd3, 0xa3,
  4990  	0xbd, 0xfd, 0x47, 0xfb, 0xcd, 0x3d, 0x91, 0xde, 0xed, 0xed, 0x35, 0xf7, 0xa4, 0x14, 0xa5, 0x53,
  4991  	0x9a, 0x4f, 0x8f, 0x4e, 0x9b, 0x7b, 0x52, 0x5a, 0xde, 0x85, 0x92, 0x53, 0x07, 0xc3, 0x43, 0x0b,
  4992  	0xdd, 0x80, 0xe2, 0x10, 0x07, 0xef, 0x4d, 0x15, 0x86, 0x58, 0xdc, 0x9a, 0xba, 0x06, 0x79, 0xfa,
  4993  	0xb2, 0x87, 0x2d, 0xa7, 0x78, 0x3d, 0xc4, 0x93, 0xef, 0x63, 0x4b, 0xfe, 0x8b, 0x14, 0xd4, 0xa6,
  4994  	0x3c, 0x19, 0xba, 0x07, 0x59, 0x8e, 0xcf, 0x45, 0x5c, 0xeb, 0xf7, 0x8d, 0xac, 0x70, 0x6a, 0xf4,
  4995  	0x10, 0x0a, 0x4e, 0xb5, 0x70, 0xce, 0x19, 0x8c, 0x3b, 0x4e, 0xa7, 0xd2, 0x24, 0xb8, 0x5d, 0x26,
  4996  	0xb4, 0x03, 0x45, 0xd7, 0x39, 0x47, 0xde, 0x88, 0x74, 0x3d, 0xbb, 0x10, 0xe1, 0xb1, 0xa1, 0x8f,
  4997  	0x3d, 0xa4, 0x2c, 0x13, 0x5a, 0x58, 0x10, 0x12, 0x38, 0x8d, 0xe0, 0x77, 0x58, 0xe4, 0x07, 0x50,
  4998  	0x74, 0x65, 0xa3, 0x3a, 0xe4, 0x9d, 0xe2, 0x6d, 0x52, 0x38, 0x6e, 0x51, 0xb4, 0x5d, 0x83, 0xac,
  4999  	0xa1, 0x7f, 0x26, 0xee, 0xb5, 0xa5, 0x15, 0xde, 0x90, 0x7b, 0x50, 0x9b, 0x0a, 0x39, 0xe8, 0xbb,
  5000  	0x90, 0x37, 0xc6, 0x67, 0xaa, 0xe3, 0x10, 0x66, 0xd7, 0xd2, 0x01, 0x72, 0xc6, 0x67, 0x03, 0xad,
  5001  	0xf3, 0x84, 0x5c, 0x3a, 0xfa, 0x67, 0x8c, 0xcf, 0x9e, 0x70, 0xd7, 0xc1, 0x07, 0x4a, 0xf9, 0x07,
  5002  	0xba, 0x84, 0x82, 0xe3, 0x0c, 0xd1, 0xb6, 0x7f, 0xcd, 0xf8, 0x18, 0x6f, 0x46, 0x06, 0x43, 0x31,
  5003  	0x82, 0x6f, 0xc9, 0xee, 0xc0, 0x8a, 0xa5, 0xf5, 0x46, 0x4e, 0xd1, 0x9f, 0x6f, 0x3d, 0x2f, 0xdb,
  5004  	0xd5, 0xf8, 0x8b, 0x03, 0x07, 0xf9, 0xa3, 0x69, 0x8d, 0x34, 0xed, 0x90, 0x7f, 0xcb, 0xdf, 0x10,
  5005  	0x92, 0x81, 0xa5, 0xc3, 0x32, 0xb0, 0x3f, 0x4f, 0x41, 0xc9, 0x77, 0x8f, 0x00, 0xfd, 0xbe, 0x2f,
  5006  	0x40, 0x54, 0xc3, 0x33, 0x06, 0x1f, 0xb9, 0x77, 0x0f, 0x34, 0x38, 0xbd, 0xd4, 0x57, 0x9a, 0xde,
  5007  	0xbc, 0x2b, 0x1c, 0xce, 0xa5, 0x84, 0xcc, 0xd2, 0x97, 0x12, 0xde, 0x03, 0xc4, 0xca, 0xe9, 0xea,
  5008  	0x85, 0x6e, 0x6b, 0xa3, 0x9e, 0xca, 0xd5, 0x84, 0x7b, 0x74, 0x89, 0xbd, 0x39, 0x65, 0x2f, 0x8e,
  5009  	0x99, 0xc6, 0xfc, 0x59, 0x0a, 0x0a, 0x8e, 0xd9, 0xfd, 0xbf, 0x5e, 0x88, 0x3f, 0x4d, 0x42, 0xc1,
  5010  	0xc5, 0x3c, 0x96, 0xbd, 0x2e, 0x7b, 0x15, 0x72, 0xe2, 0x40, 0xcf, 0xef, 0xcb, 0x8a, 0x56, 0xe8,
  5011  	0x35, 0x94, 0x06, 0x14, 0x86, 0xc4, 0xc6, 0x2c, 0x4e, 0xf3, 0xb4, 0xcf, 0x6d, 0xdf, 0xf9, 0x08,
  5012  	0x4a, 0xbe, 0xdb, 0xc6, 0x34, 0x74, 0x1f, 0x36, 0x3f, 0x91, 0x12, 0x8d, 0xfc, 0xcf, 0x7f, 0xb1,
  5013  	0x91, 0x3e, 0x24, 0x9f, 0x51, 0xcf, 0xa3, 0x34, 0x77, 0x5b, 0xcd, 0xdd, 0x27, 0x52, 0xb2, 0x51,
  5014  	0xfa, 0xf9, 0x2f, 0x36, 0xf2, 0x0a, 0x61, 0x85, 0xd3, 0x3b, 0x4f, 0xa0, 0x36, 0xb5, 0x37, 0xc1,
  5015  	0xd8, 0x81, 0xa0, 0xba, 0xf7, 0xec, 0xf8, 0x60, 0x7f, 0x77, 0xbb, 0xdd, 0x54, 0x4f, 0x8f, 0xda,
  5016  	0x4d, 0x29, 0x89, 0xae, 0xc1, 0xea, 0xc1, 0xfe, 0xf7, 0x5b, 0x6d, 0x75, 0xf7, 0x60, 0xbf, 0x79,
  5017  	0xd8, 0x56, 0xb7, 0xdb, 0xed, 0xed, 0xdd, 0x27, 0x52, 0xea, 0xee, 0x7f, 0x95, 0xa1, 0xb6, 0xbd,
  5018  	0xb3, 0xbb, 0xbf, 0x6d, 0x18, 0x03, 0xad, 0x83, 0x59, 0x24, 0xda, 0x87, 0x0c, 0xab, 0x60, 0xc4,
  5019  	0xfd, 0xcb, 0xd5, 0x88, 0x2d, 0x91, 0xa3, 0x03, 0xc8, 0xb2, 0x12, 0x07, 0x8a, 0xfd, 0xbf, 0xab,
  5020  	0x11, 0x5f, 0x36, 0xa7, 0x1f, 0xc6, 0x9c, 0x4d, 0xdc, 0x3f, 0x5f, 0x8d, 0xd8, 0x42, 0x3a, 0x52,
  5021  	0x20, 0xef, 0x20, 0xd0, 0x0b, 0xfc, 0x85, 0xd5, 0x58, 0xa4, 0xb4, 0x4d, 0x27, 0xcb, 0xab, 0x06,
  5022  	0xb1, 0x3f, 0x85, 0x35, 0xe2, 0x0b, 0xed, 0xe8, 0x08, 0x72, 0x02, 0x2b, 0x8c, 0xff, 0xcf, 0xab,
  5023  	0xb1, 0x40, 0xe9, 0x1c, 0x3d, 0x87, 0xa2, 0x57, 0xa1, 0x59, 0xe8, 0xcf, 0xb7, 0xc6, 0x62, 0x57,
  5024  	0x0a, 0x50, 0x17, 0x2a, 0x41, 0x7c, 0x72, 0xe1, 0x9f, 0xca, 0x1a, 0x8b, 0x57, 0xeb, 0xe9, 0x28,
  5025  	0x41, 0xbc, 0x72, 0xe1, 0xff, 0xcc, 0x1a, 0x8b, 0xd7, 0xef, 0x91, 0x01, 0x2b, 0xb3, 0x90, 0xe2,
  5026  	0x52, 0x7f, 0x9e, 0x35, 0x96, 0x2b, 0xea, 0x23, 0x0b, 0x50, 0x08, 0x20, 0xb9, 0xdc, 0xbf, 0x68,
  5027  	0x8d, 0x25, 0xcb, 0xfc, 0xe8, 0x27, 0x50, 0x9b, 0xc6, 0xf9, 0x96, 0xf8, 0x3d, 0xad, 0xb1, 0x4c,
  5028  	0xd5, 0x9f, 0x8f, 0x15, 0x84, 0xbb, 0x96, 0xf8, 0x63, 0xad, 0xb1, 0xcc, 0x3d, 0x00, 0xf4, 0x43,
  5029  	0x00, 0x3f, 0x50, 0xb3, 0xd0, 0x4f, 0x6c, 0x8d, 0x05, 0x2f, 0x05, 0xa0, 0x0b, 0x58, 0x0d, 0xc3,
  5030  	0x71, 0x96, 0xfc, 0xad, 0xad, 0xb1, 0xec, 0x75, 0x01, 0xaa, 0xf9, 0x41, 0x50, 0x66, 0xe1, 0x3f,
  5031  	0xdd, 0x1a, 0x8b, 0x5f, 0x1d, 0xa0, 0x4b, 0xe7, 0x41, 0x10, 0x68, 0xb1, 0xff, 0xc4, 0x1a, 0x0b,
  5032  	0x56, 0xdc, 0x77, 0xf6, 0x7f, 0xf5, 0x72, 0x3d, 0xf9, 0xeb, 0x97, 0xeb, 0xc9, 0xff, 0x78, 0xb9,
  5033  	0x9e, 0xfc, 0xe2, 0xcb, 0xf5, 0xc4, 0xaf, 0xbf, 0x5c, 0x4f, 0xfc, 0xdb, 0x97, 0xeb, 0x89, 0x3f,
  5034  	0xda, 0xea, 0x69, 0x76, 0x7f, 0x7c, 0xb6, 0xd9, 0xd1, 0x87, 0x5b, 0xd8, 0xd4, 0xde, 0xc7, 0xa3,
  5035  	0x4e, 0x5f, 0x37, 0xb7, 0x2c, 0xa2, 0xbd, 0x1f, 0xfa, 0x1f, 0xf5, 0x59, 0x8e, 0x65, 0x04, 0x1f,
  5036  	0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xee, 0xda, 0x1e, 0x9f, 0x67, 0x3d, 0x00, 0x00,
  5037  }
  5038  
  5039  // Reference imports to suppress errors if they are not otherwise used.
  5040  var _ context.Context
  5041  var _ grpc.ClientConn
  5042  
  5043  // This is a compile-time assertion to ensure that this generated file
  5044  // is compatible with the grpc package it is being compiled against.
  5045  const _ = grpc.SupportPackageIsVersion4
  5046  
  5047  // ABCIApplicationClient is the client API for ABCIApplication service.
  5048  //
  5049  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  5050  type ABCIApplicationClient interface {
  5051  	Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error)
  5052  	Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error)
  5053  	Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error)
  5054  	CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error)
  5055  	Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error)
  5056  	Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error)
  5057  	InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error)
  5058  	ListSnapshots(ctx context.Context, in *RequestListSnapshots, opts ...grpc.CallOption) (*ResponseListSnapshots, error)
  5059  	OfferSnapshot(ctx context.Context, in *RequestOfferSnapshot, opts ...grpc.CallOption) (*ResponseOfferSnapshot, error)
  5060  	LoadSnapshotChunk(ctx context.Context, in *RequestLoadSnapshotChunk, opts ...grpc.CallOption) (*ResponseLoadSnapshotChunk, error)
  5061  	ApplySnapshotChunk(ctx context.Context, in *RequestApplySnapshotChunk, opts ...grpc.CallOption) (*ResponseApplySnapshotChunk, error)
  5062  	PrepareProposal(ctx context.Context, in *RequestPrepareProposal, opts ...grpc.CallOption) (*ResponsePrepareProposal, error)
  5063  	ProcessProposal(ctx context.Context, in *RequestProcessProposal, opts ...grpc.CallOption) (*ResponseProcessProposal, error)
  5064  	ExtendVote(ctx context.Context, in *RequestExtendVote, opts ...grpc.CallOption) (*ResponseExtendVote, error)
  5065  	VerifyVoteExtension(ctx context.Context, in *RequestVerifyVoteExtension, opts ...grpc.CallOption) (*ResponseVerifyVoteExtension, error)
  5066  	FinalizeBlock(ctx context.Context, in *RequestFinalizeBlock, opts ...grpc.CallOption) (*ResponseFinalizeBlock, error)
  5067  	LoadLatest(ctx context.Context, in *RequestLoadLatest, opts ...grpc.CallOption) (*ResponseLoadLatest, error)
  5068  }
  5069  
  5070  type aBCIApplicationClient struct {
  5071  	cc *grpc.ClientConn
  5072  }
  5073  
  5074  func NewABCIApplicationClient(cc *grpc.ClientConn) ABCIApplicationClient {
  5075  	return &aBCIApplicationClient{cc}
  5076  }
  5077  
  5078  func (c *aBCIApplicationClient) Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error) {
  5079  	out := new(ResponseEcho)
  5080  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/Echo", in, out, opts...)
  5081  	if err != nil {
  5082  		return nil, err
  5083  	}
  5084  	return out, nil
  5085  }
  5086  
  5087  func (c *aBCIApplicationClient) Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error) {
  5088  	out := new(ResponseFlush)
  5089  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/Flush", in, out, opts...)
  5090  	if err != nil {
  5091  		return nil, err
  5092  	}
  5093  	return out, nil
  5094  }
  5095  
  5096  func (c *aBCIApplicationClient) Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error) {
  5097  	out := new(ResponseInfo)
  5098  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/Info", in, out, opts...)
  5099  	if err != nil {
  5100  		return nil, err
  5101  	}
  5102  	return out, nil
  5103  }
  5104  
  5105  func (c *aBCIApplicationClient) CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error) {
  5106  	out := new(ResponseCheckTx)
  5107  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/CheckTx", in, out, opts...)
  5108  	if err != nil {
  5109  		return nil, err
  5110  	}
  5111  	return out, nil
  5112  }
  5113  
  5114  func (c *aBCIApplicationClient) Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error) {
  5115  	out := new(ResponseQuery)
  5116  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/Query", in, out, opts...)
  5117  	if err != nil {
  5118  		return nil, err
  5119  	}
  5120  	return out, nil
  5121  }
  5122  
  5123  func (c *aBCIApplicationClient) Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error) {
  5124  	out := new(ResponseCommit)
  5125  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/Commit", in, out, opts...)
  5126  	if err != nil {
  5127  		return nil, err
  5128  	}
  5129  	return out, nil
  5130  }
  5131  
  5132  func (c *aBCIApplicationClient) InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error) {
  5133  	out := new(ResponseInitChain)
  5134  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/InitChain", in, out, opts...)
  5135  	if err != nil {
  5136  		return nil, err
  5137  	}
  5138  	return out, nil
  5139  }
  5140  
  5141  func (c *aBCIApplicationClient) ListSnapshots(ctx context.Context, in *RequestListSnapshots, opts ...grpc.CallOption) (*ResponseListSnapshots, error) {
  5142  	out := new(ResponseListSnapshots)
  5143  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/ListSnapshots", in, out, opts...)
  5144  	if err != nil {
  5145  		return nil, err
  5146  	}
  5147  	return out, nil
  5148  }
  5149  
  5150  func (c *aBCIApplicationClient) OfferSnapshot(ctx context.Context, in *RequestOfferSnapshot, opts ...grpc.CallOption) (*ResponseOfferSnapshot, error) {
  5151  	out := new(ResponseOfferSnapshot)
  5152  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/OfferSnapshot", in, out, opts...)
  5153  	if err != nil {
  5154  		return nil, err
  5155  	}
  5156  	return out, nil
  5157  }
  5158  
  5159  func (c *aBCIApplicationClient) LoadSnapshotChunk(ctx context.Context, in *RequestLoadSnapshotChunk, opts ...grpc.CallOption) (*ResponseLoadSnapshotChunk, error) {
  5160  	out := new(ResponseLoadSnapshotChunk)
  5161  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/LoadSnapshotChunk", in, out, opts...)
  5162  	if err != nil {
  5163  		return nil, err
  5164  	}
  5165  	return out, nil
  5166  }
  5167  
  5168  func (c *aBCIApplicationClient) ApplySnapshotChunk(ctx context.Context, in *RequestApplySnapshotChunk, opts ...grpc.CallOption) (*ResponseApplySnapshotChunk, error) {
  5169  	out := new(ResponseApplySnapshotChunk)
  5170  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/ApplySnapshotChunk", in, out, opts...)
  5171  	if err != nil {
  5172  		return nil, err
  5173  	}
  5174  	return out, nil
  5175  }
  5176  
  5177  func (c *aBCIApplicationClient) PrepareProposal(ctx context.Context, in *RequestPrepareProposal, opts ...grpc.CallOption) (*ResponsePrepareProposal, error) {
  5178  	out := new(ResponsePrepareProposal)
  5179  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/PrepareProposal", in, out, opts...)
  5180  	if err != nil {
  5181  		return nil, err
  5182  	}
  5183  	return out, nil
  5184  }
  5185  
  5186  func (c *aBCIApplicationClient) ProcessProposal(ctx context.Context, in *RequestProcessProposal, opts ...grpc.CallOption) (*ResponseProcessProposal, error) {
  5187  	out := new(ResponseProcessProposal)
  5188  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/ProcessProposal", in, out, opts...)
  5189  	if err != nil {
  5190  		return nil, err
  5191  	}
  5192  	return out, nil
  5193  }
  5194  
  5195  func (c *aBCIApplicationClient) ExtendVote(ctx context.Context, in *RequestExtendVote, opts ...grpc.CallOption) (*ResponseExtendVote, error) {
  5196  	out := new(ResponseExtendVote)
  5197  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/ExtendVote", in, out, opts...)
  5198  	if err != nil {
  5199  		return nil, err
  5200  	}
  5201  	return out, nil
  5202  }
  5203  
  5204  func (c *aBCIApplicationClient) VerifyVoteExtension(ctx context.Context, in *RequestVerifyVoteExtension, opts ...grpc.CallOption) (*ResponseVerifyVoteExtension, error) {
  5205  	out := new(ResponseVerifyVoteExtension)
  5206  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/VerifyVoteExtension", in, out, opts...)
  5207  	if err != nil {
  5208  		return nil, err
  5209  	}
  5210  	return out, nil
  5211  }
  5212  
  5213  func (c *aBCIApplicationClient) FinalizeBlock(ctx context.Context, in *RequestFinalizeBlock, opts ...grpc.CallOption) (*ResponseFinalizeBlock, error) {
  5214  	out := new(ResponseFinalizeBlock)
  5215  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/FinalizeBlock", in, out, opts...)
  5216  	if err != nil {
  5217  		return nil, err
  5218  	}
  5219  	return out, nil
  5220  }
  5221  
  5222  func (c *aBCIApplicationClient) LoadLatest(ctx context.Context, in *RequestLoadLatest, opts ...grpc.CallOption) (*ResponseLoadLatest, error) {
  5223  	out := new(ResponseLoadLatest)
  5224  	err := c.cc.Invoke(ctx, "/seitendermint.abci.ABCIApplication/LoadLatest", in, out, opts...)
  5225  	if err != nil {
  5226  		return nil, err
  5227  	}
  5228  	return out, nil
  5229  }
  5230  
  5231  // ABCIApplicationServer is the server API for ABCIApplication service.
  5232  type ABCIApplicationServer interface {
  5233  	Echo(context.Context, *RequestEcho) (*ResponseEcho, error)
  5234  	Flush(context.Context, *RequestFlush) (*ResponseFlush, error)
  5235  	Info(context.Context, *RequestInfo) (*ResponseInfo, error)
  5236  	CheckTx(context.Context, *RequestCheckTx) (*ResponseCheckTx, error)
  5237  	Query(context.Context, *RequestQuery) (*ResponseQuery, error)
  5238  	Commit(context.Context, *RequestCommit) (*ResponseCommit, error)
  5239  	InitChain(context.Context, *RequestInitChain) (*ResponseInitChain, error)
  5240  	ListSnapshots(context.Context, *RequestListSnapshots) (*ResponseListSnapshots, error)
  5241  	OfferSnapshot(context.Context, *RequestOfferSnapshot) (*ResponseOfferSnapshot, error)
  5242  	LoadSnapshotChunk(context.Context, *RequestLoadSnapshotChunk) (*ResponseLoadSnapshotChunk, error)
  5243  	ApplySnapshotChunk(context.Context, *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error)
  5244  	PrepareProposal(context.Context, *RequestPrepareProposal) (*ResponsePrepareProposal, error)
  5245  	ProcessProposal(context.Context, *RequestProcessProposal) (*ResponseProcessProposal, error)
  5246  	ExtendVote(context.Context, *RequestExtendVote) (*ResponseExtendVote, error)
  5247  	VerifyVoteExtension(context.Context, *RequestVerifyVoteExtension) (*ResponseVerifyVoteExtension, error)
  5248  	FinalizeBlock(context.Context, *RequestFinalizeBlock) (*ResponseFinalizeBlock, error)
  5249  	LoadLatest(context.Context, *RequestLoadLatest) (*ResponseLoadLatest, error)
  5250  }
  5251  
  5252  // UnimplementedABCIApplicationServer can be embedded to have forward compatible implementations.
  5253  type UnimplementedABCIApplicationServer struct {
  5254  }
  5255  
  5256  func (*UnimplementedABCIApplicationServer) Echo(ctx context.Context, req *RequestEcho) (*ResponseEcho, error) {
  5257  	return nil, status.Errorf(codes.Unimplemented, "method Echo not implemented")
  5258  }
  5259  func (*UnimplementedABCIApplicationServer) Flush(ctx context.Context, req *RequestFlush) (*ResponseFlush, error) {
  5260  	return nil, status.Errorf(codes.Unimplemented, "method Flush not implemented")
  5261  }
  5262  func (*UnimplementedABCIApplicationServer) Info(ctx context.Context, req *RequestInfo) (*ResponseInfo, error) {
  5263  	return nil, status.Errorf(codes.Unimplemented, "method Info not implemented")
  5264  }
  5265  func (*UnimplementedABCIApplicationServer) CheckTx(ctx context.Context, req *RequestCheckTx) (*ResponseCheckTx, error) {
  5266  	return nil, status.Errorf(codes.Unimplemented, "method CheckTx not implemented")
  5267  }
  5268  func (*UnimplementedABCIApplicationServer) Query(ctx context.Context, req *RequestQuery) (*ResponseQuery, error) {
  5269  	return nil, status.Errorf(codes.Unimplemented, "method Query not implemented")
  5270  }
  5271  func (*UnimplementedABCIApplicationServer) Commit(ctx context.Context, req *RequestCommit) (*ResponseCommit, error) {
  5272  	return nil, status.Errorf(codes.Unimplemented, "method Commit not implemented")
  5273  }
  5274  func (*UnimplementedABCIApplicationServer) InitChain(ctx context.Context, req *RequestInitChain) (*ResponseInitChain, error) {
  5275  	return nil, status.Errorf(codes.Unimplemented, "method InitChain not implemented")
  5276  }
  5277  func (*UnimplementedABCIApplicationServer) ListSnapshots(ctx context.Context, req *RequestListSnapshots) (*ResponseListSnapshots, error) {
  5278  	return nil, status.Errorf(codes.Unimplemented, "method ListSnapshots not implemented")
  5279  }
  5280  func (*UnimplementedABCIApplicationServer) OfferSnapshot(ctx context.Context, req *RequestOfferSnapshot) (*ResponseOfferSnapshot, error) {
  5281  	return nil, status.Errorf(codes.Unimplemented, "method OfferSnapshot not implemented")
  5282  }
  5283  func (*UnimplementedABCIApplicationServer) LoadSnapshotChunk(ctx context.Context, req *RequestLoadSnapshotChunk) (*ResponseLoadSnapshotChunk, error) {
  5284  	return nil, status.Errorf(codes.Unimplemented, "method LoadSnapshotChunk not implemented")
  5285  }
  5286  func (*UnimplementedABCIApplicationServer) ApplySnapshotChunk(ctx context.Context, req *RequestApplySnapshotChunk) (*ResponseApplySnapshotChunk, error) {
  5287  	return nil, status.Errorf(codes.Unimplemented, "method ApplySnapshotChunk not implemented")
  5288  }
  5289  func (*UnimplementedABCIApplicationServer) PrepareProposal(ctx context.Context, req *RequestPrepareProposal) (*ResponsePrepareProposal, error) {
  5290  	return nil, status.Errorf(codes.Unimplemented, "method PrepareProposal not implemented")
  5291  }
  5292  func (*UnimplementedABCIApplicationServer) ProcessProposal(ctx context.Context, req *RequestProcessProposal) (*ResponseProcessProposal, error) {
  5293  	return nil, status.Errorf(codes.Unimplemented, "method ProcessProposal not implemented")
  5294  }
  5295  func (*UnimplementedABCIApplicationServer) ExtendVote(ctx context.Context, req *RequestExtendVote) (*ResponseExtendVote, error) {
  5296  	return nil, status.Errorf(codes.Unimplemented, "method ExtendVote not implemented")
  5297  }
  5298  func (*UnimplementedABCIApplicationServer) VerifyVoteExtension(ctx context.Context, req *RequestVerifyVoteExtension) (*ResponseVerifyVoteExtension, error) {
  5299  	return nil, status.Errorf(codes.Unimplemented, "method VerifyVoteExtension not implemented")
  5300  }
  5301  func (*UnimplementedABCIApplicationServer) FinalizeBlock(ctx context.Context, req *RequestFinalizeBlock) (*ResponseFinalizeBlock, error) {
  5302  	return nil, status.Errorf(codes.Unimplemented, "method FinalizeBlock not implemented")
  5303  }
  5304  func (*UnimplementedABCIApplicationServer) LoadLatest(ctx context.Context, req *RequestLoadLatest) (*ResponseLoadLatest, error) {
  5305  	return nil, status.Errorf(codes.Unimplemented, "method LoadLatest not implemented")
  5306  }
  5307  
  5308  func RegisterABCIApplicationServer(s *grpc.Server, srv ABCIApplicationServer) {
  5309  	s.RegisterService(&_ABCIApplication_serviceDesc, srv)
  5310  }
  5311  
  5312  func _ABCIApplication_Echo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5313  	in := new(RequestEcho)
  5314  	if err := dec(in); err != nil {
  5315  		return nil, err
  5316  	}
  5317  	if interceptor == nil {
  5318  		return srv.(ABCIApplicationServer).Echo(ctx, in)
  5319  	}
  5320  	info := &grpc.UnaryServerInfo{
  5321  		Server:     srv,
  5322  		FullMethod: "/seitendermint.abci.ABCIApplication/Echo",
  5323  	}
  5324  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5325  		return srv.(ABCIApplicationServer).Echo(ctx, req.(*RequestEcho))
  5326  	}
  5327  	return interceptor(ctx, in, info, handler)
  5328  }
  5329  
  5330  func _ABCIApplication_Flush_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5331  	in := new(RequestFlush)
  5332  	if err := dec(in); err != nil {
  5333  		return nil, err
  5334  	}
  5335  	if interceptor == nil {
  5336  		return srv.(ABCIApplicationServer).Flush(ctx, in)
  5337  	}
  5338  	info := &grpc.UnaryServerInfo{
  5339  		Server:     srv,
  5340  		FullMethod: "/seitendermint.abci.ABCIApplication/Flush",
  5341  	}
  5342  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5343  		return srv.(ABCIApplicationServer).Flush(ctx, req.(*RequestFlush))
  5344  	}
  5345  	return interceptor(ctx, in, info, handler)
  5346  }
  5347  
  5348  func _ABCIApplication_Info_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5349  	in := new(RequestInfo)
  5350  	if err := dec(in); err != nil {
  5351  		return nil, err
  5352  	}
  5353  	if interceptor == nil {
  5354  		return srv.(ABCIApplicationServer).Info(ctx, in)
  5355  	}
  5356  	info := &grpc.UnaryServerInfo{
  5357  		Server:     srv,
  5358  		FullMethod: "/seitendermint.abci.ABCIApplication/Info",
  5359  	}
  5360  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5361  		return srv.(ABCIApplicationServer).Info(ctx, req.(*RequestInfo))
  5362  	}
  5363  	return interceptor(ctx, in, info, handler)
  5364  }
  5365  
  5366  func _ABCIApplication_CheckTx_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5367  	in := new(RequestCheckTx)
  5368  	if err := dec(in); err != nil {
  5369  		return nil, err
  5370  	}
  5371  	if interceptor == nil {
  5372  		return srv.(ABCIApplicationServer).CheckTx(ctx, in)
  5373  	}
  5374  	info := &grpc.UnaryServerInfo{
  5375  		Server:     srv,
  5376  		FullMethod: "/seitendermint.abci.ABCIApplication/CheckTx",
  5377  	}
  5378  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5379  		return srv.(ABCIApplicationServer).CheckTx(ctx, req.(*RequestCheckTx))
  5380  	}
  5381  	return interceptor(ctx, in, info, handler)
  5382  }
  5383  
  5384  func _ABCIApplication_Query_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5385  	in := new(RequestQuery)
  5386  	if err := dec(in); err != nil {
  5387  		return nil, err
  5388  	}
  5389  	if interceptor == nil {
  5390  		return srv.(ABCIApplicationServer).Query(ctx, in)
  5391  	}
  5392  	info := &grpc.UnaryServerInfo{
  5393  		Server:     srv,
  5394  		FullMethod: "/seitendermint.abci.ABCIApplication/Query",
  5395  	}
  5396  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5397  		return srv.(ABCIApplicationServer).Query(ctx, req.(*RequestQuery))
  5398  	}
  5399  	return interceptor(ctx, in, info, handler)
  5400  }
  5401  
  5402  func _ABCIApplication_Commit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5403  	in := new(RequestCommit)
  5404  	if err := dec(in); err != nil {
  5405  		return nil, err
  5406  	}
  5407  	if interceptor == nil {
  5408  		return srv.(ABCIApplicationServer).Commit(ctx, in)
  5409  	}
  5410  	info := &grpc.UnaryServerInfo{
  5411  		Server:     srv,
  5412  		FullMethod: "/seitendermint.abci.ABCIApplication/Commit",
  5413  	}
  5414  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5415  		return srv.(ABCIApplicationServer).Commit(ctx, req.(*RequestCommit))
  5416  	}
  5417  	return interceptor(ctx, in, info, handler)
  5418  }
  5419  
  5420  func _ABCIApplication_InitChain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5421  	in := new(RequestInitChain)
  5422  	if err := dec(in); err != nil {
  5423  		return nil, err
  5424  	}
  5425  	if interceptor == nil {
  5426  		return srv.(ABCIApplicationServer).InitChain(ctx, in)
  5427  	}
  5428  	info := &grpc.UnaryServerInfo{
  5429  		Server:     srv,
  5430  		FullMethod: "/seitendermint.abci.ABCIApplication/InitChain",
  5431  	}
  5432  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5433  		return srv.(ABCIApplicationServer).InitChain(ctx, req.(*RequestInitChain))
  5434  	}
  5435  	return interceptor(ctx, in, info, handler)
  5436  }
  5437  
  5438  func _ABCIApplication_ListSnapshots_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5439  	in := new(RequestListSnapshots)
  5440  	if err := dec(in); err != nil {
  5441  		return nil, err
  5442  	}
  5443  	if interceptor == nil {
  5444  		return srv.(ABCIApplicationServer).ListSnapshots(ctx, in)
  5445  	}
  5446  	info := &grpc.UnaryServerInfo{
  5447  		Server:     srv,
  5448  		FullMethod: "/seitendermint.abci.ABCIApplication/ListSnapshots",
  5449  	}
  5450  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5451  		return srv.(ABCIApplicationServer).ListSnapshots(ctx, req.(*RequestListSnapshots))
  5452  	}
  5453  	return interceptor(ctx, in, info, handler)
  5454  }
  5455  
  5456  func _ABCIApplication_OfferSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5457  	in := new(RequestOfferSnapshot)
  5458  	if err := dec(in); err != nil {
  5459  		return nil, err
  5460  	}
  5461  	if interceptor == nil {
  5462  		return srv.(ABCIApplicationServer).OfferSnapshot(ctx, in)
  5463  	}
  5464  	info := &grpc.UnaryServerInfo{
  5465  		Server:     srv,
  5466  		FullMethod: "/seitendermint.abci.ABCIApplication/OfferSnapshot",
  5467  	}
  5468  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5469  		return srv.(ABCIApplicationServer).OfferSnapshot(ctx, req.(*RequestOfferSnapshot))
  5470  	}
  5471  	return interceptor(ctx, in, info, handler)
  5472  }
  5473  
  5474  func _ABCIApplication_LoadSnapshotChunk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5475  	in := new(RequestLoadSnapshotChunk)
  5476  	if err := dec(in); err != nil {
  5477  		return nil, err
  5478  	}
  5479  	if interceptor == nil {
  5480  		return srv.(ABCIApplicationServer).LoadSnapshotChunk(ctx, in)
  5481  	}
  5482  	info := &grpc.UnaryServerInfo{
  5483  		Server:     srv,
  5484  		FullMethod: "/seitendermint.abci.ABCIApplication/LoadSnapshotChunk",
  5485  	}
  5486  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5487  		return srv.(ABCIApplicationServer).LoadSnapshotChunk(ctx, req.(*RequestLoadSnapshotChunk))
  5488  	}
  5489  	return interceptor(ctx, in, info, handler)
  5490  }
  5491  
  5492  func _ABCIApplication_ApplySnapshotChunk_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5493  	in := new(RequestApplySnapshotChunk)
  5494  	if err := dec(in); err != nil {
  5495  		return nil, err
  5496  	}
  5497  	if interceptor == nil {
  5498  		return srv.(ABCIApplicationServer).ApplySnapshotChunk(ctx, in)
  5499  	}
  5500  	info := &grpc.UnaryServerInfo{
  5501  		Server:     srv,
  5502  		FullMethod: "/seitendermint.abci.ABCIApplication/ApplySnapshotChunk",
  5503  	}
  5504  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5505  		return srv.(ABCIApplicationServer).ApplySnapshotChunk(ctx, req.(*RequestApplySnapshotChunk))
  5506  	}
  5507  	return interceptor(ctx, in, info, handler)
  5508  }
  5509  
  5510  func _ABCIApplication_PrepareProposal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5511  	in := new(RequestPrepareProposal)
  5512  	if err := dec(in); err != nil {
  5513  		return nil, err
  5514  	}
  5515  	if interceptor == nil {
  5516  		return srv.(ABCIApplicationServer).PrepareProposal(ctx, in)
  5517  	}
  5518  	info := &grpc.UnaryServerInfo{
  5519  		Server:     srv,
  5520  		FullMethod: "/seitendermint.abci.ABCIApplication/PrepareProposal",
  5521  	}
  5522  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5523  		return srv.(ABCIApplicationServer).PrepareProposal(ctx, req.(*RequestPrepareProposal))
  5524  	}
  5525  	return interceptor(ctx, in, info, handler)
  5526  }
  5527  
  5528  func _ABCIApplication_ProcessProposal_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5529  	in := new(RequestProcessProposal)
  5530  	if err := dec(in); err != nil {
  5531  		return nil, err
  5532  	}
  5533  	if interceptor == nil {
  5534  		return srv.(ABCIApplicationServer).ProcessProposal(ctx, in)
  5535  	}
  5536  	info := &grpc.UnaryServerInfo{
  5537  		Server:     srv,
  5538  		FullMethod: "/seitendermint.abci.ABCIApplication/ProcessProposal",
  5539  	}
  5540  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5541  		return srv.(ABCIApplicationServer).ProcessProposal(ctx, req.(*RequestProcessProposal))
  5542  	}
  5543  	return interceptor(ctx, in, info, handler)
  5544  }
  5545  
  5546  func _ABCIApplication_ExtendVote_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5547  	in := new(RequestExtendVote)
  5548  	if err := dec(in); err != nil {
  5549  		return nil, err
  5550  	}
  5551  	if interceptor == nil {
  5552  		return srv.(ABCIApplicationServer).ExtendVote(ctx, in)
  5553  	}
  5554  	info := &grpc.UnaryServerInfo{
  5555  		Server:     srv,
  5556  		FullMethod: "/seitendermint.abci.ABCIApplication/ExtendVote",
  5557  	}
  5558  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5559  		return srv.(ABCIApplicationServer).ExtendVote(ctx, req.(*RequestExtendVote))
  5560  	}
  5561  	return interceptor(ctx, in, info, handler)
  5562  }
  5563  
  5564  func _ABCIApplication_VerifyVoteExtension_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5565  	in := new(RequestVerifyVoteExtension)
  5566  	if err := dec(in); err != nil {
  5567  		return nil, err
  5568  	}
  5569  	if interceptor == nil {
  5570  		return srv.(ABCIApplicationServer).VerifyVoteExtension(ctx, in)
  5571  	}
  5572  	info := &grpc.UnaryServerInfo{
  5573  		Server:     srv,
  5574  		FullMethod: "/seitendermint.abci.ABCIApplication/VerifyVoteExtension",
  5575  	}
  5576  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5577  		return srv.(ABCIApplicationServer).VerifyVoteExtension(ctx, req.(*RequestVerifyVoteExtension))
  5578  	}
  5579  	return interceptor(ctx, in, info, handler)
  5580  }
  5581  
  5582  func _ABCIApplication_FinalizeBlock_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5583  	in := new(RequestFinalizeBlock)
  5584  	if err := dec(in); err != nil {
  5585  		return nil, err
  5586  	}
  5587  	if interceptor == nil {
  5588  		return srv.(ABCIApplicationServer).FinalizeBlock(ctx, in)
  5589  	}
  5590  	info := &grpc.UnaryServerInfo{
  5591  		Server:     srv,
  5592  		FullMethod: "/seitendermint.abci.ABCIApplication/FinalizeBlock",
  5593  	}
  5594  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5595  		return srv.(ABCIApplicationServer).FinalizeBlock(ctx, req.(*RequestFinalizeBlock))
  5596  	}
  5597  	return interceptor(ctx, in, info, handler)
  5598  }
  5599  
  5600  func _ABCIApplication_LoadLatest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  5601  	in := new(RequestLoadLatest)
  5602  	if err := dec(in); err != nil {
  5603  		return nil, err
  5604  	}
  5605  	if interceptor == nil {
  5606  		return srv.(ABCIApplicationServer).LoadLatest(ctx, in)
  5607  	}
  5608  	info := &grpc.UnaryServerInfo{
  5609  		Server:     srv,
  5610  		FullMethod: "/seitendermint.abci.ABCIApplication/LoadLatest",
  5611  	}
  5612  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  5613  		return srv.(ABCIApplicationServer).LoadLatest(ctx, req.(*RequestLoadLatest))
  5614  	}
  5615  	return interceptor(ctx, in, info, handler)
  5616  }
  5617  
  5618  var _ABCIApplication_serviceDesc = grpc.ServiceDesc{
  5619  	ServiceName: "seitendermint.abci.ABCIApplication",
  5620  	HandlerType: (*ABCIApplicationServer)(nil),
  5621  	Methods: []grpc.MethodDesc{
  5622  		{
  5623  			MethodName: "Echo",
  5624  			Handler:    _ABCIApplication_Echo_Handler,
  5625  		},
  5626  		{
  5627  			MethodName: "Flush",
  5628  			Handler:    _ABCIApplication_Flush_Handler,
  5629  		},
  5630  		{
  5631  			MethodName: "Info",
  5632  			Handler:    _ABCIApplication_Info_Handler,
  5633  		},
  5634  		{
  5635  			MethodName: "CheckTx",
  5636  			Handler:    _ABCIApplication_CheckTx_Handler,
  5637  		},
  5638  		{
  5639  			MethodName: "Query",
  5640  			Handler:    _ABCIApplication_Query_Handler,
  5641  		},
  5642  		{
  5643  			MethodName: "Commit",
  5644  			Handler:    _ABCIApplication_Commit_Handler,
  5645  		},
  5646  		{
  5647  			MethodName: "InitChain",
  5648  			Handler:    _ABCIApplication_InitChain_Handler,
  5649  		},
  5650  		{
  5651  			MethodName: "ListSnapshots",
  5652  			Handler:    _ABCIApplication_ListSnapshots_Handler,
  5653  		},
  5654  		{
  5655  			MethodName: "OfferSnapshot",
  5656  			Handler:    _ABCIApplication_OfferSnapshot_Handler,
  5657  		},
  5658  		{
  5659  			MethodName: "LoadSnapshotChunk",
  5660  			Handler:    _ABCIApplication_LoadSnapshotChunk_Handler,
  5661  		},
  5662  		{
  5663  			MethodName: "ApplySnapshotChunk",
  5664  			Handler:    _ABCIApplication_ApplySnapshotChunk_Handler,
  5665  		},
  5666  		{
  5667  			MethodName: "PrepareProposal",
  5668  			Handler:    _ABCIApplication_PrepareProposal_Handler,
  5669  		},
  5670  		{
  5671  			MethodName: "ProcessProposal",
  5672  			Handler:    _ABCIApplication_ProcessProposal_Handler,
  5673  		},
  5674  		{
  5675  			MethodName: "ExtendVote",
  5676  			Handler:    _ABCIApplication_ExtendVote_Handler,
  5677  		},
  5678  		{
  5679  			MethodName: "VerifyVoteExtension",
  5680  			Handler:    _ABCIApplication_VerifyVoteExtension_Handler,
  5681  		},
  5682  		{
  5683  			MethodName: "FinalizeBlock",
  5684  			Handler:    _ABCIApplication_FinalizeBlock_Handler,
  5685  		},
  5686  		{
  5687  			MethodName: "LoadLatest",
  5688  			Handler:    _ABCIApplication_LoadLatest_Handler,
  5689  		},
  5690  	},
  5691  	Streams:  []grpc.StreamDesc{},
  5692  	Metadata: "tendermint/abci/types.proto",
  5693  }
  5694  
  5695  func (m *Request) Marshal() (dAtA []byte, err error) {
  5696  	size := m.Size()
  5697  	dAtA = make([]byte, size)
  5698  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  5699  	if err != nil {
  5700  		return nil, err
  5701  	}
  5702  	return dAtA[:n], nil
  5703  }
  5704  
  5705  func (m *Request) MarshalTo(dAtA []byte) (int, error) {
  5706  	size := m.Size()
  5707  	return m.MarshalToSizedBuffer(dAtA[:size])
  5708  }
  5709  
  5710  func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5711  	i := len(dAtA)
  5712  	_ = i
  5713  	var l int
  5714  	_ = l
  5715  	if m.Value != nil {
  5716  		{
  5717  			size := m.Value.Size()
  5718  			i -= size
  5719  			if _, err := m.Value.MarshalTo(dAtA[i:]); err != nil {
  5720  				return 0, err
  5721  			}
  5722  		}
  5723  	}
  5724  	return len(dAtA) - i, nil
  5725  }
  5726  
  5727  func (m *Request_Echo) MarshalTo(dAtA []byte) (int, error) {
  5728  	size := m.Size()
  5729  	return m.MarshalToSizedBuffer(dAtA[:size])
  5730  }
  5731  
  5732  func (m *Request_Echo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5733  	i := len(dAtA)
  5734  	if m.Echo != nil {
  5735  		{
  5736  			size, err := m.Echo.MarshalToSizedBuffer(dAtA[:i])
  5737  			if err != nil {
  5738  				return 0, err
  5739  			}
  5740  			i -= size
  5741  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5742  		}
  5743  		i--
  5744  		dAtA[i] = 0xa
  5745  	}
  5746  	return len(dAtA) - i, nil
  5747  }
  5748  func (m *Request_Flush) MarshalTo(dAtA []byte) (int, error) {
  5749  	size := m.Size()
  5750  	return m.MarshalToSizedBuffer(dAtA[:size])
  5751  }
  5752  
  5753  func (m *Request_Flush) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5754  	i := len(dAtA)
  5755  	if m.Flush != nil {
  5756  		{
  5757  			size, err := m.Flush.MarshalToSizedBuffer(dAtA[:i])
  5758  			if err != nil {
  5759  				return 0, err
  5760  			}
  5761  			i -= size
  5762  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5763  		}
  5764  		i--
  5765  		dAtA[i] = 0x12
  5766  	}
  5767  	return len(dAtA) - i, nil
  5768  }
  5769  func (m *Request_Info) MarshalTo(dAtA []byte) (int, error) {
  5770  	size := m.Size()
  5771  	return m.MarshalToSizedBuffer(dAtA[:size])
  5772  }
  5773  
  5774  func (m *Request_Info) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5775  	i := len(dAtA)
  5776  	if m.Info != nil {
  5777  		{
  5778  			size, err := m.Info.MarshalToSizedBuffer(dAtA[:i])
  5779  			if err != nil {
  5780  				return 0, err
  5781  			}
  5782  			i -= size
  5783  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5784  		}
  5785  		i--
  5786  		dAtA[i] = 0x1a
  5787  	}
  5788  	return len(dAtA) - i, nil
  5789  }
  5790  func (m *Request_InitChain) MarshalTo(dAtA []byte) (int, error) {
  5791  	size := m.Size()
  5792  	return m.MarshalToSizedBuffer(dAtA[:size])
  5793  }
  5794  
  5795  func (m *Request_InitChain) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5796  	i := len(dAtA)
  5797  	if m.InitChain != nil {
  5798  		{
  5799  			size, err := m.InitChain.MarshalToSizedBuffer(dAtA[:i])
  5800  			if err != nil {
  5801  				return 0, err
  5802  			}
  5803  			i -= size
  5804  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5805  		}
  5806  		i--
  5807  		dAtA[i] = 0x22
  5808  	}
  5809  	return len(dAtA) - i, nil
  5810  }
  5811  func (m *Request_Query) MarshalTo(dAtA []byte) (int, error) {
  5812  	size := m.Size()
  5813  	return m.MarshalToSizedBuffer(dAtA[:size])
  5814  }
  5815  
  5816  func (m *Request_Query) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5817  	i := len(dAtA)
  5818  	if m.Query != nil {
  5819  		{
  5820  			size, err := m.Query.MarshalToSizedBuffer(dAtA[:i])
  5821  			if err != nil {
  5822  				return 0, err
  5823  			}
  5824  			i -= size
  5825  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5826  		}
  5827  		i--
  5828  		dAtA[i] = 0x2a
  5829  	}
  5830  	return len(dAtA) - i, nil
  5831  }
  5832  func (m *Request_CheckTx) MarshalTo(dAtA []byte) (int, error) {
  5833  	size := m.Size()
  5834  	return m.MarshalToSizedBuffer(dAtA[:size])
  5835  }
  5836  
  5837  func (m *Request_CheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5838  	i := len(dAtA)
  5839  	if m.CheckTx != nil {
  5840  		{
  5841  			size, err := m.CheckTx.MarshalToSizedBuffer(dAtA[:i])
  5842  			if err != nil {
  5843  				return 0, err
  5844  			}
  5845  			i -= size
  5846  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5847  		}
  5848  		i--
  5849  		dAtA[i] = 0x3a
  5850  	}
  5851  	return len(dAtA) - i, nil
  5852  }
  5853  func (m *Request_Commit) MarshalTo(dAtA []byte) (int, error) {
  5854  	size := m.Size()
  5855  	return m.MarshalToSizedBuffer(dAtA[:size])
  5856  }
  5857  
  5858  func (m *Request_Commit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5859  	i := len(dAtA)
  5860  	if m.Commit != nil {
  5861  		{
  5862  			size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i])
  5863  			if err != nil {
  5864  				return 0, err
  5865  			}
  5866  			i -= size
  5867  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5868  		}
  5869  		i--
  5870  		dAtA[i] = 0x52
  5871  	}
  5872  	return len(dAtA) - i, nil
  5873  }
  5874  func (m *Request_ListSnapshots) MarshalTo(dAtA []byte) (int, error) {
  5875  	size := m.Size()
  5876  	return m.MarshalToSizedBuffer(dAtA[:size])
  5877  }
  5878  
  5879  func (m *Request_ListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5880  	i := len(dAtA)
  5881  	if m.ListSnapshots != nil {
  5882  		{
  5883  			size, err := m.ListSnapshots.MarshalToSizedBuffer(dAtA[:i])
  5884  			if err != nil {
  5885  				return 0, err
  5886  			}
  5887  			i -= size
  5888  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5889  		}
  5890  		i--
  5891  		dAtA[i] = 0x5a
  5892  	}
  5893  	return len(dAtA) - i, nil
  5894  }
  5895  func (m *Request_OfferSnapshot) MarshalTo(dAtA []byte) (int, error) {
  5896  	size := m.Size()
  5897  	return m.MarshalToSizedBuffer(dAtA[:size])
  5898  }
  5899  
  5900  func (m *Request_OfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5901  	i := len(dAtA)
  5902  	if m.OfferSnapshot != nil {
  5903  		{
  5904  			size, err := m.OfferSnapshot.MarshalToSizedBuffer(dAtA[:i])
  5905  			if err != nil {
  5906  				return 0, err
  5907  			}
  5908  			i -= size
  5909  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5910  		}
  5911  		i--
  5912  		dAtA[i] = 0x62
  5913  	}
  5914  	return len(dAtA) - i, nil
  5915  }
  5916  func (m *Request_LoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  5917  	size := m.Size()
  5918  	return m.MarshalToSizedBuffer(dAtA[:size])
  5919  }
  5920  
  5921  func (m *Request_LoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5922  	i := len(dAtA)
  5923  	if m.LoadSnapshotChunk != nil {
  5924  		{
  5925  			size, err := m.LoadSnapshotChunk.MarshalToSizedBuffer(dAtA[:i])
  5926  			if err != nil {
  5927  				return 0, err
  5928  			}
  5929  			i -= size
  5930  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5931  		}
  5932  		i--
  5933  		dAtA[i] = 0x6a
  5934  	}
  5935  	return len(dAtA) - i, nil
  5936  }
  5937  func (m *Request_ApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  5938  	size := m.Size()
  5939  	return m.MarshalToSizedBuffer(dAtA[:size])
  5940  }
  5941  
  5942  func (m *Request_ApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5943  	i := len(dAtA)
  5944  	if m.ApplySnapshotChunk != nil {
  5945  		{
  5946  			size, err := m.ApplySnapshotChunk.MarshalToSizedBuffer(dAtA[:i])
  5947  			if err != nil {
  5948  				return 0, err
  5949  			}
  5950  			i -= size
  5951  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5952  		}
  5953  		i--
  5954  		dAtA[i] = 0x72
  5955  	}
  5956  	return len(dAtA) - i, nil
  5957  }
  5958  func (m *Request_PrepareProposal) MarshalTo(dAtA []byte) (int, error) {
  5959  	size := m.Size()
  5960  	return m.MarshalToSizedBuffer(dAtA[:size])
  5961  }
  5962  
  5963  func (m *Request_PrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5964  	i := len(dAtA)
  5965  	if m.PrepareProposal != nil {
  5966  		{
  5967  			size, err := m.PrepareProposal.MarshalToSizedBuffer(dAtA[:i])
  5968  			if err != nil {
  5969  				return 0, err
  5970  			}
  5971  			i -= size
  5972  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5973  		}
  5974  		i--
  5975  		dAtA[i] = 0x7a
  5976  	}
  5977  	return len(dAtA) - i, nil
  5978  }
  5979  func (m *Request_ProcessProposal) MarshalTo(dAtA []byte) (int, error) {
  5980  	size := m.Size()
  5981  	return m.MarshalToSizedBuffer(dAtA[:size])
  5982  }
  5983  
  5984  func (m *Request_ProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  5985  	i := len(dAtA)
  5986  	if m.ProcessProposal != nil {
  5987  		{
  5988  			size, err := m.ProcessProposal.MarshalToSizedBuffer(dAtA[:i])
  5989  			if err != nil {
  5990  				return 0, err
  5991  			}
  5992  			i -= size
  5993  			i = encodeVarintTypes(dAtA, i, uint64(size))
  5994  		}
  5995  		i--
  5996  		dAtA[i] = 0x1
  5997  		i--
  5998  		dAtA[i] = 0x82
  5999  	}
  6000  	return len(dAtA) - i, nil
  6001  }
  6002  func (m *Request_ExtendVote) MarshalTo(dAtA []byte) (int, error) {
  6003  	size := m.Size()
  6004  	return m.MarshalToSizedBuffer(dAtA[:size])
  6005  }
  6006  
  6007  func (m *Request_ExtendVote) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6008  	i := len(dAtA)
  6009  	if m.ExtendVote != nil {
  6010  		{
  6011  			size, err := m.ExtendVote.MarshalToSizedBuffer(dAtA[:i])
  6012  			if err != nil {
  6013  				return 0, err
  6014  			}
  6015  			i -= size
  6016  			i = encodeVarintTypes(dAtA, i, uint64(size))
  6017  		}
  6018  		i--
  6019  		dAtA[i] = 0x1
  6020  		i--
  6021  		dAtA[i] = 0x8a
  6022  	}
  6023  	return len(dAtA) - i, nil
  6024  }
  6025  func (m *Request_VerifyVoteExtension) MarshalTo(dAtA []byte) (int, error) {
  6026  	size := m.Size()
  6027  	return m.MarshalToSizedBuffer(dAtA[:size])
  6028  }
  6029  
  6030  func (m *Request_VerifyVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6031  	i := len(dAtA)
  6032  	if m.VerifyVoteExtension != nil {
  6033  		{
  6034  			size, err := m.VerifyVoteExtension.MarshalToSizedBuffer(dAtA[:i])
  6035  			if err != nil {
  6036  				return 0, err
  6037  			}
  6038  			i -= size
  6039  			i = encodeVarintTypes(dAtA, i, uint64(size))
  6040  		}
  6041  		i--
  6042  		dAtA[i] = 0x1
  6043  		i--
  6044  		dAtA[i] = 0x92
  6045  	}
  6046  	return len(dAtA) - i, nil
  6047  }
  6048  func (m *Request_FinalizeBlock) MarshalTo(dAtA []byte) (int, error) {
  6049  	size := m.Size()
  6050  	return m.MarshalToSizedBuffer(dAtA[:size])
  6051  }
  6052  
  6053  func (m *Request_FinalizeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6054  	i := len(dAtA)
  6055  	if m.FinalizeBlock != nil {
  6056  		{
  6057  			size, err := m.FinalizeBlock.MarshalToSizedBuffer(dAtA[:i])
  6058  			if err != nil {
  6059  				return 0, err
  6060  			}
  6061  			i -= size
  6062  			i = encodeVarintTypes(dAtA, i, uint64(size))
  6063  		}
  6064  		i--
  6065  		dAtA[i] = 0x1
  6066  		i--
  6067  		dAtA[i] = 0x9a
  6068  	}
  6069  	return len(dAtA) - i, nil
  6070  }
  6071  func (m *Request_BeginBlock) MarshalTo(dAtA []byte) (int, error) {
  6072  	size := m.Size()
  6073  	return m.MarshalToSizedBuffer(dAtA[:size])
  6074  }
  6075  
  6076  func (m *Request_BeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6077  	i := len(dAtA)
  6078  	if m.BeginBlock != nil {
  6079  		{
  6080  			size, err := m.BeginBlock.MarshalToSizedBuffer(dAtA[:i])
  6081  			if err != nil {
  6082  				return 0, err
  6083  			}
  6084  			i -= size
  6085  			i = encodeVarintTypes(dAtA, i, uint64(size))
  6086  		}
  6087  		i--
  6088  		dAtA[i] = 0x1
  6089  		i--
  6090  		dAtA[i] = 0xa2
  6091  	}
  6092  	return len(dAtA) - i, nil
  6093  }
  6094  func (m *Request_DeliverTx) MarshalTo(dAtA []byte) (int, error) {
  6095  	size := m.Size()
  6096  	return m.MarshalToSizedBuffer(dAtA[:size])
  6097  }
  6098  
  6099  func (m *Request_DeliverTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6100  	i := len(dAtA)
  6101  	if m.DeliverTx != nil {
  6102  		{
  6103  			size, err := m.DeliverTx.MarshalToSizedBuffer(dAtA[:i])
  6104  			if err != nil {
  6105  				return 0, err
  6106  			}
  6107  			i -= size
  6108  			i = encodeVarintTypes(dAtA, i, uint64(size))
  6109  		}
  6110  		i--
  6111  		dAtA[i] = 0x1
  6112  		i--
  6113  		dAtA[i] = 0xaa
  6114  	}
  6115  	return len(dAtA) - i, nil
  6116  }
  6117  func (m *Request_EndBlock) MarshalTo(dAtA []byte) (int, error) {
  6118  	size := m.Size()
  6119  	return m.MarshalToSizedBuffer(dAtA[:size])
  6120  }
  6121  
  6122  func (m *Request_EndBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6123  	i := len(dAtA)
  6124  	if m.EndBlock != nil {
  6125  		{
  6126  			size, err := m.EndBlock.MarshalToSizedBuffer(dAtA[:i])
  6127  			if err != nil {
  6128  				return 0, err
  6129  			}
  6130  			i -= size
  6131  			i = encodeVarintTypes(dAtA, i, uint64(size))
  6132  		}
  6133  		i--
  6134  		dAtA[i] = 0x1
  6135  		i--
  6136  		dAtA[i] = 0xb2
  6137  	}
  6138  	return len(dAtA) - i, nil
  6139  }
  6140  func (m *Request_LoadLatest) MarshalTo(dAtA []byte) (int, error) {
  6141  	size := m.Size()
  6142  	return m.MarshalToSizedBuffer(dAtA[:size])
  6143  }
  6144  
  6145  func (m *Request_LoadLatest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6146  	i := len(dAtA)
  6147  	if m.LoadLatest != nil {
  6148  		{
  6149  			size, err := m.LoadLatest.MarshalToSizedBuffer(dAtA[:i])
  6150  			if err != nil {
  6151  				return 0, err
  6152  			}
  6153  			i -= size
  6154  			i = encodeVarintTypes(dAtA, i, uint64(size))
  6155  		}
  6156  		i--
  6157  		dAtA[i] = 0x1
  6158  		i--
  6159  		dAtA[i] = 0xba
  6160  	}
  6161  	return len(dAtA) - i, nil
  6162  }
  6163  func (m *RequestEcho) Marshal() (dAtA []byte, err error) {
  6164  	size := m.Size()
  6165  	dAtA = make([]byte, size)
  6166  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6167  	if err != nil {
  6168  		return nil, err
  6169  	}
  6170  	return dAtA[:n], nil
  6171  }
  6172  
  6173  func (m *RequestEcho) MarshalTo(dAtA []byte) (int, error) {
  6174  	size := m.Size()
  6175  	return m.MarshalToSizedBuffer(dAtA[:size])
  6176  }
  6177  
  6178  func (m *RequestEcho) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6179  	i := len(dAtA)
  6180  	_ = i
  6181  	var l int
  6182  	_ = l
  6183  	if len(m.Message) > 0 {
  6184  		i -= len(m.Message)
  6185  		copy(dAtA[i:], m.Message)
  6186  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Message)))
  6187  		i--
  6188  		dAtA[i] = 0xa
  6189  	}
  6190  	return len(dAtA) - i, nil
  6191  }
  6192  
  6193  func (m *RequestFlush) Marshal() (dAtA []byte, err error) {
  6194  	size := m.Size()
  6195  	dAtA = make([]byte, size)
  6196  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6197  	if err != nil {
  6198  		return nil, err
  6199  	}
  6200  	return dAtA[:n], nil
  6201  }
  6202  
  6203  func (m *RequestFlush) MarshalTo(dAtA []byte) (int, error) {
  6204  	size := m.Size()
  6205  	return m.MarshalToSizedBuffer(dAtA[:size])
  6206  }
  6207  
  6208  func (m *RequestFlush) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6209  	i := len(dAtA)
  6210  	_ = i
  6211  	var l int
  6212  	_ = l
  6213  	return len(dAtA) - i, nil
  6214  }
  6215  
  6216  func (m *RequestInfo) Marshal() (dAtA []byte, err error) {
  6217  	size := m.Size()
  6218  	dAtA = make([]byte, size)
  6219  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6220  	if err != nil {
  6221  		return nil, err
  6222  	}
  6223  	return dAtA[:n], nil
  6224  }
  6225  
  6226  func (m *RequestInfo) MarshalTo(dAtA []byte) (int, error) {
  6227  	size := m.Size()
  6228  	return m.MarshalToSizedBuffer(dAtA[:size])
  6229  }
  6230  
  6231  func (m *RequestInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6232  	i := len(dAtA)
  6233  	_ = i
  6234  	var l int
  6235  	_ = l
  6236  	if len(m.AbciVersion) > 0 {
  6237  		i -= len(m.AbciVersion)
  6238  		copy(dAtA[i:], m.AbciVersion)
  6239  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AbciVersion)))
  6240  		i--
  6241  		dAtA[i] = 0x22
  6242  	}
  6243  	if m.P2PVersion != 0 {
  6244  		i = encodeVarintTypes(dAtA, i, uint64(m.P2PVersion))
  6245  		i--
  6246  		dAtA[i] = 0x18
  6247  	}
  6248  	if m.BlockVersion != 0 {
  6249  		i = encodeVarintTypes(dAtA, i, uint64(m.BlockVersion))
  6250  		i--
  6251  		dAtA[i] = 0x10
  6252  	}
  6253  	if len(m.Version) > 0 {
  6254  		i -= len(m.Version)
  6255  		copy(dAtA[i:], m.Version)
  6256  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Version)))
  6257  		i--
  6258  		dAtA[i] = 0xa
  6259  	}
  6260  	return len(dAtA) - i, nil
  6261  }
  6262  
  6263  func (m *RequestInitChain) Marshal() (dAtA []byte, err error) {
  6264  	size := m.Size()
  6265  	dAtA = make([]byte, size)
  6266  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6267  	if err != nil {
  6268  		return nil, err
  6269  	}
  6270  	return dAtA[:n], nil
  6271  }
  6272  
  6273  func (m *RequestInitChain) MarshalTo(dAtA []byte) (int, error) {
  6274  	size := m.Size()
  6275  	return m.MarshalToSizedBuffer(dAtA[:size])
  6276  }
  6277  
  6278  func (m *RequestInitChain) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6279  	i := len(dAtA)
  6280  	_ = i
  6281  	var l int
  6282  	_ = l
  6283  	if m.InitialHeight != 0 {
  6284  		i = encodeVarintTypes(dAtA, i, uint64(m.InitialHeight))
  6285  		i--
  6286  		dAtA[i] = 0x30
  6287  	}
  6288  	if len(m.AppStateBytes) > 0 {
  6289  		i -= len(m.AppStateBytes)
  6290  		copy(dAtA[i:], m.AppStateBytes)
  6291  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppStateBytes)))
  6292  		i--
  6293  		dAtA[i] = 0x2a
  6294  	}
  6295  	if len(m.Validators) > 0 {
  6296  		for iNdEx := len(m.Validators) - 1; iNdEx >= 0; iNdEx-- {
  6297  			{
  6298  				size, err := m.Validators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6299  				if err != nil {
  6300  					return 0, err
  6301  				}
  6302  				i -= size
  6303  				i = encodeVarintTypes(dAtA, i, uint64(size))
  6304  			}
  6305  			i--
  6306  			dAtA[i] = 0x22
  6307  		}
  6308  	}
  6309  	if m.ConsensusParams != nil {
  6310  		{
  6311  			size, err := m.ConsensusParams.MarshalToSizedBuffer(dAtA[:i])
  6312  			if err != nil {
  6313  				return 0, err
  6314  			}
  6315  			i -= size
  6316  			i = encodeVarintTypes(dAtA, i, uint64(size))
  6317  		}
  6318  		i--
  6319  		dAtA[i] = 0x1a
  6320  	}
  6321  	if len(m.ChainId) > 0 {
  6322  		i -= len(m.ChainId)
  6323  		copy(dAtA[i:], m.ChainId)
  6324  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ChainId)))
  6325  		i--
  6326  		dAtA[i] = 0x12
  6327  	}
  6328  	n22, err22 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):])
  6329  	if err22 != nil {
  6330  		return 0, err22
  6331  	}
  6332  	i -= n22
  6333  	i = encodeVarintTypes(dAtA, i, uint64(n22))
  6334  	i--
  6335  	dAtA[i] = 0xa
  6336  	return len(dAtA) - i, nil
  6337  }
  6338  
  6339  func (m *RequestQuery) Marshal() (dAtA []byte, err error) {
  6340  	size := m.Size()
  6341  	dAtA = make([]byte, size)
  6342  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6343  	if err != nil {
  6344  		return nil, err
  6345  	}
  6346  	return dAtA[:n], nil
  6347  }
  6348  
  6349  func (m *RequestQuery) MarshalTo(dAtA []byte) (int, error) {
  6350  	size := m.Size()
  6351  	return m.MarshalToSizedBuffer(dAtA[:size])
  6352  }
  6353  
  6354  func (m *RequestQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6355  	i := len(dAtA)
  6356  	_ = i
  6357  	var l int
  6358  	_ = l
  6359  	if m.Prove {
  6360  		i--
  6361  		if m.Prove {
  6362  			dAtA[i] = 1
  6363  		} else {
  6364  			dAtA[i] = 0
  6365  		}
  6366  		i--
  6367  		dAtA[i] = 0x20
  6368  	}
  6369  	if m.Height != 0 {
  6370  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  6371  		i--
  6372  		dAtA[i] = 0x18
  6373  	}
  6374  	if len(m.Path) > 0 {
  6375  		i -= len(m.Path)
  6376  		copy(dAtA[i:], m.Path)
  6377  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Path)))
  6378  		i--
  6379  		dAtA[i] = 0x12
  6380  	}
  6381  	if len(m.Data) > 0 {
  6382  		i -= len(m.Data)
  6383  		copy(dAtA[i:], m.Data)
  6384  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Data)))
  6385  		i--
  6386  		dAtA[i] = 0xa
  6387  	}
  6388  	return len(dAtA) - i, nil
  6389  }
  6390  
  6391  func (m *RequestCheckTx) Marshal() (dAtA []byte, err error) {
  6392  	size := m.Size()
  6393  	dAtA = make([]byte, size)
  6394  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6395  	if err != nil {
  6396  		return nil, err
  6397  	}
  6398  	return dAtA[:n], nil
  6399  }
  6400  
  6401  func (m *RequestCheckTx) MarshalTo(dAtA []byte) (int, error) {
  6402  	size := m.Size()
  6403  	return m.MarshalToSizedBuffer(dAtA[:size])
  6404  }
  6405  
  6406  func (m *RequestCheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6407  	i := len(dAtA)
  6408  	_ = i
  6409  	var l int
  6410  	_ = l
  6411  	if m.Type != 0 {
  6412  		i = encodeVarintTypes(dAtA, i, uint64(m.Type))
  6413  		i--
  6414  		dAtA[i] = 0x10
  6415  	}
  6416  	if len(m.Tx) > 0 {
  6417  		i -= len(m.Tx)
  6418  		copy(dAtA[i:], m.Tx)
  6419  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Tx)))
  6420  		i--
  6421  		dAtA[i] = 0xa
  6422  	}
  6423  	return len(dAtA) - i, nil
  6424  }
  6425  
  6426  func (m *RequestCommit) Marshal() (dAtA []byte, err error) {
  6427  	size := m.Size()
  6428  	dAtA = make([]byte, size)
  6429  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6430  	if err != nil {
  6431  		return nil, err
  6432  	}
  6433  	return dAtA[:n], nil
  6434  }
  6435  
  6436  func (m *RequestCommit) MarshalTo(dAtA []byte) (int, error) {
  6437  	size := m.Size()
  6438  	return m.MarshalToSizedBuffer(dAtA[:size])
  6439  }
  6440  
  6441  func (m *RequestCommit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6442  	i := len(dAtA)
  6443  	_ = i
  6444  	var l int
  6445  	_ = l
  6446  	return len(dAtA) - i, nil
  6447  }
  6448  
  6449  func (m *RequestListSnapshots) Marshal() (dAtA []byte, err error) {
  6450  	size := m.Size()
  6451  	dAtA = make([]byte, size)
  6452  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6453  	if err != nil {
  6454  		return nil, err
  6455  	}
  6456  	return dAtA[:n], nil
  6457  }
  6458  
  6459  func (m *RequestListSnapshots) MarshalTo(dAtA []byte) (int, error) {
  6460  	size := m.Size()
  6461  	return m.MarshalToSizedBuffer(dAtA[:size])
  6462  }
  6463  
  6464  func (m *RequestListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6465  	i := len(dAtA)
  6466  	_ = i
  6467  	var l int
  6468  	_ = l
  6469  	return len(dAtA) - i, nil
  6470  }
  6471  
  6472  func (m *RequestOfferSnapshot) Marshal() (dAtA []byte, err error) {
  6473  	size := m.Size()
  6474  	dAtA = make([]byte, size)
  6475  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6476  	if err != nil {
  6477  		return nil, err
  6478  	}
  6479  	return dAtA[:n], nil
  6480  }
  6481  
  6482  func (m *RequestOfferSnapshot) MarshalTo(dAtA []byte) (int, error) {
  6483  	size := m.Size()
  6484  	return m.MarshalToSizedBuffer(dAtA[:size])
  6485  }
  6486  
  6487  func (m *RequestOfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6488  	i := len(dAtA)
  6489  	_ = i
  6490  	var l int
  6491  	_ = l
  6492  	if len(m.AppHash) > 0 {
  6493  		i -= len(m.AppHash)
  6494  		copy(dAtA[i:], m.AppHash)
  6495  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppHash)))
  6496  		i--
  6497  		dAtA[i] = 0x12
  6498  	}
  6499  	if m.Snapshot != nil {
  6500  		{
  6501  			size, err := m.Snapshot.MarshalToSizedBuffer(dAtA[:i])
  6502  			if err != nil {
  6503  				return 0, err
  6504  			}
  6505  			i -= size
  6506  			i = encodeVarintTypes(dAtA, i, uint64(size))
  6507  		}
  6508  		i--
  6509  		dAtA[i] = 0xa
  6510  	}
  6511  	return len(dAtA) - i, nil
  6512  }
  6513  
  6514  func (m *RequestLoadSnapshotChunk) Marshal() (dAtA []byte, err error) {
  6515  	size := m.Size()
  6516  	dAtA = make([]byte, size)
  6517  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6518  	if err != nil {
  6519  		return nil, err
  6520  	}
  6521  	return dAtA[:n], nil
  6522  }
  6523  
  6524  func (m *RequestLoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  6525  	size := m.Size()
  6526  	return m.MarshalToSizedBuffer(dAtA[:size])
  6527  }
  6528  
  6529  func (m *RequestLoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6530  	i := len(dAtA)
  6531  	_ = i
  6532  	var l int
  6533  	_ = l
  6534  	if m.Chunk != 0 {
  6535  		i = encodeVarintTypes(dAtA, i, uint64(m.Chunk))
  6536  		i--
  6537  		dAtA[i] = 0x18
  6538  	}
  6539  	if m.Format != 0 {
  6540  		i = encodeVarintTypes(dAtA, i, uint64(m.Format))
  6541  		i--
  6542  		dAtA[i] = 0x10
  6543  	}
  6544  	if m.Height != 0 {
  6545  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  6546  		i--
  6547  		dAtA[i] = 0x8
  6548  	}
  6549  	return len(dAtA) - i, nil
  6550  }
  6551  
  6552  func (m *RequestApplySnapshotChunk) Marshal() (dAtA []byte, err error) {
  6553  	size := m.Size()
  6554  	dAtA = make([]byte, size)
  6555  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6556  	if err != nil {
  6557  		return nil, err
  6558  	}
  6559  	return dAtA[:n], nil
  6560  }
  6561  
  6562  func (m *RequestApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  6563  	size := m.Size()
  6564  	return m.MarshalToSizedBuffer(dAtA[:size])
  6565  }
  6566  
  6567  func (m *RequestApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6568  	i := len(dAtA)
  6569  	_ = i
  6570  	var l int
  6571  	_ = l
  6572  	if len(m.Sender) > 0 {
  6573  		i -= len(m.Sender)
  6574  		copy(dAtA[i:], m.Sender)
  6575  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Sender)))
  6576  		i--
  6577  		dAtA[i] = 0x1a
  6578  	}
  6579  	if len(m.Chunk) > 0 {
  6580  		i -= len(m.Chunk)
  6581  		copy(dAtA[i:], m.Chunk)
  6582  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Chunk)))
  6583  		i--
  6584  		dAtA[i] = 0x12
  6585  	}
  6586  	if m.Index != 0 {
  6587  		i = encodeVarintTypes(dAtA, i, uint64(m.Index))
  6588  		i--
  6589  		dAtA[i] = 0x8
  6590  	}
  6591  	return len(dAtA) - i, nil
  6592  }
  6593  
  6594  func (m *RequestPrepareProposal) Marshal() (dAtA []byte, err error) {
  6595  	size := m.Size()
  6596  	dAtA = make([]byte, size)
  6597  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6598  	if err != nil {
  6599  		return nil, err
  6600  	}
  6601  	return dAtA[:n], nil
  6602  }
  6603  
  6604  func (m *RequestPrepareProposal) MarshalTo(dAtA []byte) (int, error) {
  6605  	size := m.Size()
  6606  	return m.MarshalToSizedBuffer(dAtA[:size])
  6607  }
  6608  
  6609  func (m *RequestPrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6610  	i := len(dAtA)
  6611  	_ = i
  6612  	var l int
  6613  	_ = l
  6614  	if len(m.LastResultsHash) > 0 {
  6615  		i -= len(m.LastResultsHash)
  6616  		copy(dAtA[i:], m.LastResultsHash)
  6617  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastResultsHash)))
  6618  		i--
  6619  		dAtA[i] = 0x1
  6620  		i--
  6621  		dAtA[i] = 0x92
  6622  	}
  6623  	if len(m.LastCommitHash) > 0 {
  6624  		i -= len(m.LastCommitHash)
  6625  		copy(dAtA[i:], m.LastCommitHash)
  6626  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastCommitHash)))
  6627  		i--
  6628  		dAtA[i] = 0x1
  6629  		i--
  6630  		dAtA[i] = 0x8a
  6631  	}
  6632  	if len(m.LastBlockPartSetHash) > 0 {
  6633  		i -= len(m.LastBlockPartSetHash)
  6634  		copy(dAtA[i:], m.LastBlockPartSetHash)
  6635  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastBlockPartSetHash)))
  6636  		i--
  6637  		dAtA[i] = 0x1
  6638  		i--
  6639  		dAtA[i] = 0x82
  6640  	}
  6641  	if m.LastBlockPartSetTotal != 0 {
  6642  		i = encodeVarintTypes(dAtA, i, uint64(m.LastBlockPartSetTotal))
  6643  		i--
  6644  		dAtA[i] = 0x78
  6645  	}
  6646  	if len(m.LastBlockHash) > 0 {
  6647  		i -= len(m.LastBlockHash)
  6648  		copy(dAtA[i:], m.LastBlockHash)
  6649  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastBlockHash)))
  6650  		i--
  6651  		dAtA[i] = 0x72
  6652  	}
  6653  	if len(m.EvidenceHash) > 0 {
  6654  		i -= len(m.EvidenceHash)
  6655  		copy(dAtA[i:], m.EvidenceHash)
  6656  		i = encodeVarintTypes(dAtA, i, uint64(len(m.EvidenceHash)))
  6657  		i--
  6658  		dAtA[i] = 0x6a
  6659  	}
  6660  	if len(m.DataHash) > 0 {
  6661  		i -= len(m.DataHash)
  6662  		copy(dAtA[i:], m.DataHash)
  6663  		i = encodeVarintTypes(dAtA, i, uint64(len(m.DataHash)))
  6664  		i--
  6665  		dAtA[i] = 0x62
  6666  	}
  6667  	if len(m.ConsensusHash) > 0 {
  6668  		i -= len(m.ConsensusHash)
  6669  		copy(dAtA[i:], m.ConsensusHash)
  6670  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ConsensusHash)))
  6671  		i--
  6672  		dAtA[i] = 0x5a
  6673  	}
  6674  	if len(m.ValidatorsHash) > 0 {
  6675  		i -= len(m.ValidatorsHash)
  6676  		copy(dAtA[i:], m.ValidatorsHash)
  6677  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ValidatorsHash)))
  6678  		i--
  6679  		dAtA[i] = 0x52
  6680  	}
  6681  	if len(m.AppHash) > 0 {
  6682  		i -= len(m.AppHash)
  6683  		copy(dAtA[i:], m.AppHash)
  6684  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppHash)))
  6685  		i--
  6686  		dAtA[i] = 0x4a
  6687  	}
  6688  	if len(m.ProposerAddress) > 0 {
  6689  		i -= len(m.ProposerAddress)
  6690  		copy(dAtA[i:], m.ProposerAddress)
  6691  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ProposerAddress)))
  6692  		i--
  6693  		dAtA[i] = 0x42
  6694  	}
  6695  	if len(m.NextValidatorsHash) > 0 {
  6696  		i -= len(m.NextValidatorsHash)
  6697  		copy(dAtA[i:], m.NextValidatorsHash)
  6698  		i = encodeVarintTypes(dAtA, i, uint64(len(m.NextValidatorsHash)))
  6699  		i--
  6700  		dAtA[i] = 0x3a
  6701  	}
  6702  	n24, err24 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):])
  6703  	if err24 != nil {
  6704  		return 0, err24
  6705  	}
  6706  	i -= n24
  6707  	i = encodeVarintTypes(dAtA, i, uint64(n24))
  6708  	i--
  6709  	dAtA[i] = 0x32
  6710  	if m.Height != 0 {
  6711  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  6712  		i--
  6713  		dAtA[i] = 0x28
  6714  	}
  6715  	if len(m.ByzantineValidators) > 0 {
  6716  		for iNdEx := len(m.ByzantineValidators) - 1; iNdEx >= 0; iNdEx-- {
  6717  			{
  6718  				size, err := m.ByzantineValidators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6719  				if err != nil {
  6720  					return 0, err
  6721  				}
  6722  				i -= size
  6723  				i = encodeVarintTypes(dAtA, i, uint64(size))
  6724  			}
  6725  			i--
  6726  			dAtA[i] = 0x22
  6727  		}
  6728  	}
  6729  	{
  6730  		size, err := m.LocalLastCommit.MarshalToSizedBuffer(dAtA[:i])
  6731  		if err != nil {
  6732  			return 0, err
  6733  		}
  6734  		i -= size
  6735  		i = encodeVarintTypes(dAtA, i, uint64(size))
  6736  	}
  6737  	i--
  6738  	dAtA[i] = 0x1a
  6739  	if len(m.Txs) > 0 {
  6740  		for iNdEx := len(m.Txs) - 1; iNdEx >= 0; iNdEx-- {
  6741  			i -= len(m.Txs[iNdEx])
  6742  			copy(dAtA[i:], m.Txs[iNdEx])
  6743  			i = encodeVarintTypes(dAtA, i, uint64(len(m.Txs[iNdEx])))
  6744  			i--
  6745  			dAtA[i] = 0x12
  6746  		}
  6747  	}
  6748  	if m.MaxTxBytes != 0 {
  6749  		i = encodeVarintTypes(dAtA, i, uint64(m.MaxTxBytes))
  6750  		i--
  6751  		dAtA[i] = 0x8
  6752  	}
  6753  	return len(dAtA) - i, nil
  6754  }
  6755  
  6756  func (m *RequestProcessProposal) Marshal() (dAtA []byte, err error) {
  6757  	size := m.Size()
  6758  	dAtA = make([]byte, size)
  6759  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6760  	if err != nil {
  6761  		return nil, err
  6762  	}
  6763  	return dAtA[:n], nil
  6764  }
  6765  
  6766  func (m *RequestProcessProposal) MarshalTo(dAtA []byte) (int, error) {
  6767  	size := m.Size()
  6768  	return m.MarshalToSizedBuffer(dAtA[:size])
  6769  }
  6770  
  6771  func (m *RequestProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6772  	i := len(dAtA)
  6773  	_ = i
  6774  	var l int
  6775  	_ = l
  6776  	if len(m.LastResultsHash) > 0 {
  6777  		i -= len(m.LastResultsHash)
  6778  		copy(dAtA[i:], m.LastResultsHash)
  6779  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastResultsHash)))
  6780  		i--
  6781  		dAtA[i] = 0x1
  6782  		i--
  6783  		dAtA[i] = 0x9a
  6784  	}
  6785  	if len(m.LastCommitHash) > 0 {
  6786  		i -= len(m.LastCommitHash)
  6787  		copy(dAtA[i:], m.LastCommitHash)
  6788  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastCommitHash)))
  6789  		i--
  6790  		dAtA[i] = 0x1
  6791  		i--
  6792  		dAtA[i] = 0x92
  6793  	}
  6794  	if len(m.LastBlockPartSetHash) > 0 {
  6795  		i -= len(m.LastBlockPartSetHash)
  6796  		copy(dAtA[i:], m.LastBlockPartSetHash)
  6797  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastBlockPartSetHash)))
  6798  		i--
  6799  		dAtA[i] = 0x1
  6800  		i--
  6801  		dAtA[i] = 0x8a
  6802  	}
  6803  	if m.LastBlockPartSetTotal != 0 {
  6804  		i = encodeVarintTypes(dAtA, i, uint64(m.LastBlockPartSetTotal))
  6805  		i--
  6806  		dAtA[i] = 0x1
  6807  		i--
  6808  		dAtA[i] = 0x80
  6809  	}
  6810  	if len(m.LastBlockHash) > 0 {
  6811  		i -= len(m.LastBlockHash)
  6812  		copy(dAtA[i:], m.LastBlockHash)
  6813  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastBlockHash)))
  6814  		i--
  6815  		dAtA[i] = 0x7a
  6816  	}
  6817  	if len(m.EvidenceHash) > 0 {
  6818  		i -= len(m.EvidenceHash)
  6819  		copy(dAtA[i:], m.EvidenceHash)
  6820  		i = encodeVarintTypes(dAtA, i, uint64(len(m.EvidenceHash)))
  6821  		i--
  6822  		dAtA[i] = 0x72
  6823  	}
  6824  	if len(m.DataHash) > 0 {
  6825  		i -= len(m.DataHash)
  6826  		copy(dAtA[i:], m.DataHash)
  6827  		i = encodeVarintTypes(dAtA, i, uint64(len(m.DataHash)))
  6828  		i--
  6829  		dAtA[i] = 0x6a
  6830  	}
  6831  	if len(m.ConsensusHash) > 0 {
  6832  		i -= len(m.ConsensusHash)
  6833  		copy(dAtA[i:], m.ConsensusHash)
  6834  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ConsensusHash)))
  6835  		i--
  6836  		dAtA[i] = 0x62
  6837  	}
  6838  	if len(m.ValidatorsHash) > 0 {
  6839  		i -= len(m.ValidatorsHash)
  6840  		copy(dAtA[i:], m.ValidatorsHash)
  6841  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ValidatorsHash)))
  6842  		i--
  6843  		dAtA[i] = 0x5a
  6844  	}
  6845  	if len(m.AppHash) > 0 {
  6846  		i -= len(m.AppHash)
  6847  		copy(dAtA[i:], m.AppHash)
  6848  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppHash)))
  6849  		i--
  6850  		dAtA[i] = 0x52
  6851  	}
  6852  	if len(m.ProposerAddress) > 0 {
  6853  		i -= len(m.ProposerAddress)
  6854  		copy(dAtA[i:], m.ProposerAddress)
  6855  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ProposerAddress)))
  6856  		i--
  6857  		dAtA[i] = 0x42
  6858  	}
  6859  	if len(m.NextValidatorsHash) > 0 {
  6860  		i -= len(m.NextValidatorsHash)
  6861  		copy(dAtA[i:], m.NextValidatorsHash)
  6862  		i = encodeVarintTypes(dAtA, i, uint64(len(m.NextValidatorsHash)))
  6863  		i--
  6864  		dAtA[i] = 0x3a
  6865  	}
  6866  	n26, err26 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):])
  6867  	if err26 != nil {
  6868  		return 0, err26
  6869  	}
  6870  	i -= n26
  6871  	i = encodeVarintTypes(dAtA, i, uint64(n26))
  6872  	i--
  6873  	dAtA[i] = 0x32
  6874  	if m.Height != 0 {
  6875  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  6876  		i--
  6877  		dAtA[i] = 0x28
  6878  	}
  6879  	if len(m.Hash) > 0 {
  6880  		i -= len(m.Hash)
  6881  		copy(dAtA[i:], m.Hash)
  6882  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Hash)))
  6883  		i--
  6884  		dAtA[i] = 0x22
  6885  	}
  6886  	if len(m.ByzantineValidators) > 0 {
  6887  		for iNdEx := len(m.ByzantineValidators) - 1; iNdEx >= 0; iNdEx-- {
  6888  			{
  6889  				size, err := m.ByzantineValidators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  6890  				if err != nil {
  6891  					return 0, err
  6892  				}
  6893  				i -= size
  6894  				i = encodeVarintTypes(dAtA, i, uint64(size))
  6895  			}
  6896  			i--
  6897  			dAtA[i] = 0x1a
  6898  		}
  6899  	}
  6900  	{
  6901  		size, err := m.ProposedLastCommit.MarshalToSizedBuffer(dAtA[:i])
  6902  		if err != nil {
  6903  			return 0, err
  6904  		}
  6905  		i -= size
  6906  		i = encodeVarintTypes(dAtA, i, uint64(size))
  6907  	}
  6908  	i--
  6909  	dAtA[i] = 0x12
  6910  	if len(m.Txs) > 0 {
  6911  		for iNdEx := len(m.Txs) - 1; iNdEx >= 0; iNdEx-- {
  6912  			i -= len(m.Txs[iNdEx])
  6913  			copy(dAtA[i:], m.Txs[iNdEx])
  6914  			i = encodeVarintTypes(dAtA, i, uint64(len(m.Txs[iNdEx])))
  6915  			i--
  6916  			dAtA[i] = 0xa
  6917  		}
  6918  	}
  6919  	return len(dAtA) - i, nil
  6920  }
  6921  
  6922  func (m *RequestExtendVote) Marshal() (dAtA []byte, err error) {
  6923  	size := m.Size()
  6924  	dAtA = make([]byte, size)
  6925  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6926  	if err != nil {
  6927  		return nil, err
  6928  	}
  6929  	return dAtA[:n], nil
  6930  }
  6931  
  6932  func (m *RequestExtendVote) MarshalTo(dAtA []byte) (int, error) {
  6933  	size := m.Size()
  6934  	return m.MarshalToSizedBuffer(dAtA[:size])
  6935  }
  6936  
  6937  func (m *RequestExtendVote) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6938  	i := len(dAtA)
  6939  	_ = i
  6940  	var l int
  6941  	_ = l
  6942  	if m.Height != 0 {
  6943  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  6944  		i--
  6945  		dAtA[i] = 0x10
  6946  	}
  6947  	if len(m.Hash) > 0 {
  6948  		i -= len(m.Hash)
  6949  		copy(dAtA[i:], m.Hash)
  6950  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Hash)))
  6951  		i--
  6952  		dAtA[i] = 0xa
  6953  	}
  6954  	return len(dAtA) - i, nil
  6955  }
  6956  
  6957  func (m *RequestVerifyVoteExtension) Marshal() (dAtA []byte, err error) {
  6958  	size := m.Size()
  6959  	dAtA = make([]byte, size)
  6960  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  6961  	if err != nil {
  6962  		return nil, err
  6963  	}
  6964  	return dAtA[:n], nil
  6965  }
  6966  
  6967  func (m *RequestVerifyVoteExtension) MarshalTo(dAtA []byte) (int, error) {
  6968  	size := m.Size()
  6969  	return m.MarshalToSizedBuffer(dAtA[:size])
  6970  }
  6971  
  6972  func (m *RequestVerifyVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  6973  	i := len(dAtA)
  6974  	_ = i
  6975  	var l int
  6976  	_ = l
  6977  	if len(m.VoteExtension) > 0 {
  6978  		i -= len(m.VoteExtension)
  6979  		copy(dAtA[i:], m.VoteExtension)
  6980  		i = encodeVarintTypes(dAtA, i, uint64(len(m.VoteExtension)))
  6981  		i--
  6982  		dAtA[i] = 0x22
  6983  	}
  6984  	if m.Height != 0 {
  6985  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  6986  		i--
  6987  		dAtA[i] = 0x18
  6988  	}
  6989  	if len(m.ValidatorAddress) > 0 {
  6990  		i -= len(m.ValidatorAddress)
  6991  		copy(dAtA[i:], m.ValidatorAddress)
  6992  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ValidatorAddress)))
  6993  		i--
  6994  		dAtA[i] = 0x12
  6995  	}
  6996  	if len(m.Hash) > 0 {
  6997  		i -= len(m.Hash)
  6998  		copy(dAtA[i:], m.Hash)
  6999  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Hash)))
  7000  		i--
  7001  		dAtA[i] = 0xa
  7002  	}
  7003  	return len(dAtA) - i, nil
  7004  }
  7005  
  7006  func (m *RequestFinalizeBlock) Marshal() (dAtA []byte, err error) {
  7007  	size := m.Size()
  7008  	dAtA = make([]byte, size)
  7009  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7010  	if err != nil {
  7011  		return nil, err
  7012  	}
  7013  	return dAtA[:n], nil
  7014  }
  7015  
  7016  func (m *RequestFinalizeBlock) MarshalTo(dAtA []byte) (int, error) {
  7017  	size := m.Size()
  7018  	return m.MarshalToSizedBuffer(dAtA[:size])
  7019  }
  7020  
  7021  func (m *RequestFinalizeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7022  	i := len(dAtA)
  7023  	_ = i
  7024  	var l int
  7025  	_ = l
  7026  	if len(m.LastResultsHash) > 0 {
  7027  		i -= len(m.LastResultsHash)
  7028  		copy(dAtA[i:], m.LastResultsHash)
  7029  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastResultsHash)))
  7030  		i--
  7031  		dAtA[i] = 0x1
  7032  		i--
  7033  		dAtA[i] = 0x9a
  7034  	}
  7035  	if len(m.LastCommitHash) > 0 {
  7036  		i -= len(m.LastCommitHash)
  7037  		copy(dAtA[i:], m.LastCommitHash)
  7038  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastCommitHash)))
  7039  		i--
  7040  		dAtA[i] = 0x1
  7041  		i--
  7042  		dAtA[i] = 0x92
  7043  	}
  7044  	if len(m.LastBlockPartSetHash) > 0 {
  7045  		i -= len(m.LastBlockPartSetHash)
  7046  		copy(dAtA[i:], m.LastBlockPartSetHash)
  7047  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastBlockPartSetHash)))
  7048  		i--
  7049  		dAtA[i] = 0x1
  7050  		i--
  7051  		dAtA[i] = 0x8a
  7052  	}
  7053  	if m.LastBlockPartSetTotal != 0 {
  7054  		i = encodeVarintTypes(dAtA, i, uint64(m.LastBlockPartSetTotal))
  7055  		i--
  7056  		dAtA[i] = 0x1
  7057  		i--
  7058  		dAtA[i] = 0x80
  7059  	}
  7060  	if len(m.LastBlockHash) > 0 {
  7061  		i -= len(m.LastBlockHash)
  7062  		copy(dAtA[i:], m.LastBlockHash)
  7063  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastBlockHash)))
  7064  		i--
  7065  		dAtA[i] = 0x7a
  7066  	}
  7067  	if len(m.EvidenceHash) > 0 {
  7068  		i -= len(m.EvidenceHash)
  7069  		copy(dAtA[i:], m.EvidenceHash)
  7070  		i = encodeVarintTypes(dAtA, i, uint64(len(m.EvidenceHash)))
  7071  		i--
  7072  		dAtA[i] = 0x72
  7073  	}
  7074  	if len(m.DataHash) > 0 {
  7075  		i -= len(m.DataHash)
  7076  		copy(dAtA[i:], m.DataHash)
  7077  		i = encodeVarintTypes(dAtA, i, uint64(len(m.DataHash)))
  7078  		i--
  7079  		dAtA[i] = 0x6a
  7080  	}
  7081  	if len(m.ConsensusHash) > 0 {
  7082  		i -= len(m.ConsensusHash)
  7083  		copy(dAtA[i:], m.ConsensusHash)
  7084  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ConsensusHash)))
  7085  		i--
  7086  		dAtA[i] = 0x62
  7087  	}
  7088  	if len(m.ValidatorsHash) > 0 {
  7089  		i -= len(m.ValidatorsHash)
  7090  		copy(dAtA[i:], m.ValidatorsHash)
  7091  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ValidatorsHash)))
  7092  		i--
  7093  		dAtA[i] = 0x5a
  7094  	}
  7095  	if len(m.AppHash) > 0 {
  7096  		i -= len(m.AppHash)
  7097  		copy(dAtA[i:], m.AppHash)
  7098  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppHash)))
  7099  		i--
  7100  		dAtA[i] = 0x52
  7101  	}
  7102  	if len(m.ProposerAddress) > 0 {
  7103  		i -= len(m.ProposerAddress)
  7104  		copy(dAtA[i:], m.ProposerAddress)
  7105  		i = encodeVarintTypes(dAtA, i, uint64(len(m.ProposerAddress)))
  7106  		i--
  7107  		dAtA[i] = 0x42
  7108  	}
  7109  	if len(m.NextValidatorsHash) > 0 {
  7110  		i -= len(m.NextValidatorsHash)
  7111  		copy(dAtA[i:], m.NextValidatorsHash)
  7112  		i = encodeVarintTypes(dAtA, i, uint64(len(m.NextValidatorsHash)))
  7113  		i--
  7114  		dAtA[i] = 0x3a
  7115  	}
  7116  	n28, err28 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):])
  7117  	if err28 != nil {
  7118  		return 0, err28
  7119  	}
  7120  	i -= n28
  7121  	i = encodeVarintTypes(dAtA, i, uint64(n28))
  7122  	i--
  7123  	dAtA[i] = 0x32
  7124  	if m.Height != 0 {
  7125  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  7126  		i--
  7127  		dAtA[i] = 0x28
  7128  	}
  7129  	if len(m.Hash) > 0 {
  7130  		i -= len(m.Hash)
  7131  		copy(dAtA[i:], m.Hash)
  7132  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Hash)))
  7133  		i--
  7134  		dAtA[i] = 0x22
  7135  	}
  7136  	if len(m.ByzantineValidators) > 0 {
  7137  		for iNdEx := len(m.ByzantineValidators) - 1; iNdEx >= 0; iNdEx-- {
  7138  			{
  7139  				size, err := m.ByzantineValidators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  7140  				if err != nil {
  7141  					return 0, err
  7142  				}
  7143  				i -= size
  7144  				i = encodeVarintTypes(dAtA, i, uint64(size))
  7145  			}
  7146  			i--
  7147  			dAtA[i] = 0x1a
  7148  		}
  7149  	}
  7150  	{
  7151  		size, err := m.DecidedLastCommit.MarshalToSizedBuffer(dAtA[:i])
  7152  		if err != nil {
  7153  			return 0, err
  7154  		}
  7155  		i -= size
  7156  		i = encodeVarintTypes(dAtA, i, uint64(size))
  7157  	}
  7158  	i--
  7159  	dAtA[i] = 0x12
  7160  	if len(m.Txs) > 0 {
  7161  		for iNdEx := len(m.Txs) - 1; iNdEx >= 0; iNdEx-- {
  7162  			i -= len(m.Txs[iNdEx])
  7163  			copy(dAtA[i:], m.Txs[iNdEx])
  7164  			i = encodeVarintTypes(dAtA, i, uint64(len(m.Txs[iNdEx])))
  7165  			i--
  7166  			dAtA[i] = 0xa
  7167  		}
  7168  	}
  7169  	return len(dAtA) - i, nil
  7170  }
  7171  
  7172  func (m *RequestBeginBlock) Marshal() (dAtA []byte, err error) {
  7173  	size := m.Size()
  7174  	dAtA = make([]byte, size)
  7175  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7176  	if err != nil {
  7177  		return nil, err
  7178  	}
  7179  	return dAtA[:n], nil
  7180  }
  7181  
  7182  func (m *RequestBeginBlock) MarshalTo(dAtA []byte) (int, error) {
  7183  	size := m.Size()
  7184  	return m.MarshalToSizedBuffer(dAtA[:size])
  7185  }
  7186  
  7187  func (m *RequestBeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7188  	i := len(dAtA)
  7189  	_ = i
  7190  	var l int
  7191  	_ = l
  7192  	if len(m.ByzantineValidators) > 0 {
  7193  		for iNdEx := len(m.ByzantineValidators) - 1; iNdEx >= 0; iNdEx-- {
  7194  			{
  7195  				size, err := m.ByzantineValidators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  7196  				if err != nil {
  7197  					return 0, err
  7198  				}
  7199  				i -= size
  7200  				i = encodeVarintTypes(dAtA, i, uint64(size))
  7201  			}
  7202  			i--
  7203  			dAtA[i] = 0x22
  7204  		}
  7205  	}
  7206  	{
  7207  		size, err := m.LastCommitInfo.MarshalToSizedBuffer(dAtA[:i])
  7208  		if err != nil {
  7209  			return 0, err
  7210  		}
  7211  		i -= size
  7212  		i = encodeVarintTypes(dAtA, i, uint64(size))
  7213  	}
  7214  	i--
  7215  	dAtA[i] = 0x1a
  7216  	{
  7217  		size, err := m.Header.MarshalToSizedBuffer(dAtA[:i])
  7218  		if err != nil {
  7219  			return 0, err
  7220  		}
  7221  		i -= size
  7222  		i = encodeVarintTypes(dAtA, i, uint64(size))
  7223  	}
  7224  	i--
  7225  	dAtA[i] = 0x12
  7226  	if len(m.Hash) > 0 {
  7227  		i -= len(m.Hash)
  7228  		copy(dAtA[i:], m.Hash)
  7229  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Hash)))
  7230  		i--
  7231  		dAtA[i] = 0xa
  7232  	}
  7233  	return len(dAtA) - i, nil
  7234  }
  7235  
  7236  func (m *RequestDeliverTx) Marshal() (dAtA []byte, err error) {
  7237  	size := m.Size()
  7238  	dAtA = make([]byte, size)
  7239  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7240  	if err != nil {
  7241  		return nil, err
  7242  	}
  7243  	return dAtA[:n], nil
  7244  }
  7245  
  7246  func (m *RequestDeliverTx) MarshalTo(dAtA []byte) (int, error) {
  7247  	size := m.Size()
  7248  	return m.MarshalToSizedBuffer(dAtA[:size])
  7249  }
  7250  
  7251  func (m *RequestDeliverTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7252  	i := len(dAtA)
  7253  	_ = i
  7254  	var l int
  7255  	_ = l
  7256  	if m.SigVerified {
  7257  		i--
  7258  		if m.SigVerified {
  7259  			dAtA[i] = 1
  7260  		} else {
  7261  			dAtA[i] = 0
  7262  		}
  7263  		i--
  7264  		dAtA[i] = 0x10
  7265  	}
  7266  	if len(m.Tx) > 0 {
  7267  		i -= len(m.Tx)
  7268  		copy(dAtA[i:], m.Tx)
  7269  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Tx)))
  7270  		i--
  7271  		dAtA[i] = 0xa
  7272  	}
  7273  	return len(dAtA) - i, nil
  7274  }
  7275  
  7276  func (m *RequestEndBlock) Marshal() (dAtA []byte, err error) {
  7277  	size := m.Size()
  7278  	dAtA = make([]byte, size)
  7279  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7280  	if err != nil {
  7281  		return nil, err
  7282  	}
  7283  	return dAtA[:n], nil
  7284  }
  7285  
  7286  func (m *RequestEndBlock) MarshalTo(dAtA []byte) (int, error) {
  7287  	size := m.Size()
  7288  	return m.MarshalToSizedBuffer(dAtA[:size])
  7289  }
  7290  
  7291  func (m *RequestEndBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7292  	i := len(dAtA)
  7293  	_ = i
  7294  	var l int
  7295  	_ = l
  7296  	if m.Height != 0 {
  7297  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  7298  		i--
  7299  		dAtA[i] = 0x8
  7300  	}
  7301  	return len(dAtA) - i, nil
  7302  }
  7303  
  7304  func (m *RequestLoadLatest) Marshal() (dAtA []byte, err error) {
  7305  	size := m.Size()
  7306  	dAtA = make([]byte, size)
  7307  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7308  	if err != nil {
  7309  		return nil, err
  7310  	}
  7311  	return dAtA[:n], nil
  7312  }
  7313  
  7314  func (m *RequestLoadLatest) MarshalTo(dAtA []byte) (int, error) {
  7315  	size := m.Size()
  7316  	return m.MarshalToSizedBuffer(dAtA[:size])
  7317  }
  7318  
  7319  func (m *RequestLoadLatest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7320  	i := len(dAtA)
  7321  	_ = i
  7322  	var l int
  7323  	_ = l
  7324  	return len(dAtA) - i, nil
  7325  }
  7326  
  7327  func (m *Response) Marshal() (dAtA []byte, err error) {
  7328  	size := m.Size()
  7329  	dAtA = make([]byte, size)
  7330  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7331  	if err != nil {
  7332  		return nil, err
  7333  	}
  7334  	return dAtA[:n], nil
  7335  }
  7336  
  7337  func (m *Response) MarshalTo(dAtA []byte) (int, error) {
  7338  	size := m.Size()
  7339  	return m.MarshalToSizedBuffer(dAtA[:size])
  7340  }
  7341  
  7342  func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7343  	i := len(dAtA)
  7344  	_ = i
  7345  	var l int
  7346  	_ = l
  7347  	if m.Value != nil {
  7348  		{
  7349  			size := m.Value.Size()
  7350  			i -= size
  7351  			if _, err := m.Value.MarshalTo(dAtA[i:]); err != nil {
  7352  				return 0, err
  7353  			}
  7354  		}
  7355  	}
  7356  	return len(dAtA) - i, nil
  7357  }
  7358  
  7359  func (m *Response_Exception) MarshalTo(dAtA []byte) (int, error) {
  7360  	size := m.Size()
  7361  	return m.MarshalToSizedBuffer(dAtA[:size])
  7362  }
  7363  
  7364  func (m *Response_Exception) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7365  	i := len(dAtA)
  7366  	if m.Exception != nil {
  7367  		{
  7368  			size, err := m.Exception.MarshalToSizedBuffer(dAtA[:i])
  7369  			if err != nil {
  7370  				return 0, err
  7371  			}
  7372  			i -= size
  7373  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7374  		}
  7375  		i--
  7376  		dAtA[i] = 0xa
  7377  	}
  7378  	return len(dAtA) - i, nil
  7379  }
  7380  func (m *Response_Echo) MarshalTo(dAtA []byte) (int, error) {
  7381  	size := m.Size()
  7382  	return m.MarshalToSizedBuffer(dAtA[:size])
  7383  }
  7384  
  7385  func (m *Response_Echo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7386  	i := len(dAtA)
  7387  	if m.Echo != nil {
  7388  		{
  7389  			size, err := m.Echo.MarshalToSizedBuffer(dAtA[:i])
  7390  			if err != nil {
  7391  				return 0, err
  7392  			}
  7393  			i -= size
  7394  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7395  		}
  7396  		i--
  7397  		dAtA[i] = 0x12
  7398  	}
  7399  	return len(dAtA) - i, nil
  7400  }
  7401  func (m *Response_Flush) MarshalTo(dAtA []byte) (int, error) {
  7402  	size := m.Size()
  7403  	return m.MarshalToSizedBuffer(dAtA[:size])
  7404  }
  7405  
  7406  func (m *Response_Flush) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7407  	i := len(dAtA)
  7408  	if m.Flush != nil {
  7409  		{
  7410  			size, err := m.Flush.MarshalToSizedBuffer(dAtA[:i])
  7411  			if err != nil {
  7412  				return 0, err
  7413  			}
  7414  			i -= size
  7415  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7416  		}
  7417  		i--
  7418  		dAtA[i] = 0x1a
  7419  	}
  7420  	return len(dAtA) - i, nil
  7421  }
  7422  func (m *Response_Info) MarshalTo(dAtA []byte) (int, error) {
  7423  	size := m.Size()
  7424  	return m.MarshalToSizedBuffer(dAtA[:size])
  7425  }
  7426  
  7427  func (m *Response_Info) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7428  	i := len(dAtA)
  7429  	if m.Info != nil {
  7430  		{
  7431  			size, err := m.Info.MarshalToSizedBuffer(dAtA[:i])
  7432  			if err != nil {
  7433  				return 0, err
  7434  			}
  7435  			i -= size
  7436  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7437  		}
  7438  		i--
  7439  		dAtA[i] = 0x22
  7440  	}
  7441  	return len(dAtA) - i, nil
  7442  }
  7443  func (m *Response_InitChain) MarshalTo(dAtA []byte) (int, error) {
  7444  	size := m.Size()
  7445  	return m.MarshalToSizedBuffer(dAtA[:size])
  7446  }
  7447  
  7448  func (m *Response_InitChain) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7449  	i := len(dAtA)
  7450  	if m.InitChain != nil {
  7451  		{
  7452  			size, err := m.InitChain.MarshalToSizedBuffer(dAtA[:i])
  7453  			if err != nil {
  7454  				return 0, err
  7455  			}
  7456  			i -= size
  7457  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7458  		}
  7459  		i--
  7460  		dAtA[i] = 0x2a
  7461  	}
  7462  	return len(dAtA) - i, nil
  7463  }
  7464  func (m *Response_Query) MarshalTo(dAtA []byte) (int, error) {
  7465  	size := m.Size()
  7466  	return m.MarshalToSizedBuffer(dAtA[:size])
  7467  }
  7468  
  7469  func (m *Response_Query) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7470  	i := len(dAtA)
  7471  	if m.Query != nil {
  7472  		{
  7473  			size, err := m.Query.MarshalToSizedBuffer(dAtA[:i])
  7474  			if err != nil {
  7475  				return 0, err
  7476  			}
  7477  			i -= size
  7478  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7479  		}
  7480  		i--
  7481  		dAtA[i] = 0x32
  7482  	}
  7483  	return len(dAtA) - i, nil
  7484  }
  7485  func (m *Response_CheckTx) MarshalTo(dAtA []byte) (int, error) {
  7486  	size := m.Size()
  7487  	return m.MarshalToSizedBuffer(dAtA[:size])
  7488  }
  7489  
  7490  func (m *Response_CheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7491  	i := len(dAtA)
  7492  	if m.CheckTx != nil {
  7493  		{
  7494  			size, err := m.CheckTx.MarshalToSizedBuffer(dAtA[:i])
  7495  			if err != nil {
  7496  				return 0, err
  7497  			}
  7498  			i -= size
  7499  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7500  		}
  7501  		i--
  7502  		dAtA[i] = 0x42
  7503  	}
  7504  	return len(dAtA) - i, nil
  7505  }
  7506  func (m *Response_Commit) MarshalTo(dAtA []byte) (int, error) {
  7507  	size := m.Size()
  7508  	return m.MarshalToSizedBuffer(dAtA[:size])
  7509  }
  7510  
  7511  func (m *Response_Commit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7512  	i := len(dAtA)
  7513  	if m.Commit != nil {
  7514  		{
  7515  			size, err := m.Commit.MarshalToSizedBuffer(dAtA[:i])
  7516  			if err != nil {
  7517  				return 0, err
  7518  			}
  7519  			i -= size
  7520  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7521  		}
  7522  		i--
  7523  		dAtA[i] = 0x5a
  7524  	}
  7525  	return len(dAtA) - i, nil
  7526  }
  7527  func (m *Response_ListSnapshots) MarshalTo(dAtA []byte) (int, error) {
  7528  	size := m.Size()
  7529  	return m.MarshalToSizedBuffer(dAtA[:size])
  7530  }
  7531  
  7532  func (m *Response_ListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7533  	i := len(dAtA)
  7534  	if m.ListSnapshots != nil {
  7535  		{
  7536  			size, err := m.ListSnapshots.MarshalToSizedBuffer(dAtA[:i])
  7537  			if err != nil {
  7538  				return 0, err
  7539  			}
  7540  			i -= size
  7541  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7542  		}
  7543  		i--
  7544  		dAtA[i] = 0x62
  7545  	}
  7546  	return len(dAtA) - i, nil
  7547  }
  7548  func (m *Response_OfferSnapshot) MarshalTo(dAtA []byte) (int, error) {
  7549  	size := m.Size()
  7550  	return m.MarshalToSizedBuffer(dAtA[:size])
  7551  }
  7552  
  7553  func (m *Response_OfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7554  	i := len(dAtA)
  7555  	if m.OfferSnapshot != nil {
  7556  		{
  7557  			size, err := m.OfferSnapshot.MarshalToSizedBuffer(dAtA[:i])
  7558  			if err != nil {
  7559  				return 0, err
  7560  			}
  7561  			i -= size
  7562  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7563  		}
  7564  		i--
  7565  		dAtA[i] = 0x6a
  7566  	}
  7567  	return len(dAtA) - i, nil
  7568  }
  7569  func (m *Response_LoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  7570  	size := m.Size()
  7571  	return m.MarshalToSizedBuffer(dAtA[:size])
  7572  }
  7573  
  7574  func (m *Response_LoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7575  	i := len(dAtA)
  7576  	if m.LoadSnapshotChunk != nil {
  7577  		{
  7578  			size, err := m.LoadSnapshotChunk.MarshalToSizedBuffer(dAtA[:i])
  7579  			if err != nil {
  7580  				return 0, err
  7581  			}
  7582  			i -= size
  7583  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7584  		}
  7585  		i--
  7586  		dAtA[i] = 0x72
  7587  	}
  7588  	return len(dAtA) - i, nil
  7589  }
  7590  func (m *Response_ApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  7591  	size := m.Size()
  7592  	return m.MarshalToSizedBuffer(dAtA[:size])
  7593  }
  7594  
  7595  func (m *Response_ApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7596  	i := len(dAtA)
  7597  	if m.ApplySnapshotChunk != nil {
  7598  		{
  7599  			size, err := m.ApplySnapshotChunk.MarshalToSizedBuffer(dAtA[:i])
  7600  			if err != nil {
  7601  				return 0, err
  7602  			}
  7603  			i -= size
  7604  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7605  		}
  7606  		i--
  7607  		dAtA[i] = 0x7a
  7608  	}
  7609  	return len(dAtA) - i, nil
  7610  }
  7611  func (m *Response_PrepareProposal) MarshalTo(dAtA []byte) (int, error) {
  7612  	size := m.Size()
  7613  	return m.MarshalToSizedBuffer(dAtA[:size])
  7614  }
  7615  
  7616  func (m *Response_PrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7617  	i := len(dAtA)
  7618  	if m.PrepareProposal != nil {
  7619  		{
  7620  			size, err := m.PrepareProposal.MarshalToSizedBuffer(dAtA[:i])
  7621  			if err != nil {
  7622  				return 0, err
  7623  			}
  7624  			i -= size
  7625  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7626  		}
  7627  		i--
  7628  		dAtA[i] = 0x1
  7629  		i--
  7630  		dAtA[i] = 0x82
  7631  	}
  7632  	return len(dAtA) - i, nil
  7633  }
  7634  func (m *Response_ProcessProposal) MarshalTo(dAtA []byte) (int, error) {
  7635  	size := m.Size()
  7636  	return m.MarshalToSizedBuffer(dAtA[:size])
  7637  }
  7638  
  7639  func (m *Response_ProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7640  	i := len(dAtA)
  7641  	if m.ProcessProposal != nil {
  7642  		{
  7643  			size, err := m.ProcessProposal.MarshalToSizedBuffer(dAtA[:i])
  7644  			if err != nil {
  7645  				return 0, err
  7646  			}
  7647  			i -= size
  7648  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7649  		}
  7650  		i--
  7651  		dAtA[i] = 0x1
  7652  		i--
  7653  		dAtA[i] = 0x8a
  7654  	}
  7655  	return len(dAtA) - i, nil
  7656  }
  7657  func (m *Response_ExtendVote) MarshalTo(dAtA []byte) (int, error) {
  7658  	size := m.Size()
  7659  	return m.MarshalToSizedBuffer(dAtA[:size])
  7660  }
  7661  
  7662  func (m *Response_ExtendVote) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7663  	i := len(dAtA)
  7664  	if m.ExtendVote != nil {
  7665  		{
  7666  			size, err := m.ExtendVote.MarshalToSizedBuffer(dAtA[:i])
  7667  			if err != nil {
  7668  				return 0, err
  7669  			}
  7670  			i -= size
  7671  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7672  		}
  7673  		i--
  7674  		dAtA[i] = 0x1
  7675  		i--
  7676  		dAtA[i] = 0x92
  7677  	}
  7678  	return len(dAtA) - i, nil
  7679  }
  7680  func (m *Response_VerifyVoteExtension) MarshalTo(dAtA []byte) (int, error) {
  7681  	size := m.Size()
  7682  	return m.MarshalToSizedBuffer(dAtA[:size])
  7683  }
  7684  
  7685  func (m *Response_VerifyVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7686  	i := len(dAtA)
  7687  	if m.VerifyVoteExtension != nil {
  7688  		{
  7689  			size, err := m.VerifyVoteExtension.MarshalToSizedBuffer(dAtA[:i])
  7690  			if err != nil {
  7691  				return 0, err
  7692  			}
  7693  			i -= size
  7694  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7695  		}
  7696  		i--
  7697  		dAtA[i] = 0x1
  7698  		i--
  7699  		dAtA[i] = 0x9a
  7700  	}
  7701  	return len(dAtA) - i, nil
  7702  }
  7703  func (m *Response_FinalizeBlock) MarshalTo(dAtA []byte) (int, error) {
  7704  	size := m.Size()
  7705  	return m.MarshalToSizedBuffer(dAtA[:size])
  7706  }
  7707  
  7708  func (m *Response_FinalizeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7709  	i := len(dAtA)
  7710  	if m.FinalizeBlock != nil {
  7711  		{
  7712  			size, err := m.FinalizeBlock.MarshalToSizedBuffer(dAtA[:i])
  7713  			if err != nil {
  7714  				return 0, err
  7715  			}
  7716  			i -= size
  7717  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7718  		}
  7719  		i--
  7720  		dAtA[i] = 0x1
  7721  		i--
  7722  		dAtA[i] = 0xa2
  7723  	}
  7724  	return len(dAtA) - i, nil
  7725  }
  7726  func (m *Response_BeginBlock) MarshalTo(dAtA []byte) (int, error) {
  7727  	size := m.Size()
  7728  	return m.MarshalToSizedBuffer(dAtA[:size])
  7729  }
  7730  
  7731  func (m *Response_BeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7732  	i := len(dAtA)
  7733  	if m.BeginBlock != nil {
  7734  		{
  7735  			size, err := m.BeginBlock.MarshalToSizedBuffer(dAtA[:i])
  7736  			if err != nil {
  7737  				return 0, err
  7738  			}
  7739  			i -= size
  7740  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7741  		}
  7742  		i--
  7743  		dAtA[i] = 0x1
  7744  		i--
  7745  		dAtA[i] = 0xaa
  7746  	}
  7747  	return len(dAtA) - i, nil
  7748  }
  7749  func (m *Response_DeliverTx) MarshalTo(dAtA []byte) (int, error) {
  7750  	size := m.Size()
  7751  	return m.MarshalToSizedBuffer(dAtA[:size])
  7752  }
  7753  
  7754  func (m *Response_DeliverTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7755  	i := len(dAtA)
  7756  	if m.DeliverTx != nil {
  7757  		{
  7758  			size, err := m.DeliverTx.MarshalToSizedBuffer(dAtA[:i])
  7759  			if err != nil {
  7760  				return 0, err
  7761  			}
  7762  			i -= size
  7763  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7764  		}
  7765  		i--
  7766  		dAtA[i] = 0x1
  7767  		i--
  7768  		dAtA[i] = 0xb2
  7769  	}
  7770  	return len(dAtA) - i, nil
  7771  }
  7772  func (m *Response_EndBlock) MarshalTo(dAtA []byte) (int, error) {
  7773  	size := m.Size()
  7774  	return m.MarshalToSizedBuffer(dAtA[:size])
  7775  }
  7776  
  7777  func (m *Response_EndBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7778  	i := len(dAtA)
  7779  	if m.EndBlock != nil {
  7780  		{
  7781  			size, err := m.EndBlock.MarshalToSizedBuffer(dAtA[:i])
  7782  			if err != nil {
  7783  				return 0, err
  7784  			}
  7785  			i -= size
  7786  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7787  		}
  7788  		i--
  7789  		dAtA[i] = 0x1
  7790  		i--
  7791  		dAtA[i] = 0xba
  7792  	}
  7793  	return len(dAtA) - i, nil
  7794  }
  7795  func (m *Response_LoadLatest) MarshalTo(dAtA []byte) (int, error) {
  7796  	size := m.Size()
  7797  	return m.MarshalToSizedBuffer(dAtA[:size])
  7798  }
  7799  
  7800  func (m *Response_LoadLatest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7801  	i := len(dAtA)
  7802  	if m.LoadLatest != nil {
  7803  		{
  7804  			size, err := m.LoadLatest.MarshalToSizedBuffer(dAtA[:i])
  7805  			if err != nil {
  7806  				return 0, err
  7807  			}
  7808  			i -= size
  7809  			i = encodeVarintTypes(dAtA, i, uint64(size))
  7810  		}
  7811  		i--
  7812  		dAtA[i] = 0x1
  7813  		i--
  7814  		dAtA[i] = 0xc2
  7815  	}
  7816  	return len(dAtA) - i, nil
  7817  }
  7818  func (m *ResponseException) Marshal() (dAtA []byte, err error) {
  7819  	size := m.Size()
  7820  	dAtA = make([]byte, size)
  7821  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7822  	if err != nil {
  7823  		return nil, err
  7824  	}
  7825  	return dAtA[:n], nil
  7826  }
  7827  
  7828  func (m *ResponseException) MarshalTo(dAtA []byte) (int, error) {
  7829  	size := m.Size()
  7830  	return m.MarshalToSizedBuffer(dAtA[:size])
  7831  }
  7832  
  7833  func (m *ResponseException) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7834  	i := len(dAtA)
  7835  	_ = i
  7836  	var l int
  7837  	_ = l
  7838  	if len(m.Error) > 0 {
  7839  		i -= len(m.Error)
  7840  		copy(dAtA[i:], m.Error)
  7841  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Error)))
  7842  		i--
  7843  		dAtA[i] = 0xa
  7844  	}
  7845  	return len(dAtA) - i, nil
  7846  }
  7847  
  7848  func (m *ResponseEcho) Marshal() (dAtA []byte, err error) {
  7849  	size := m.Size()
  7850  	dAtA = make([]byte, size)
  7851  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7852  	if err != nil {
  7853  		return nil, err
  7854  	}
  7855  	return dAtA[:n], nil
  7856  }
  7857  
  7858  func (m *ResponseEcho) MarshalTo(dAtA []byte) (int, error) {
  7859  	size := m.Size()
  7860  	return m.MarshalToSizedBuffer(dAtA[:size])
  7861  }
  7862  
  7863  func (m *ResponseEcho) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7864  	i := len(dAtA)
  7865  	_ = i
  7866  	var l int
  7867  	_ = l
  7868  	if len(m.Message) > 0 {
  7869  		i -= len(m.Message)
  7870  		copy(dAtA[i:], m.Message)
  7871  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Message)))
  7872  		i--
  7873  		dAtA[i] = 0xa
  7874  	}
  7875  	return len(dAtA) - i, nil
  7876  }
  7877  
  7878  func (m *ResponseFlush) Marshal() (dAtA []byte, err error) {
  7879  	size := m.Size()
  7880  	dAtA = make([]byte, size)
  7881  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7882  	if err != nil {
  7883  		return nil, err
  7884  	}
  7885  	return dAtA[:n], nil
  7886  }
  7887  
  7888  func (m *ResponseFlush) MarshalTo(dAtA []byte) (int, error) {
  7889  	size := m.Size()
  7890  	return m.MarshalToSizedBuffer(dAtA[:size])
  7891  }
  7892  
  7893  func (m *ResponseFlush) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7894  	i := len(dAtA)
  7895  	_ = i
  7896  	var l int
  7897  	_ = l
  7898  	return len(dAtA) - i, nil
  7899  }
  7900  
  7901  func (m *ResponseInfo) Marshal() (dAtA []byte, err error) {
  7902  	size := m.Size()
  7903  	dAtA = make([]byte, size)
  7904  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7905  	if err != nil {
  7906  		return nil, err
  7907  	}
  7908  	return dAtA[:n], nil
  7909  }
  7910  
  7911  func (m *ResponseInfo) MarshalTo(dAtA []byte) (int, error) {
  7912  	size := m.Size()
  7913  	return m.MarshalToSizedBuffer(dAtA[:size])
  7914  }
  7915  
  7916  func (m *ResponseInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7917  	i := len(dAtA)
  7918  	_ = i
  7919  	var l int
  7920  	_ = l
  7921  	if len(m.LastBlockAppHash) > 0 {
  7922  		i -= len(m.LastBlockAppHash)
  7923  		copy(dAtA[i:], m.LastBlockAppHash)
  7924  		i = encodeVarintTypes(dAtA, i, uint64(len(m.LastBlockAppHash)))
  7925  		i--
  7926  		dAtA[i] = 0x2a
  7927  	}
  7928  	if m.LastBlockHeight != 0 {
  7929  		i = encodeVarintTypes(dAtA, i, uint64(m.LastBlockHeight))
  7930  		i--
  7931  		dAtA[i] = 0x20
  7932  	}
  7933  	if m.AppVersion != 0 {
  7934  		i = encodeVarintTypes(dAtA, i, uint64(m.AppVersion))
  7935  		i--
  7936  		dAtA[i] = 0x18
  7937  	}
  7938  	if len(m.Version) > 0 {
  7939  		i -= len(m.Version)
  7940  		copy(dAtA[i:], m.Version)
  7941  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Version)))
  7942  		i--
  7943  		dAtA[i] = 0x12
  7944  	}
  7945  	if len(m.Data) > 0 {
  7946  		i -= len(m.Data)
  7947  		copy(dAtA[i:], m.Data)
  7948  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Data)))
  7949  		i--
  7950  		dAtA[i] = 0xa
  7951  	}
  7952  	return len(dAtA) - i, nil
  7953  }
  7954  
  7955  func (m *ResponseInitChain) Marshal() (dAtA []byte, err error) {
  7956  	size := m.Size()
  7957  	dAtA = make([]byte, size)
  7958  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  7959  	if err != nil {
  7960  		return nil, err
  7961  	}
  7962  	return dAtA[:n], nil
  7963  }
  7964  
  7965  func (m *ResponseInitChain) MarshalTo(dAtA []byte) (int, error) {
  7966  	size := m.Size()
  7967  	return m.MarshalToSizedBuffer(dAtA[:size])
  7968  }
  7969  
  7970  func (m *ResponseInitChain) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  7971  	i := len(dAtA)
  7972  	_ = i
  7973  	var l int
  7974  	_ = l
  7975  	if len(m.AppHash) > 0 {
  7976  		i -= len(m.AppHash)
  7977  		copy(dAtA[i:], m.AppHash)
  7978  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppHash)))
  7979  		i--
  7980  		dAtA[i] = 0x1a
  7981  	}
  7982  	if len(m.Validators) > 0 {
  7983  		for iNdEx := len(m.Validators) - 1; iNdEx >= 0; iNdEx-- {
  7984  			{
  7985  				size, err := m.Validators[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  7986  				if err != nil {
  7987  					return 0, err
  7988  				}
  7989  				i -= size
  7990  				i = encodeVarintTypes(dAtA, i, uint64(size))
  7991  			}
  7992  			i--
  7993  			dAtA[i] = 0x12
  7994  		}
  7995  	}
  7996  	if m.ConsensusParams != nil {
  7997  		{
  7998  			size, err := m.ConsensusParams.MarshalToSizedBuffer(dAtA[:i])
  7999  			if err != nil {
  8000  				return 0, err
  8001  			}
  8002  			i -= size
  8003  			i = encodeVarintTypes(dAtA, i, uint64(size))
  8004  		}
  8005  		i--
  8006  		dAtA[i] = 0xa
  8007  	}
  8008  	return len(dAtA) - i, nil
  8009  }
  8010  
  8011  func (m *ResponseQuery) Marshal() (dAtA []byte, err error) {
  8012  	size := m.Size()
  8013  	dAtA = make([]byte, size)
  8014  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8015  	if err != nil {
  8016  		return nil, err
  8017  	}
  8018  	return dAtA[:n], nil
  8019  }
  8020  
  8021  func (m *ResponseQuery) MarshalTo(dAtA []byte) (int, error) {
  8022  	size := m.Size()
  8023  	return m.MarshalToSizedBuffer(dAtA[:size])
  8024  }
  8025  
  8026  func (m *ResponseQuery) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8027  	i := len(dAtA)
  8028  	_ = i
  8029  	var l int
  8030  	_ = l
  8031  	if len(m.Codespace) > 0 {
  8032  		i -= len(m.Codespace)
  8033  		copy(dAtA[i:], m.Codespace)
  8034  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Codespace)))
  8035  		i--
  8036  		dAtA[i] = 0x52
  8037  	}
  8038  	if m.Height != 0 {
  8039  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  8040  		i--
  8041  		dAtA[i] = 0x48
  8042  	}
  8043  	if m.ProofOps != nil {
  8044  		{
  8045  			size, err := m.ProofOps.MarshalToSizedBuffer(dAtA[:i])
  8046  			if err != nil {
  8047  				return 0, err
  8048  			}
  8049  			i -= size
  8050  			i = encodeVarintTypes(dAtA, i, uint64(size))
  8051  		}
  8052  		i--
  8053  		dAtA[i] = 0x42
  8054  	}
  8055  	if len(m.Value) > 0 {
  8056  		i -= len(m.Value)
  8057  		copy(dAtA[i:], m.Value)
  8058  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Value)))
  8059  		i--
  8060  		dAtA[i] = 0x3a
  8061  	}
  8062  	if len(m.Key) > 0 {
  8063  		i -= len(m.Key)
  8064  		copy(dAtA[i:], m.Key)
  8065  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Key)))
  8066  		i--
  8067  		dAtA[i] = 0x32
  8068  	}
  8069  	if m.Index != 0 {
  8070  		i = encodeVarintTypes(dAtA, i, uint64(m.Index))
  8071  		i--
  8072  		dAtA[i] = 0x28
  8073  	}
  8074  	if len(m.Info) > 0 {
  8075  		i -= len(m.Info)
  8076  		copy(dAtA[i:], m.Info)
  8077  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Info)))
  8078  		i--
  8079  		dAtA[i] = 0x22
  8080  	}
  8081  	if len(m.Log) > 0 {
  8082  		i -= len(m.Log)
  8083  		copy(dAtA[i:], m.Log)
  8084  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Log)))
  8085  		i--
  8086  		dAtA[i] = 0x1a
  8087  	}
  8088  	if m.Code != 0 {
  8089  		i = encodeVarintTypes(dAtA, i, uint64(m.Code))
  8090  		i--
  8091  		dAtA[i] = 0x8
  8092  	}
  8093  	return len(dAtA) - i, nil
  8094  }
  8095  
  8096  func (m *ResponseBeginBlock) Marshal() (dAtA []byte, err error) {
  8097  	size := m.Size()
  8098  	dAtA = make([]byte, size)
  8099  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8100  	if err != nil {
  8101  		return nil, err
  8102  	}
  8103  	return dAtA[:n], nil
  8104  }
  8105  
  8106  func (m *ResponseBeginBlock) MarshalTo(dAtA []byte) (int, error) {
  8107  	size := m.Size()
  8108  	return m.MarshalToSizedBuffer(dAtA[:size])
  8109  }
  8110  
  8111  func (m *ResponseBeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8112  	i := len(dAtA)
  8113  	_ = i
  8114  	var l int
  8115  	_ = l
  8116  	if len(m.Events) > 0 {
  8117  		for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- {
  8118  			{
  8119  				size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8120  				if err != nil {
  8121  					return 0, err
  8122  				}
  8123  				i -= size
  8124  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8125  			}
  8126  			i--
  8127  			dAtA[i] = 0xa
  8128  		}
  8129  	}
  8130  	return len(dAtA) - i, nil
  8131  }
  8132  
  8133  func (m *ResponseCheckTx) Marshal() (dAtA []byte, err error) {
  8134  	size := m.Size()
  8135  	dAtA = make([]byte, size)
  8136  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8137  	if err != nil {
  8138  		return nil, err
  8139  	}
  8140  	return dAtA[:n], nil
  8141  }
  8142  
  8143  func (m *ResponseCheckTx) MarshalTo(dAtA []byte) (int, error) {
  8144  	size := m.Size()
  8145  	return m.MarshalToSizedBuffer(dAtA[:size])
  8146  }
  8147  
  8148  func (m *ResponseCheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8149  	i := len(dAtA)
  8150  	_ = i
  8151  	var l int
  8152  	_ = l
  8153  	if m.Priority != 0 {
  8154  		i = encodeVarintTypes(dAtA, i, uint64(m.Priority))
  8155  		i--
  8156  		dAtA[i] = 0x50
  8157  	}
  8158  	if len(m.Sender) > 0 {
  8159  		i -= len(m.Sender)
  8160  		copy(dAtA[i:], m.Sender)
  8161  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Sender)))
  8162  		i--
  8163  		dAtA[i] = 0x4a
  8164  	}
  8165  	if len(m.Codespace) > 0 {
  8166  		i -= len(m.Codespace)
  8167  		copy(dAtA[i:], m.Codespace)
  8168  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Codespace)))
  8169  		i--
  8170  		dAtA[i] = 0x42
  8171  	}
  8172  	if m.GasWanted != 0 {
  8173  		i = encodeVarintTypes(dAtA, i, uint64(m.GasWanted))
  8174  		i--
  8175  		dAtA[i] = 0x28
  8176  	}
  8177  	if len(m.Log) > 0 {
  8178  		i -= len(m.Log)
  8179  		copy(dAtA[i:], m.Log)
  8180  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Log)))
  8181  		i--
  8182  		dAtA[i] = 0x1a
  8183  	}
  8184  	if len(m.Data) > 0 {
  8185  		i -= len(m.Data)
  8186  		copy(dAtA[i:], m.Data)
  8187  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Data)))
  8188  		i--
  8189  		dAtA[i] = 0x12
  8190  	}
  8191  	if m.Code != 0 {
  8192  		i = encodeVarintTypes(dAtA, i, uint64(m.Code))
  8193  		i--
  8194  		dAtA[i] = 0x8
  8195  	}
  8196  	return len(dAtA) - i, nil
  8197  }
  8198  
  8199  func (m *ResponseDeliverTx) Marshal() (dAtA []byte, err error) {
  8200  	size := m.Size()
  8201  	dAtA = make([]byte, size)
  8202  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8203  	if err != nil {
  8204  		return nil, err
  8205  	}
  8206  	return dAtA[:n], nil
  8207  }
  8208  
  8209  func (m *ResponseDeliverTx) MarshalTo(dAtA []byte) (int, error) {
  8210  	size := m.Size()
  8211  	return m.MarshalToSizedBuffer(dAtA[:size])
  8212  }
  8213  
  8214  func (m *ResponseDeliverTx) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8215  	i := len(dAtA)
  8216  	_ = i
  8217  	var l int
  8218  	_ = l
  8219  	if len(m.Codespace) > 0 {
  8220  		i -= len(m.Codespace)
  8221  		copy(dAtA[i:], m.Codespace)
  8222  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Codespace)))
  8223  		i--
  8224  		dAtA[i] = 0x42
  8225  	}
  8226  	if len(m.Events) > 0 {
  8227  		for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- {
  8228  			{
  8229  				size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8230  				if err != nil {
  8231  					return 0, err
  8232  				}
  8233  				i -= size
  8234  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8235  			}
  8236  			i--
  8237  			dAtA[i] = 0x3a
  8238  		}
  8239  	}
  8240  	if m.GasUsed != 0 {
  8241  		i = encodeVarintTypes(dAtA, i, uint64(m.GasUsed))
  8242  		i--
  8243  		dAtA[i] = 0x30
  8244  	}
  8245  	if m.GasWanted != 0 {
  8246  		i = encodeVarintTypes(dAtA, i, uint64(m.GasWanted))
  8247  		i--
  8248  		dAtA[i] = 0x28
  8249  	}
  8250  	if len(m.Info) > 0 {
  8251  		i -= len(m.Info)
  8252  		copy(dAtA[i:], m.Info)
  8253  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Info)))
  8254  		i--
  8255  		dAtA[i] = 0x22
  8256  	}
  8257  	if len(m.Log) > 0 {
  8258  		i -= len(m.Log)
  8259  		copy(dAtA[i:], m.Log)
  8260  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Log)))
  8261  		i--
  8262  		dAtA[i] = 0x1a
  8263  	}
  8264  	if len(m.Data) > 0 {
  8265  		i -= len(m.Data)
  8266  		copy(dAtA[i:], m.Data)
  8267  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Data)))
  8268  		i--
  8269  		dAtA[i] = 0x12
  8270  	}
  8271  	if m.Code != 0 {
  8272  		i = encodeVarintTypes(dAtA, i, uint64(m.Code))
  8273  		i--
  8274  		dAtA[i] = 0x8
  8275  	}
  8276  	return len(dAtA) - i, nil
  8277  }
  8278  
  8279  func (m *ResponseEndBlock) Marshal() (dAtA []byte, err error) {
  8280  	size := m.Size()
  8281  	dAtA = make([]byte, size)
  8282  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8283  	if err != nil {
  8284  		return nil, err
  8285  	}
  8286  	return dAtA[:n], nil
  8287  }
  8288  
  8289  func (m *ResponseEndBlock) MarshalTo(dAtA []byte) (int, error) {
  8290  	size := m.Size()
  8291  	return m.MarshalToSizedBuffer(dAtA[:size])
  8292  }
  8293  
  8294  func (m *ResponseEndBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8295  	i := len(dAtA)
  8296  	_ = i
  8297  	var l int
  8298  	_ = l
  8299  	if len(m.Events) > 0 {
  8300  		for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- {
  8301  			{
  8302  				size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8303  				if err != nil {
  8304  					return 0, err
  8305  				}
  8306  				i -= size
  8307  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8308  			}
  8309  			i--
  8310  			dAtA[i] = 0x1a
  8311  		}
  8312  	}
  8313  	if m.ConsensusParamUpdates != nil {
  8314  		{
  8315  			size, err := m.ConsensusParamUpdates.MarshalToSizedBuffer(dAtA[:i])
  8316  			if err != nil {
  8317  				return 0, err
  8318  			}
  8319  			i -= size
  8320  			i = encodeVarintTypes(dAtA, i, uint64(size))
  8321  		}
  8322  		i--
  8323  		dAtA[i] = 0x12
  8324  	}
  8325  	if len(m.ValidatorUpdates) > 0 {
  8326  		for iNdEx := len(m.ValidatorUpdates) - 1; iNdEx >= 0; iNdEx-- {
  8327  			{
  8328  				size, err := m.ValidatorUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8329  				if err != nil {
  8330  					return 0, err
  8331  				}
  8332  				i -= size
  8333  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8334  			}
  8335  			i--
  8336  			dAtA[i] = 0xa
  8337  		}
  8338  	}
  8339  	return len(dAtA) - i, nil
  8340  }
  8341  
  8342  func (m *ResponseCommit) Marshal() (dAtA []byte, err error) {
  8343  	size := m.Size()
  8344  	dAtA = make([]byte, size)
  8345  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8346  	if err != nil {
  8347  		return nil, err
  8348  	}
  8349  	return dAtA[:n], nil
  8350  }
  8351  
  8352  func (m *ResponseCommit) MarshalTo(dAtA []byte) (int, error) {
  8353  	size := m.Size()
  8354  	return m.MarshalToSizedBuffer(dAtA[:size])
  8355  }
  8356  
  8357  func (m *ResponseCommit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8358  	i := len(dAtA)
  8359  	_ = i
  8360  	var l int
  8361  	_ = l
  8362  	if m.RetainHeight != 0 {
  8363  		i = encodeVarintTypes(dAtA, i, uint64(m.RetainHeight))
  8364  		i--
  8365  		dAtA[i] = 0x18
  8366  	}
  8367  	return len(dAtA) - i, nil
  8368  }
  8369  
  8370  func (m *ResponseListSnapshots) Marshal() (dAtA []byte, err error) {
  8371  	size := m.Size()
  8372  	dAtA = make([]byte, size)
  8373  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8374  	if err != nil {
  8375  		return nil, err
  8376  	}
  8377  	return dAtA[:n], nil
  8378  }
  8379  
  8380  func (m *ResponseListSnapshots) MarshalTo(dAtA []byte) (int, error) {
  8381  	size := m.Size()
  8382  	return m.MarshalToSizedBuffer(dAtA[:size])
  8383  }
  8384  
  8385  func (m *ResponseListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8386  	i := len(dAtA)
  8387  	_ = i
  8388  	var l int
  8389  	_ = l
  8390  	if len(m.Snapshots) > 0 {
  8391  		for iNdEx := len(m.Snapshots) - 1; iNdEx >= 0; iNdEx-- {
  8392  			{
  8393  				size, err := m.Snapshots[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8394  				if err != nil {
  8395  					return 0, err
  8396  				}
  8397  				i -= size
  8398  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8399  			}
  8400  			i--
  8401  			dAtA[i] = 0xa
  8402  		}
  8403  	}
  8404  	return len(dAtA) - i, nil
  8405  }
  8406  
  8407  func (m *ResponseOfferSnapshot) Marshal() (dAtA []byte, err error) {
  8408  	size := m.Size()
  8409  	dAtA = make([]byte, size)
  8410  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8411  	if err != nil {
  8412  		return nil, err
  8413  	}
  8414  	return dAtA[:n], nil
  8415  }
  8416  
  8417  func (m *ResponseOfferSnapshot) MarshalTo(dAtA []byte) (int, error) {
  8418  	size := m.Size()
  8419  	return m.MarshalToSizedBuffer(dAtA[:size])
  8420  }
  8421  
  8422  func (m *ResponseOfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8423  	i := len(dAtA)
  8424  	_ = i
  8425  	var l int
  8426  	_ = l
  8427  	if m.Result != 0 {
  8428  		i = encodeVarintTypes(dAtA, i, uint64(m.Result))
  8429  		i--
  8430  		dAtA[i] = 0x8
  8431  	}
  8432  	return len(dAtA) - i, nil
  8433  }
  8434  
  8435  func (m *ResponseLoadSnapshotChunk) Marshal() (dAtA []byte, err error) {
  8436  	size := m.Size()
  8437  	dAtA = make([]byte, size)
  8438  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8439  	if err != nil {
  8440  		return nil, err
  8441  	}
  8442  	return dAtA[:n], nil
  8443  }
  8444  
  8445  func (m *ResponseLoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  8446  	size := m.Size()
  8447  	return m.MarshalToSizedBuffer(dAtA[:size])
  8448  }
  8449  
  8450  func (m *ResponseLoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8451  	i := len(dAtA)
  8452  	_ = i
  8453  	var l int
  8454  	_ = l
  8455  	if len(m.Chunk) > 0 {
  8456  		i -= len(m.Chunk)
  8457  		copy(dAtA[i:], m.Chunk)
  8458  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Chunk)))
  8459  		i--
  8460  		dAtA[i] = 0xa
  8461  	}
  8462  	return len(dAtA) - i, nil
  8463  }
  8464  
  8465  func (m *ResponseApplySnapshotChunk) Marshal() (dAtA []byte, err error) {
  8466  	size := m.Size()
  8467  	dAtA = make([]byte, size)
  8468  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8469  	if err != nil {
  8470  		return nil, err
  8471  	}
  8472  	return dAtA[:n], nil
  8473  }
  8474  
  8475  func (m *ResponseApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error) {
  8476  	size := m.Size()
  8477  	return m.MarshalToSizedBuffer(dAtA[:size])
  8478  }
  8479  
  8480  func (m *ResponseApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8481  	i := len(dAtA)
  8482  	_ = i
  8483  	var l int
  8484  	_ = l
  8485  	if len(m.RejectSenders) > 0 {
  8486  		for iNdEx := len(m.RejectSenders) - 1; iNdEx >= 0; iNdEx-- {
  8487  			i -= len(m.RejectSenders[iNdEx])
  8488  			copy(dAtA[i:], m.RejectSenders[iNdEx])
  8489  			i = encodeVarintTypes(dAtA, i, uint64(len(m.RejectSenders[iNdEx])))
  8490  			i--
  8491  			dAtA[i] = 0x1a
  8492  		}
  8493  	}
  8494  	if len(m.RefetchChunks) > 0 {
  8495  		dAtA57 := make([]byte, len(m.RefetchChunks)*10)
  8496  		var j56 int
  8497  		for _, num := range m.RefetchChunks {
  8498  			for num >= 1<<7 {
  8499  				dAtA57[j56] = uint8(uint64(num)&0x7f | 0x80)
  8500  				num >>= 7
  8501  				j56++
  8502  			}
  8503  			dAtA57[j56] = uint8(num)
  8504  			j56++
  8505  		}
  8506  		i -= j56
  8507  		copy(dAtA[i:], dAtA57[:j56])
  8508  		i = encodeVarintTypes(dAtA, i, uint64(j56))
  8509  		i--
  8510  		dAtA[i] = 0x12
  8511  	}
  8512  	if m.Result != 0 {
  8513  		i = encodeVarintTypes(dAtA, i, uint64(m.Result))
  8514  		i--
  8515  		dAtA[i] = 0x8
  8516  	}
  8517  	return len(dAtA) - i, nil
  8518  }
  8519  
  8520  func (m *ResponsePrepareProposal) Marshal() (dAtA []byte, err error) {
  8521  	size := m.Size()
  8522  	dAtA = make([]byte, size)
  8523  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8524  	if err != nil {
  8525  		return nil, err
  8526  	}
  8527  	return dAtA[:n], nil
  8528  }
  8529  
  8530  func (m *ResponsePrepareProposal) MarshalTo(dAtA []byte) (int, error) {
  8531  	size := m.Size()
  8532  	return m.MarshalToSizedBuffer(dAtA[:size])
  8533  }
  8534  
  8535  func (m *ResponsePrepareProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8536  	i := len(dAtA)
  8537  	_ = i
  8538  	var l int
  8539  	_ = l
  8540  	if m.ConsensusParamUpdates != nil {
  8541  		{
  8542  			size, err := m.ConsensusParamUpdates.MarshalToSizedBuffer(dAtA[:i])
  8543  			if err != nil {
  8544  				return 0, err
  8545  			}
  8546  			i -= size
  8547  			i = encodeVarintTypes(dAtA, i, uint64(size))
  8548  		}
  8549  		i--
  8550  		dAtA[i] = 0x2a
  8551  	}
  8552  	if len(m.ValidatorUpdates) > 0 {
  8553  		for iNdEx := len(m.ValidatorUpdates) - 1; iNdEx >= 0; iNdEx-- {
  8554  			{
  8555  				size, err := m.ValidatorUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8556  				if err != nil {
  8557  					return 0, err
  8558  				}
  8559  				i -= size
  8560  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8561  			}
  8562  			i--
  8563  			dAtA[i] = 0x22
  8564  		}
  8565  	}
  8566  	if len(m.TxResults) > 0 {
  8567  		for iNdEx := len(m.TxResults) - 1; iNdEx >= 0; iNdEx-- {
  8568  			{
  8569  				size, err := m.TxResults[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8570  				if err != nil {
  8571  					return 0, err
  8572  				}
  8573  				i -= size
  8574  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8575  			}
  8576  			i--
  8577  			dAtA[i] = 0x1a
  8578  		}
  8579  	}
  8580  	if len(m.AppHash) > 0 {
  8581  		i -= len(m.AppHash)
  8582  		copy(dAtA[i:], m.AppHash)
  8583  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppHash)))
  8584  		i--
  8585  		dAtA[i] = 0x12
  8586  	}
  8587  	if len(m.TxRecords) > 0 {
  8588  		for iNdEx := len(m.TxRecords) - 1; iNdEx >= 0; iNdEx-- {
  8589  			{
  8590  				size, err := m.TxRecords[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8591  				if err != nil {
  8592  					return 0, err
  8593  				}
  8594  				i -= size
  8595  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8596  			}
  8597  			i--
  8598  			dAtA[i] = 0xa
  8599  		}
  8600  	}
  8601  	return len(dAtA) - i, nil
  8602  }
  8603  
  8604  func (m *ResponseProcessProposal) Marshal() (dAtA []byte, err error) {
  8605  	size := m.Size()
  8606  	dAtA = make([]byte, size)
  8607  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8608  	if err != nil {
  8609  		return nil, err
  8610  	}
  8611  	return dAtA[:n], nil
  8612  }
  8613  
  8614  func (m *ResponseProcessProposal) MarshalTo(dAtA []byte) (int, error) {
  8615  	size := m.Size()
  8616  	return m.MarshalToSizedBuffer(dAtA[:size])
  8617  }
  8618  
  8619  func (m *ResponseProcessProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8620  	i := len(dAtA)
  8621  	_ = i
  8622  	var l int
  8623  	_ = l
  8624  	if m.ConsensusParamUpdates != nil {
  8625  		{
  8626  			size, err := m.ConsensusParamUpdates.MarshalToSizedBuffer(dAtA[:i])
  8627  			if err != nil {
  8628  				return 0, err
  8629  			}
  8630  			i -= size
  8631  			i = encodeVarintTypes(dAtA, i, uint64(size))
  8632  		}
  8633  		i--
  8634  		dAtA[i] = 0x2a
  8635  	}
  8636  	if len(m.ValidatorUpdates) > 0 {
  8637  		for iNdEx := len(m.ValidatorUpdates) - 1; iNdEx >= 0; iNdEx-- {
  8638  			{
  8639  				size, err := m.ValidatorUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8640  				if err != nil {
  8641  					return 0, err
  8642  				}
  8643  				i -= size
  8644  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8645  			}
  8646  			i--
  8647  			dAtA[i] = 0x22
  8648  		}
  8649  	}
  8650  	if len(m.TxResults) > 0 {
  8651  		for iNdEx := len(m.TxResults) - 1; iNdEx >= 0; iNdEx-- {
  8652  			{
  8653  				size, err := m.TxResults[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8654  				if err != nil {
  8655  					return 0, err
  8656  				}
  8657  				i -= size
  8658  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8659  			}
  8660  			i--
  8661  			dAtA[i] = 0x1a
  8662  		}
  8663  	}
  8664  	if len(m.AppHash) > 0 {
  8665  		i -= len(m.AppHash)
  8666  		copy(dAtA[i:], m.AppHash)
  8667  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppHash)))
  8668  		i--
  8669  		dAtA[i] = 0x12
  8670  	}
  8671  	if m.Status != 0 {
  8672  		i = encodeVarintTypes(dAtA, i, uint64(m.Status))
  8673  		i--
  8674  		dAtA[i] = 0x8
  8675  	}
  8676  	return len(dAtA) - i, nil
  8677  }
  8678  
  8679  func (m *ResponseExtendVote) Marshal() (dAtA []byte, err error) {
  8680  	size := m.Size()
  8681  	dAtA = make([]byte, size)
  8682  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8683  	if err != nil {
  8684  		return nil, err
  8685  	}
  8686  	return dAtA[:n], nil
  8687  }
  8688  
  8689  func (m *ResponseExtendVote) MarshalTo(dAtA []byte) (int, error) {
  8690  	size := m.Size()
  8691  	return m.MarshalToSizedBuffer(dAtA[:size])
  8692  }
  8693  
  8694  func (m *ResponseExtendVote) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8695  	i := len(dAtA)
  8696  	_ = i
  8697  	var l int
  8698  	_ = l
  8699  	if len(m.VoteExtension) > 0 {
  8700  		i -= len(m.VoteExtension)
  8701  		copy(dAtA[i:], m.VoteExtension)
  8702  		i = encodeVarintTypes(dAtA, i, uint64(len(m.VoteExtension)))
  8703  		i--
  8704  		dAtA[i] = 0xa
  8705  	}
  8706  	return len(dAtA) - i, nil
  8707  }
  8708  
  8709  func (m *ResponseVerifyVoteExtension) Marshal() (dAtA []byte, err error) {
  8710  	size := m.Size()
  8711  	dAtA = make([]byte, size)
  8712  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8713  	if err != nil {
  8714  		return nil, err
  8715  	}
  8716  	return dAtA[:n], nil
  8717  }
  8718  
  8719  func (m *ResponseVerifyVoteExtension) MarshalTo(dAtA []byte) (int, error) {
  8720  	size := m.Size()
  8721  	return m.MarshalToSizedBuffer(dAtA[:size])
  8722  }
  8723  
  8724  func (m *ResponseVerifyVoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8725  	i := len(dAtA)
  8726  	_ = i
  8727  	var l int
  8728  	_ = l
  8729  	if m.Status != 0 {
  8730  		i = encodeVarintTypes(dAtA, i, uint64(m.Status))
  8731  		i--
  8732  		dAtA[i] = 0x8
  8733  	}
  8734  	return len(dAtA) - i, nil
  8735  }
  8736  
  8737  func (m *ResponseFinalizeBlock) Marshal() (dAtA []byte, err error) {
  8738  	size := m.Size()
  8739  	dAtA = make([]byte, size)
  8740  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8741  	if err != nil {
  8742  		return nil, err
  8743  	}
  8744  	return dAtA[:n], nil
  8745  }
  8746  
  8747  func (m *ResponseFinalizeBlock) MarshalTo(dAtA []byte) (int, error) {
  8748  	size := m.Size()
  8749  	return m.MarshalToSizedBuffer(dAtA[:size])
  8750  }
  8751  
  8752  func (m *ResponseFinalizeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8753  	i := len(dAtA)
  8754  	_ = i
  8755  	var l int
  8756  	_ = l
  8757  	if len(m.AppHash) > 0 {
  8758  		i -= len(m.AppHash)
  8759  		copy(dAtA[i:], m.AppHash)
  8760  		i = encodeVarintTypes(dAtA, i, uint64(len(m.AppHash)))
  8761  		i--
  8762  		dAtA[i] = 0x2a
  8763  	}
  8764  	if m.ConsensusParamUpdates != nil {
  8765  		{
  8766  			size, err := m.ConsensusParamUpdates.MarshalToSizedBuffer(dAtA[:i])
  8767  			if err != nil {
  8768  				return 0, err
  8769  			}
  8770  			i -= size
  8771  			i = encodeVarintTypes(dAtA, i, uint64(size))
  8772  		}
  8773  		i--
  8774  		dAtA[i] = 0x22
  8775  	}
  8776  	if len(m.ValidatorUpdates) > 0 {
  8777  		for iNdEx := len(m.ValidatorUpdates) - 1; iNdEx >= 0; iNdEx-- {
  8778  			{
  8779  				size, err := m.ValidatorUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8780  				if err != nil {
  8781  					return 0, err
  8782  				}
  8783  				i -= size
  8784  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8785  			}
  8786  			i--
  8787  			dAtA[i] = 0x1a
  8788  		}
  8789  	}
  8790  	if len(m.TxResults) > 0 {
  8791  		for iNdEx := len(m.TxResults) - 1; iNdEx >= 0; iNdEx-- {
  8792  			{
  8793  				size, err := m.TxResults[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8794  				if err != nil {
  8795  					return 0, err
  8796  				}
  8797  				i -= size
  8798  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8799  			}
  8800  			i--
  8801  			dAtA[i] = 0x12
  8802  		}
  8803  	}
  8804  	if len(m.Events) > 0 {
  8805  		for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- {
  8806  			{
  8807  				size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8808  				if err != nil {
  8809  					return 0, err
  8810  				}
  8811  				i -= size
  8812  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8813  			}
  8814  			i--
  8815  			dAtA[i] = 0xa
  8816  		}
  8817  	}
  8818  	return len(dAtA) - i, nil
  8819  }
  8820  
  8821  func (m *ResponseLoadLatest) Marshal() (dAtA []byte, err error) {
  8822  	size := m.Size()
  8823  	dAtA = make([]byte, size)
  8824  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8825  	if err != nil {
  8826  		return nil, err
  8827  	}
  8828  	return dAtA[:n], nil
  8829  }
  8830  
  8831  func (m *ResponseLoadLatest) MarshalTo(dAtA []byte) (int, error) {
  8832  	size := m.Size()
  8833  	return m.MarshalToSizedBuffer(dAtA[:size])
  8834  }
  8835  
  8836  func (m *ResponseLoadLatest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8837  	i := len(dAtA)
  8838  	_ = i
  8839  	var l int
  8840  	_ = l
  8841  	return len(dAtA) - i, nil
  8842  }
  8843  
  8844  func (m *CommitInfo) Marshal() (dAtA []byte, err error) {
  8845  	size := m.Size()
  8846  	dAtA = make([]byte, size)
  8847  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8848  	if err != nil {
  8849  		return nil, err
  8850  	}
  8851  	return dAtA[:n], nil
  8852  }
  8853  
  8854  func (m *CommitInfo) MarshalTo(dAtA []byte) (int, error) {
  8855  	size := m.Size()
  8856  	return m.MarshalToSizedBuffer(dAtA[:size])
  8857  }
  8858  
  8859  func (m *CommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8860  	i := len(dAtA)
  8861  	_ = i
  8862  	var l int
  8863  	_ = l
  8864  	if len(m.Votes) > 0 {
  8865  		for iNdEx := len(m.Votes) - 1; iNdEx >= 0; iNdEx-- {
  8866  			{
  8867  				size, err := m.Votes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8868  				if err != nil {
  8869  					return 0, err
  8870  				}
  8871  				i -= size
  8872  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8873  			}
  8874  			i--
  8875  			dAtA[i] = 0x12
  8876  		}
  8877  	}
  8878  	if m.Round != 0 {
  8879  		i = encodeVarintTypes(dAtA, i, uint64(m.Round))
  8880  		i--
  8881  		dAtA[i] = 0x8
  8882  	}
  8883  	return len(dAtA) - i, nil
  8884  }
  8885  
  8886  func (m *LastCommitInfo) Marshal() (dAtA []byte, err error) {
  8887  	size := m.Size()
  8888  	dAtA = make([]byte, size)
  8889  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8890  	if err != nil {
  8891  		return nil, err
  8892  	}
  8893  	return dAtA[:n], nil
  8894  }
  8895  
  8896  func (m *LastCommitInfo) MarshalTo(dAtA []byte) (int, error) {
  8897  	size := m.Size()
  8898  	return m.MarshalToSizedBuffer(dAtA[:size])
  8899  }
  8900  
  8901  func (m *LastCommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8902  	i := len(dAtA)
  8903  	_ = i
  8904  	var l int
  8905  	_ = l
  8906  	if len(m.Votes) > 0 {
  8907  		for iNdEx := len(m.Votes) - 1; iNdEx >= 0; iNdEx-- {
  8908  			{
  8909  				size, err := m.Votes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8910  				if err != nil {
  8911  					return 0, err
  8912  				}
  8913  				i -= size
  8914  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8915  			}
  8916  			i--
  8917  			dAtA[i] = 0x12
  8918  		}
  8919  	}
  8920  	if m.Round != 0 {
  8921  		i = encodeVarintTypes(dAtA, i, uint64(m.Round))
  8922  		i--
  8923  		dAtA[i] = 0x8
  8924  	}
  8925  	return len(dAtA) - i, nil
  8926  }
  8927  
  8928  func (m *ExtendedCommitInfo) Marshal() (dAtA []byte, err error) {
  8929  	size := m.Size()
  8930  	dAtA = make([]byte, size)
  8931  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8932  	if err != nil {
  8933  		return nil, err
  8934  	}
  8935  	return dAtA[:n], nil
  8936  }
  8937  
  8938  func (m *ExtendedCommitInfo) MarshalTo(dAtA []byte) (int, error) {
  8939  	size := m.Size()
  8940  	return m.MarshalToSizedBuffer(dAtA[:size])
  8941  }
  8942  
  8943  func (m *ExtendedCommitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8944  	i := len(dAtA)
  8945  	_ = i
  8946  	var l int
  8947  	_ = l
  8948  	if len(m.Votes) > 0 {
  8949  		for iNdEx := len(m.Votes) - 1; iNdEx >= 0; iNdEx-- {
  8950  			{
  8951  				size, err := m.Votes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8952  				if err != nil {
  8953  					return 0, err
  8954  				}
  8955  				i -= size
  8956  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8957  			}
  8958  			i--
  8959  			dAtA[i] = 0x12
  8960  		}
  8961  	}
  8962  	if m.Round != 0 {
  8963  		i = encodeVarintTypes(dAtA, i, uint64(m.Round))
  8964  		i--
  8965  		dAtA[i] = 0x8
  8966  	}
  8967  	return len(dAtA) - i, nil
  8968  }
  8969  
  8970  func (m *Event) Marshal() (dAtA []byte, err error) {
  8971  	size := m.Size()
  8972  	dAtA = make([]byte, size)
  8973  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  8974  	if err != nil {
  8975  		return nil, err
  8976  	}
  8977  	return dAtA[:n], nil
  8978  }
  8979  
  8980  func (m *Event) MarshalTo(dAtA []byte) (int, error) {
  8981  	size := m.Size()
  8982  	return m.MarshalToSizedBuffer(dAtA[:size])
  8983  }
  8984  
  8985  func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  8986  	i := len(dAtA)
  8987  	_ = i
  8988  	var l int
  8989  	_ = l
  8990  	if len(m.Attributes) > 0 {
  8991  		for iNdEx := len(m.Attributes) - 1; iNdEx >= 0; iNdEx-- {
  8992  			{
  8993  				size, err := m.Attributes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  8994  				if err != nil {
  8995  					return 0, err
  8996  				}
  8997  				i -= size
  8998  				i = encodeVarintTypes(dAtA, i, uint64(size))
  8999  			}
  9000  			i--
  9001  			dAtA[i] = 0x12
  9002  		}
  9003  	}
  9004  	if len(m.Type) > 0 {
  9005  		i -= len(m.Type)
  9006  		copy(dAtA[i:], m.Type)
  9007  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Type)))
  9008  		i--
  9009  		dAtA[i] = 0xa
  9010  	}
  9011  	return len(dAtA) - i, nil
  9012  }
  9013  
  9014  func (m *EventAttribute) Marshal() (dAtA []byte, err error) {
  9015  	size := m.Size()
  9016  	dAtA = make([]byte, size)
  9017  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9018  	if err != nil {
  9019  		return nil, err
  9020  	}
  9021  	return dAtA[:n], nil
  9022  }
  9023  
  9024  func (m *EventAttribute) MarshalTo(dAtA []byte) (int, error) {
  9025  	size := m.Size()
  9026  	return m.MarshalToSizedBuffer(dAtA[:size])
  9027  }
  9028  
  9029  func (m *EventAttribute) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9030  	i := len(dAtA)
  9031  	_ = i
  9032  	var l int
  9033  	_ = l
  9034  	if m.Index {
  9035  		i--
  9036  		if m.Index {
  9037  			dAtA[i] = 1
  9038  		} else {
  9039  			dAtA[i] = 0
  9040  		}
  9041  		i--
  9042  		dAtA[i] = 0x18
  9043  	}
  9044  	if len(m.Value) > 0 {
  9045  		i -= len(m.Value)
  9046  		copy(dAtA[i:], m.Value)
  9047  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Value)))
  9048  		i--
  9049  		dAtA[i] = 0x12
  9050  	}
  9051  	if len(m.Key) > 0 {
  9052  		i -= len(m.Key)
  9053  		copy(dAtA[i:], m.Key)
  9054  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Key)))
  9055  		i--
  9056  		dAtA[i] = 0xa
  9057  	}
  9058  	return len(dAtA) - i, nil
  9059  }
  9060  
  9061  func (m *ExecTxResult) Marshal() (dAtA []byte, err error) {
  9062  	size := m.Size()
  9063  	dAtA = make([]byte, size)
  9064  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9065  	if err != nil {
  9066  		return nil, err
  9067  	}
  9068  	return dAtA[:n], nil
  9069  }
  9070  
  9071  func (m *ExecTxResult) MarshalTo(dAtA []byte) (int, error) {
  9072  	size := m.Size()
  9073  	return m.MarshalToSizedBuffer(dAtA[:size])
  9074  }
  9075  
  9076  func (m *ExecTxResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9077  	i := len(dAtA)
  9078  	_ = i
  9079  	var l int
  9080  	_ = l
  9081  	if len(m.Codespace) > 0 {
  9082  		i -= len(m.Codespace)
  9083  		copy(dAtA[i:], m.Codespace)
  9084  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Codespace)))
  9085  		i--
  9086  		dAtA[i] = 0x42
  9087  	}
  9088  	if len(m.Events) > 0 {
  9089  		for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- {
  9090  			{
  9091  				size, err := m.Events[iNdEx].MarshalToSizedBuffer(dAtA[:i])
  9092  				if err != nil {
  9093  					return 0, err
  9094  				}
  9095  				i -= size
  9096  				i = encodeVarintTypes(dAtA, i, uint64(size))
  9097  			}
  9098  			i--
  9099  			dAtA[i] = 0x3a
  9100  		}
  9101  	}
  9102  	if m.GasUsed != 0 {
  9103  		i = encodeVarintTypes(dAtA, i, uint64(m.GasUsed))
  9104  		i--
  9105  		dAtA[i] = 0x30
  9106  	}
  9107  	if m.GasWanted != 0 {
  9108  		i = encodeVarintTypes(dAtA, i, uint64(m.GasWanted))
  9109  		i--
  9110  		dAtA[i] = 0x28
  9111  	}
  9112  	if len(m.Info) > 0 {
  9113  		i -= len(m.Info)
  9114  		copy(dAtA[i:], m.Info)
  9115  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Info)))
  9116  		i--
  9117  		dAtA[i] = 0x22
  9118  	}
  9119  	if len(m.Log) > 0 {
  9120  		i -= len(m.Log)
  9121  		copy(dAtA[i:], m.Log)
  9122  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Log)))
  9123  		i--
  9124  		dAtA[i] = 0x1a
  9125  	}
  9126  	if len(m.Data) > 0 {
  9127  		i -= len(m.Data)
  9128  		copy(dAtA[i:], m.Data)
  9129  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Data)))
  9130  		i--
  9131  		dAtA[i] = 0x12
  9132  	}
  9133  	if m.Code != 0 {
  9134  		i = encodeVarintTypes(dAtA, i, uint64(m.Code))
  9135  		i--
  9136  		dAtA[i] = 0x8
  9137  	}
  9138  	return len(dAtA) - i, nil
  9139  }
  9140  
  9141  func (m *TxResult) Marshal() (dAtA []byte, err error) {
  9142  	size := m.Size()
  9143  	dAtA = make([]byte, size)
  9144  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9145  	if err != nil {
  9146  		return nil, err
  9147  	}
  9148  	return dAtA[:n], nil
  9149  }
  9150  
  9151  func (m *TxResult) MarshalTo(dAtA []byte) (int, error) {
  9152  	size := m.Size()
  9153  	return m.MarshalToSizedBuffer(dAtA[:size])
  9154  }
  9155  
  9156  func (m *TxResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9157  	i := len(dAtA)
  9158  	_ = i
  9159  	var l int
  9160  	_ = l
  9161  	{
  9162  		size, err := m.Result.MarshalToSizedBuffer(dAtA[:i])
  9163  		if err != nil {
  9164  			return 0, err
  9165  		}
  9166  		i -= size
  9167  		i = encodeVarintTypes(dAtA, i, uint64(size))
  9168  	}
  9169  	i--
  9170  	dAtA[i] = 0x22
  9171  	if len(m.Tx) > 0 {
  9172  		i -= len(m.Tx)
  9173  		copy(dAtA[i:], m.Tx)
  9174  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Tx)))
  9175  		i--
  9176  		dAtA[i] = 0x1a
  9177  	}
  9178  	if m.Index != 0 {
  9179  		i = encodeVarintTypes(dAtA, i, uint64(m.Index))
  9180  		i--
  9181  		dAtA[i] = 0x10
  9182  	}
  9183  	if m.Height != 0 {
  9184  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  9185  		i--
  9186  		dAtA[i] = 0x8
  9187  	}
  9188  	return len(dAtA) - i, nil
  9189  }
  9190  
  9191  func (m *TxRecord) Marshal() (dAtA []byte, err error) {
  9192  	size := m.Size()
  9193  	dAtA = make([]byte, size)
  9194  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9195  	if err != nil {
  9196  		return nil, err
  9197  	}
  9198  	return dAtA[:n], nil
  9199  }
  9200  
  9201  func (m *TxRecord) MarshalTo(dAtA []byte) (int, error) {
  9202  	size := m.Size()
  9203  	return m.MarshalToSizedBuffer(dAtA[:size])
  9204  }
  9205  
  9206  func (m *TxRecord) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9207  	i := len(dAtA)
  9208  	_ = i
  9209  	var l int
  9210  	_ = l
  9211  	if len(m.Tx) > 0 {
  9212  		i -= len(m.Tx)
  9213  		copy(dAtA[i:], m.Tx)
  9214  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Tx)))
  9215  		i--
  9216  		dAtA[i] = 0x12
  9217  	}
  9218  	if m.Action != 0 {
  9219  		i = encodeVarintTypes(dAtA, i, uint64(m.Action))
  9220  		i--
  9221  		dAtA[i] = 0x8
  9222  	}
  9223  	return len(dAtA) - i, nil
  9224  }
  9225  
  9226  func (m *BlockParams) Marshal() (dAtA []byte, err error) {
  9227  	size := m.Size()
  9228  	dAtA = make([]byte, size)
  9229  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9230  	if err != nil {
  9231  		return nil, err
  9232  	}
  9233  	return dAtA[:n], nil
  9234  }
  9235  
  9236  func (m *BlockParams) MarshalTo(dAtA []byte) (int, error) {
  9237  	size := m.Size()
  9238  	return m.MarshalToSizedBuffer(dAtA[:size])
  9239  }
  9240  
  9241  func (m *BlockParams) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9242  	i := len(dAtA)
  9243  	_ = i
  9244  	var l int
  9245  	_ = l
  9246  	if m.MaxGas != 0 {
  9247  		i = encodeVarintTypes(dAtA, i, uint64(m.MaxGas))
  9248  		i--
  9249  		dAtA[i] = 0x10
  9250  	}
  9251  	if m.MaxBytes != 0 {
  9252  		i = encodeVarintTypes(dAtA, i, uint64(m.MaxBytes))
  9253  		i--
  9254  		dAtA[i] = 0x8
  9255  	}
  9256  	return len(dAtA) - i, nil
  9257  }
  9258  
  9259  func (m *ConsensusParams) Marshal() (dAtA []byte, err error) {
  9260  	size := m.Size()
  9261  	dAtA = make([]byte, size)
  9262  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9263  	if err != nil {
  9264  		return nil, err
  9265  	}
  9266  	return dAtA[:n], nil
  9267  }
  9268  
  9269  func (m *ConsensusParams) MarshalTo(dAtA []byte) (int, error) {
  9270  	size := m.Size()
  9271  	return m.MarshalToSizedBuffer(dAtA[:size])
  9272  }
  9273  
  9274  func (m *ConsensusParams) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9275  	i := len(dAtA)
  9276  	_ = i
  9277  	var l int
  9278  	_ = l
  9279  	if m.Version != nil {
  9280  		{
  9281  			size, err := m.Version.MarshalToSizedBuffer(dAtA[:i])
  9282  			if err != nil {
  9283  				return 0, err
  9284  			}
  9285  			i -= size
  9286  			i = encodeVarintTypes(dAtA, i, uint64(size))
  9287  		}
  9288  		i--
  9289  		dAtA[i] = 0x22
  9290  	}
  9291  	if m.Validator != nil {
  9292  		{
  9293  			size, err := m.Validator.MarshalToSizedBuffer(dAtA[:i])
  9294  			if err != nil {
  9295  				return 0, err
  9296  			}
  9297  			i -= size
  9298  			i = encodeVarintTypes(dAtA, i, uint64(size))
  9299  		}
  9300  		i--
  9301  		dAtA[i] = 0x1a
  9302  	}
  9303  	if m.Evidence != nil {
  9304  		{
  9305  			size, err := m.Evidence.MarshalToSizedBuffer(dAtA[:i])
  9306  			if err != nil {
  9307  				return 0, err
  9308  			}
  9309  			i -= size
  9310  			i = encodeVarintTypes(dAtA, i, uint64(size))
  9311  		}
  9312  		i--
  9313  		dAtA[i] = 0x12
  9314  	}
  9315  	if m.Block != nil {
  9316  		{
  9317  			size, err := m.Block.MarshalToSizedBuffer(dAtA[:i])
  9318  			if err != nil {
  9319  				return 0, err
  9320  			}
  9321  			i -= size
  9322  			i = encodeVarintTypes(dAtA, i, uint64(size))
  9323  		}
  9324  		i--
  9325  		dAtA[i] = 0xa
  9326  	}
  9327  	return len(dAtA) - i, nil
  9328  }
  9329  
  9330  func (m *Validator) Marshal() (dAtA []byte, err error) {
  9331  	size := m.Size()
  9332  	dAtA = make([]byte, size)
  9333  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9334  	if err != nil {
  9335  		return nil, err
  9336  	}
  9337  	return dAtA[:n], nil
  9338  }
  9339  
  9340  func (m *Validator) MarshalTo(dAtA []byte) (int, error) {
  9341  	size := m.Size()
  9342  	return m.MarshalToSizedBuffer(dAtA[:size])
  9343  }
  9344  
  9345  func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9346  	i := len(dAtA)
  9347  	_ = i
  9348  	var l int
  9349  	_ = l
  9350  	if m.Power != 0 {
  9351  		i = encodeVarintTypes(dAtA, i, uint64(m.Power))
  9352  		i--
  9353  		dAtA[i] = 0x18
  9354  	}
  9355  	if len(m.Address) > 0 {
  9356  		i -= len(m.Address)
  9357  		copy(dAtA[i:], m.Address)
  9358  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Address)))
  9359  		i--
  9360  		dAtA[i] = 0xa
  9361  	}
  9362  	return len(dAtA) - i, nil
  9363  }
  9364  
  9365  func (m *ValidatorUpdate) Marshal() (dAtA []byte, err error) {
  9366  	size := m.Size()
  9367  	dAtA = make([]byte, size)
  9368  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9369  	if err != nil {
  9370  		return nil, err
  9371  	}
  9372  	return dAtA[:n], nil
  9373  }
  9374  
  9375  func (m *ValidatorUpdate) MarshalTo(dAtA []byte) (int, error) {
  9376  	size := m.Size()
  9377  	return m.MarshalToSizedBuffer(dAtA[:size])
  9378  }
  9379  
  9380  func (m *ValidatorUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9381  	i := len(dAtA)
  9382  	_ = i
  9383  	var l int
  9384  	_ = l
  9385  	if m.Power != 0 {
  9386  		i = encodeVarintTypes(dAtA, i, uint64(m.Power))
  9387  		i--
  9388  		dAtA[i] = 0x10
  9389  	}
  9390  	{
  9391  		size, err := m.PubKey.MarshalToSizedBuffer(dAtA[:i])
  9392  		if err != nil {
  9393  			return 0, err
  9394  		}
  9395  		i -= size
  9396  		i = encodeVarintTypes(dAtA, i, uint64(size))
  9397  	}
  9398  	i--
  9399  	dAtA[i] = 0xa
  9400  	return len(dAtA) - i, nil
  9401  }
  9402  
  9403  func (m *VoteInfo) Marshal() (dAtA []byte, err error) {
  9404  	size := m.Size()
  9405  	dAtA = make([]byte, size)
  9406  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9407  	if err != nil {
  9408  		return nil, err
  9409  	}
  9410  	return dAtA[:n], nil
  9411  }
  9412  
  9413  func (m *VoteInfo) MarshalTo(dAtA []byte) (int, error) {
  9414  	size := m.Size()
  9415  	return m.MarshalToSizedBuffer(dAtA[:size])
  9416  }
  9417  
  9418  func (m *VoteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9419  	i := len(dAtA)
  9420  	_ = i
  9421  	var l int
  9422  	_ = l
  9423  	if m.SignedLastBlock {
  9424  		i--
  9425  		if m.SignedLastBlock {
  9426  			dAtA[i] = 1
  9427  		} else {
  9428  			dAtA[i] = 0
  9429  		}
  9430  		i--
  9431  		dAtA[i] = 0x10
  9432  	}
  9433  	{
  9434  		size, err := m.Validator.MarshalToSizedBuffer(dAtA[:i])
  9435  		if err != nil {
  9436  			return 0, err
  9437  		}
  9438  		i -= size
  9439  		i = encodeVarintTypes(dAtA, i, uint64(size))
  9440  	}
  9441  	i--
  9442  	dAtA[i] = 0xa
  9443  	return len(dAtA) - i, nil
  9444  }
  9445  
  9446  func (m *ExtendedVoteInfo) Marshal() (dAtA []byte, err error) {
  9447  	size := m.Size()
  9448  	dAtA = make([]byte, size)
  9449  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9450  	if err != nil {
  9451  		return nil, err
  9452  	}
  9453  	return dAtA[:n], nil
  9454  }
  9455  
  9456  func (m *ExtendedVoteInfo) MarshalTo(dAtA []byte) (int, error) {
  9457  	size := m.Size()
  9458  	return m.MarshalToSizedBuffer(dAtA[:size])
  9459  }
  9460  
  9461  func (m *ExtendedVoteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9462  	i := len(dAtA)
  9463  	_ = i
  9464  	var l int
  9465  	_ = l
  9466  	if len(m.VoteExtension) > 0 {
  9467  		i -= len(m.VoteExtension)
  9468  		copy(dAtA[i:], m.VoteExtension)
  9469  		i = encodeVarintTypes(dAtA, i, uint64(len(m.VoteExtension)))
  9470  		i--
  9471  		dAtA[i] = 0x1a
  9472  	}
  9473  	if m.SignedLastBlock {
  9474  		i--
  9475  		if m.SignedLastBlock {
  9476  			dAtA[i] = 1
  9477  		} else {
  9478  			dAtA[i] = 0
  9479  		}
  9480  		i--
  9481  		dAtA[i] = 0x10
  9482  	}
  9483  	{
  9484  		size, err := m.Validator.MarshalToSizedBuffer(dAtA[:i])
  9485  		if err != nil {
  9486  			return 0, err
  9487  		}
  9488  		i -= size
  9489  		i = encodeVarintTypes(dAtA, i, uint64(size))
  9490  	}
  9491  	i--
  9492  	dAtA[i] = 0xa
  9493  	return len(dAtA) - i, nil
  9494  }
  9495  
  9496  func (m *Misbehavior) Marshal() (dAtA []byte, err error) {
  9497  	size := m.Size()
  9498  	dAtA = make([]byte, size)
  9499  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9500  	if err != nil {
  9501  		return nil, err
  9502  	}
  9503  	return dAtA[:n], nil
  9504  }
  9505  
  9506  func (m *Misbehavior) MarshalTo(dAtA []byte) (int, error) {
  9507  	size := m.Size()
  9508  	return m.MarshalToSizedBuffer(dAtA[:size])
  9509  }
  9510  
  9511  func (m *Misbehavior) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9512  	i := len(dAtA)
  9513  	_ = i
  9514  	var l int
  9515  	_ = l
  9516  	if m.TotalVotingPower != 0 {
  9517  		i = encodeVarintTypes(dAtA, i, uint64(m.TotalVotingPower))
  9518  		i--
  9519  		dAtA[i] = 0x28
  9520  	}
  9521  	n69, err69 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):])
  9522  	if err69 != nil {
  9523  		return 0, err69
  9524  	}
  9525  	i -= n69
  9526  	i = encodeVarintTypes(dAtA, i, uint64(n69))
  9527  	i--
  9528  	dAtA[i] = 0x22
  9529  	if m.Height != 0 {
  9530  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  9531  		i--
  9532  		dAtA[i] = 0x18
  9533  	}
  9534  	{
  9535  		size, err := m.Validator.MarshalToSizedBuffer(dAtA[:i])
  9536  		if err != nil {
  9537  			return 0, err
  9538  		}
  9539  		i -= size
  9540  		i = encodeVarintTypes(dAtA, i, uint64(size))
  9541  	}
  9542  	i--
  9543  	dAtA[i] = 0x12
  9544  	if m.Type != 0 {
  9545  		i = encodeVarintTypes(dAtA, i, uint64(m.Type))
  9546  		i--
  9547  		dAtA[i] = 0x8
  9548  	}
  9549  	return len(dAtA) - i, nil
  9550  }
  9551  
  9552  func (m *Evidence) Marshal() (dAtA []byte, err error) {
  9553  	size := m.Size()
  9554  	dAtA = make([]byte, size)
  9555  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9556  	if err != nil {
  9557  		return nil, err
  9558  	}
  9559  	return dAtA[:n], nil
  9560  }
  9561  
  9562  func (m *Evidence) MarshalTo(dAtA []byte) (int, error) {
  9563  	size := m.Size()
  9564  	return m.MarshalToSizedBuffer(dAtA[:size])
  9565  }
  9566  
  9567  func (m *Evidence) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9568  	i := len(dAtA)
  9569  	_ = i
  9570  	var l int
  9571  	_ = l
  9572  	if m.TotalVotingPower != 0 {
  9573  		i = encodeVarintTypes(dAtA, i, uint64(m.TotalVotingPower))
  9574  		i--
  9575  		dAtA[i] = 0x28
  9576  	}
  9577  	n71, err71 := github_com_gogo_protobuf_types.StdTimeMarshalTo(m.Time, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(m.Time):])
  9578  	if err71 != nil {
  9579  		return 0, err71
  9580  	}
  9581  	i -= n71
  9582  	i = encodeVarintTypes(dAtA, i, uint64(n71))
  9583  	i--
  9584  	dAtA[i] = 0x22
  9585  	if m.Height != 0 {
  9586  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  9587  		i--
  9588  		dAtA[i] = 0x18
  9589  	}
  9590  	{
  9591  		size, err := m.Validator.MarshalToSizedBuffer(dAtA[:i])
  9592  		if err != nil {
  9593  			return 0, err
  9594  		}
  9595  		i -= size
  9596  		i = encodeVarintTypes(dAtA, i, uint64(size))
  9597  	}
  9598  	i--
  9599  	dAtA[i] = 0x12
  9600  	if m.Type != 0 {
  9601  		i = encodeVarintTypes(dAtA, i, uint64(m.Type))
  9602  		i--
  9603  		dAtA[i] = 0x8
  9604  	}
  9605  	return len(dAtA) - i, nil
  9606  }
  9607  
  9608  func (m *Snapshot) Marshal() (dAtA []byte, err error) {
  9609  	size := m.Size()
  9610  	dAtA = make([]byte, size)
  9611  	n, err := m.MarshalToSizedBuffer(dAtA[:size])
  9612  	if err != nil {
  9613  		return nil, err
  9614  	}
  9615  	return dAtA[:n], nil
  9616  }
  9617  
  9618  func (m *Snapshot) MarshalTo(dAtA []byte) (int, error) {
  9619  	size := m.Size()
  9620  	return m.MarshalToSizedBuffer(dAtA[:size])
  9621  }
  9622  
  9623  func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error) {
  9624  	i := len(dAtA)
  9625  	_ = i
  9626  	var l int
  9627  	_ = l
  9628  	if len(m.Metadata) > 0 {
  9629  		i -= len(m.Metadata)
  9630  		copy(dAtA[i:], m.Metadata)
  9631  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Metadata)))
  9632  		i--
  9633  		dAtA[i] = 0x2a
  9634  	}
  9635  	if len(m.Hash) > 0 {
  9636  		i -= len(m.Hash)
  9637  		copy(dAtA[i:], m.Hash)
  9638  		i = encodeVarintTypes(dAtA, i, uint64(len(m.Hash)))
  9639  		i--
  9640  		dAtA[i] = 0x22
  9641  	}
  9642  	if m.Chunks != 0 {
  9643  		i = encodeVarintTypes(dAtA, i, uint64(m.Chunks))
  9644  		i--
  9645  		dAtA[i] = 0x18
  9646  	}
  9647  	if m.Format != 0 {
  9648  		i = encodeVarintTypes(dAtA, i, uint64(m.Format))
  9649  		i--
  9650  		dAtA[i] = 0x10
  9651  	}
  9652  	if m.Height != 0 {
  9653  		i = encodeVarintTypes(dAtA, i, uint64(m.Height))
  9654  		i--
  9655  		dAtA[i] = 0x8
  9656  	}
  9657  	return len(dAtA) - i, nil
  9658  }
  9659  
  9660  func encodeVarintTypes(dAtA []byte, offset int, v uint64) int {
  9661  	offset -= sovTypes(v)
  9662  	base := offset
  9663  	for v >= 1<<7 {
  9664  		dAtA[offset] = uint8(v&0x7f | 0x80)
  9665  		v >>= 7
  9666  		offset++
  9667  	}
  9668  	dAtA[offset] = uint8(v)
  9669  	return base
  9670  }
  9671  func (m *Request) Size() (n int) {
  9672  	if m == nil {
  9673  		return 0
  9674  	}
  9675  	var l int
  9676  	_ = l
  9677  	if m.Value != nil {
  9678  		n += m.Value.Size()
  9679  	}
  9680  	return n
  9681  }
  9682  
  9683  func (m *Request_Echo) Size() (n int) {
  9684  	if m == nil {
  9685  		return 0
  9686  	}
  9687  	var l int
  9688  	_ = l
  9689  	if m.Echo != nil {
  9690  		l = m.Echo.Size()
  9691  		n += 1 + l + sovTypes(uint64(l))
  9692  	}
  9693  	return n
  9694  }
  9695  func (m *Request_Flush) Size() (n int) {
  9696  	if m == nil {
  9697  		return 0
  9698  	}
  9699  	var l int
  9700  	_ = l
  9701  	if m.Flush != nil {
  9702  		l = m.Flush.Size()
  9703  		n += 1 + l + sovTypes(uint64(l))
  9704  	}
  9705  	return n
  9706  }
  9707  func (m *Request_Info) Size() (n int) {
  9708  	if m == nil {
  9709  		return 0
  9710  	}
  9711  	var l int
  9712  	_ = l
  9713  	if m.Info != nil {
  9714  		l = m.Info.Size()
  9715  		n += 1 + l + sovTypes(uint64(l))
  9716  	}
  9717  	return n
  9718  }
  9719  func (m *Request_InitChain) Size() (n int) {
  9720  	if m == nil {
  9721  		return 0
  9722  	}
  9723  	var l int
  9724  	_ = l
  9725  	if m.InitChain != nil {
  9726  		l = m.InitChain.Size()
  9727  		n += 1 + l + sovTypes(uint64(l))
  9728  	}
  9729  	return n
  9730  }
  9731  func (m *Request_Query) Size() (n int) {
  9732  	if m == nil {
  9733  		return 0
  9734  	}
  9735  	var l int
  9736  	_ = l
  9737  	if m.Query != nil {
  9738  		l = m.Query.Size()
  9739  		n += 1 + l + sovTypes(uint64(l))
  9740  	}
  9741  	return n
  9742  }
  9743  func (m *Request_CheckTx) Size() (n int) {
  9744  	if m == nil {
  9745  		return 0
  9746  	}
  9747  	var l int
  9748  	_ = l
  9749  	if m.CheckTx != nil {
  9750  		l = m.CheckTx.Size()
  9751  		n += 1 + l + sovTypes(uint64(l))
  9752  	}
  9753  	return n
  9754  }
  9755  func (m *Request_Commit) Size() (n int) {
  9756  	if m == nil {
  9757  		return 0
  9758  	}
  9759  	var l int
  9760  	_ = l
  9761  	if m.Commit != nil {
  9762  		l = m.Commit.Size()
  9763  		n += 1 + l + sovTypes(uint64(l))
  9764  	}
  9765  	return n
  9766  }
  9767  func (m *Request_ListSnapshots) Size() (n int) {
  9768  	if m == nil {
  9769  		return 0
  9770  	}
  9771  	var l int
  9772  	_ = l
  9773  	if m.ListSnapshots != nil {
  9774  		l = m.ListSnapshots.Size()
  9775  		n += 1 + l + sovTypes(uint64(l))
  9776  	}
  9777  	return n
  9778  }
  9779  func (m *Request_OfferSnapshot) Size() (n int) {
  9780  	if m == nil {
  9781  		return 0
  9782  	}
  9783  	var l int
  9784  	_ = l
  9785  	if m.OfferSnapshot != nil {
  9786  		l = m.OfferSnapshot.Size()
  9787  		n += 1 + l + sovTypes(uint64(l))
  9788  	}
  9789  	return n
  9790  }
  9791  func (m *Request_LoadSnapshotChunk) Size() (n int) {
  9792  	if m == nil {
  9793  		return 0
  9794  	}
  9795  	var l int
  9796  	_ = l
  9797  	if m.LoadSnapshotChunk != nil {
  9798  		l = m.LoadSnapshotChunk.Size()
  9799  		n += 1 + l + sovTypes(uint64(l))
  9800  	}
  9801  	return n
  9802  }
  9803  func (m *Request_ApplySnapshotChunk) Size() (n int) {
  9804  	if m == nil {
  9805  		return 0
  9806  	}
  9807  	var l int
  9808  	_ = l
  9809  	if m.ApplySnapshotChunk != nil {
  9810  		l = m.ApplySnapshotChunk.Size()
  9811  		n += 1 + l + sovTypes(uint64(l))
  9812  	}
  9813  	return n
  9814  }
  9815  func (m *Request_PrepareProposal) Size() (n int) {
  9816  	if m == nil {
  9817  		return 0
  9818  	}
  9819  	var l int
  9820  	_ = l
  9821  	if m.PrepareProposal != nil {
  9822  		l = m.PrepareProposal.Size()
  9823  		n += 1 + l + sovTypes(uint64(l))
  9824  	}
  9825  	return n
  9826  }
  9827  func (m *Request_ProcessProposal) Size() (n int) {
  9828  	if m == nil {
  9829  		return 0
  9830  	}
  9831  	var l int
  9832  	_ = l
  9833  	if m.ProcessProposal != nil {
  9834  		l = m.ProcessProposal.Size()
  9835  		n += 2 + l + sovTypes(uint64(l))
  9836  	}
  9837  	return n
  9838  }
  9839  func (m *Request_ExtendVote) Size() (n int) {
  9840  	if m == nil {
  9841  		return 0
  9842  	}
  9843  	var l int
  9844  	_ = l
  9845  	if m.ExtendVote != nil {
  9846  		l = m.ExtendVote.Size()
  9847  		n += 2 + l + sovTypes(uint64(l))
  9848  	}
  9849  	return n
  9850  }
  9851  func (m *Request_VerifyVoteExtension) Size() (n int) {
  9852  	if m == nil {
  9853  		return 0
  9854  	}
  9855  	var l int
  9856  	_ = l
  9857  	if m.VerifyVoteExtension != nil {
  9858  		l = m.VerifyVoteExtension.Size()
  9859  		n += 2 + l + sovTypes(uint64(l))
  9860  	}
  9861  	return n
  9862  }
  9863  func (m *Request_FinalizeBlock) Size() (n int) {
  9864  	if m == nil {
  9865  		return 0
  9866  	}
  9867  	var l int
  9868  	_ = l
  9869  	if m.FinalizeBlock != nil {
  9870  		l = m.FinalizeBlock.Size()
  9871  		n += 2 + l + sovTypes(uint64(l))
  9872  	}
  9873  	return n
  9874  }
  9875  func (m *Request_BeginBlock) Size() (n int) {
  9876  	if m == nil {
  9877  		return 0
  9878  	}
  9879  	var l int
  9880  	_ = l
  9881  	if m.BeginBlock != nil {
  9882  		l = m.BeginBlock.Size()
  9883  		n += 2 + l + sovTypes(uint64(l))
  9884  	}
  9885  	return n
  9886  }
  9887  func (m *Request_DeliverTx) Size() (n int) {
  9888  	if m == nil {
  9889  		return 0
  9890  	}
  9891  	var l int
  9892  	_ = l
  9893  	if m.DeliverTx != nil {
  9894  		l = m.DeliverTx.Size()
  9895  		n += 2 + l + sovTypes(uint64(l))
  9896  	}
  9897  	return n
  9898  }
  9899  func (m *Request_EndBlock) Size() (n int) {
  9900  	if m == nil {
  9901  		return 0
  9902  	}
  9903  	var l int
  9904  	_ = l
  9905  	if m.EndBlock != nil {
  9906  		l = m.EndBlock.Size()
  9907  		n += 2 + l + sovTypes(uint64(l))
  9908  	}
  9909  	return n
  9910  }
  9911  func (m *Request_LoadLatest) Size() (n int) {
  9912  	if m == nil {
  9913  		return 0
  9914  	}
  9915  	var l int
  9916  	_ = l
  9917  	if m.LoadLatest != nil {
  9918  		l = m.LoadLatest.Size()
  9919  		n += 2 + l + sovTypes(uint64(l))
  9920  	}
  9921  	return n
  9922  }
  9923  func (m *RequestEcho) Size() (n int) {
  9924  	if m == nil {
  9925  		return 0
  9926  	}
  9927  	var l int
  9928  	_ = l
  9929  	l = len(m.Message)
  9930  	if l > 0 {
  9931  		n += 1 + l + sovTypes(uint64(l))
  9932  	}
  9933  	return n
  9934  }
  9935  
  9936  func (m *RequestFlush) Size() (n int) {
  9937  	if m == nil {
  9938  		return 0
  9939  	}
  9940  	var l int
  9941  	_ = l
  9942  	return n
  9943  }
  9944  
  9945  func (m *RequestInfo) Size() (n int) {
  9946  	if m == nil {
  9947  		return 0
  9948  	}
  9949  	var l int
  9950  	_ = l
  9951  	l = len(m.Version)
  9952  	if l > 0 {
  9953  		n += 1 + l + sovTypes(uint64(l))
  9954  	}
  9955  	if m.BlockVersion != 0 {
  9956  		n += 1 + sovTypes(uint64(m.BlockVersion))
  9957  	}
  9958  	if m.P2PVersion != 0 {
  9959  		n += 1 + sovTypes(uint64(m.P2PVersion))
  9960  	}
  9961  	l = len(m.AbciVersion)
  9962  	if l > 0 {
  9963  		n += 1 + l + sovTypes(uint64(l))
  9964  	}
  9965  	return n
  9966  }
  9967  
  9968  func (m *RequestInitChain) Size() (n int) {
  9969  	if m == nil {
  9970  		return 0
  9971  	}
  9972  	var l int
  9973  	_ = l
  9974  	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time)
  9975  	n += 1 + l + sovTypes(uint64(l))
  9976  	l = len(m.ChainId)
  9977  	if l > 0 {
  9978  		n += 1 + l + sovTypes(uint64(l))
  9979  	}
  9980  	if m.ConsensusParams != nil {
  9981  		l = m.ConsensusParams.Size()
  9982  		n += 1 + l + sovTypes(uint64(l))
  9983  	}
  9984  	if len(m.Validators) > 0 {
  9985  		for _, e := range m.Validators {
  9986  			l = e.Size()
  9987  			n += 1 + l + sovTypes(uint64(l))
  9988  		}
  9989  	}
  9990  	l = len(m.AppStateBytes)
  9991  	if l > 0 {
  9992  		n += 1 + l + sovTypes(uint64(l))
  9993  	}
  9994  	if m.InitialHeight != 0 {
  9995  		n += 1 + sovTypes(uint64(m.InitialHeight))
  9996  	}
  9997  	return n
  9998  }
  9999  
 10000  func (m *RequestQuery) Size() (n int) {
 10001  	if m == nil {
 10002  		return 0
 10003  	}
 10004  	var l int
 10005  	_ = l
 10006  	l = len(m.Data)
 10007  	if l > 0 {
 10008  		n += 1 + l + sovTypes(uint64(l))
 10009  	}
 10010  	l = len(m.Path)
 10011  	if l > 0 {
 10012  		n += 1 + l + sovTypes(uint64(l))
 10013  	}
 10014  	if m.Height != 0 {
 10015  		n += 1 + sovTypes(uint64(m.Height))
 10016  	}
 10017  	if m.Prove {
 10018  		n += 2
 10019  	}
 10020  	return n
 10021  }
 10022  
 10023  func (m *RequestCheckTx) Size() (n int) {
 10024  	if m == nil {
 10025  		return 0
 10026  	}
 10027  	var l int
 10028  	_ = l
 10029  	l = len(m.Tx)
 10030  	if l > 0 {
 10031  		n += 1 + l + sovTypes(uint64(l))
 10032  	}
 10033  	if m.Type != 0 {
 10034  		n += 1 + sovTypes(uint64(m.Type))
 10035  	}
 10036  	return n
 10037  }
 10038  
 10039  func (m *RequestCommit) Size() (n int) {
 10040  	if m == nil {
 10041  		return 0
 10042  	}
 10043  	var l int
 10044  	_ = l
 10045  	return n
 10046  }
 10047  
 10048  func (m *RequestListSnapshots) Size() (n int) {
 10049  	if m == nil {
 10050  		return 0
 10051  	}
 10052  	var l int
 10053  	_ = l
 10054  	return n
 10055  }
 10056  
 10057  func (m *RequestOfferSnapshot) Size() (n int) {
 10058  	if m == nil {
 10059  		return 0
 10060  	}
 10061  	var l int
 10062  	_ = l
 10063  	if m.Snapshot != nil {
 10064  		l = m.Snapshot.Size()
 10065  		n += 1 + l + sovTypes(uint64(l))
 10066  	}
 10067  	l = len(m.AppHash)
 10068  	if l > 0 {
 10069  		n += 1 + l + sovTypes(uint64(l))
 10070  	}
 10071  	return n
 10072  }
 10073  
 10074  func (m *RequestLoadSnapshotChunk) Size() (n int) {
 10075  	if m == nil {
 10076  		return 0
 10077  	}
 10078  	var l int
 10079  	_ = l
 10080  	if m.Height != 0 {
 10081  		n += 1 + sovTypes(uint64(m.Height))
 10082  	}
 10083  	if m.Format != 0 {
 10084  		n += 1 + sovTypes(uint64(m.Format))
 10085  	}
 10086  	if m.Chunk != 0 {
 10087  		n += 1 + sovTypes(uint64(m.Chunk))
 10088  	}
 10089  	return n
 10090  }
 10091  
 10092  func (m *RequestApplySnapshotChunk) Size() (n int) {
 10093  	if m == nil {
 10094  		return 0
 10095  	}
 10096  	var l int
 10097  	_ = l
 10098  	if m.Index != 0 {
 10099  		n += 1 + sovTypes(uint64(m.Index))
 10100  	}
 10101  	l = len(m.Chunk)
 10102  	if l > 0 {
 10103  		n += 1 + l + sovTypes(uint64(l))
 10104  	}
 10105  	l = len(m.Sender)
 10106  	if l > 0 {
 10107  		n += 1 + l + sovTypes(uint64(l))
 10108  	}
 10109  	return n
 10110  }
 10111  
 10112  func (m *RequestPrepareProposal) Size() (n int) {
 10113  	if m == nil {
 10114  		return 0
 10115  	}
 10116  	var l int
 10117  	_ = l
 10118  	if m.MaxTxBytes != 0 {
 10119  		n += 1 + sovTypes(uint64(m.MaxTxBytes))
 10120  	}
 10121  	if len(m.Txs) > 0 {
 10122  		for _, b := range m.Txs {
 10123  			l = len(b)
 10124  			n += 1 + l + sovTypes(uint64(l))
 10125  		}
 10126  	}
 10127  	l = m.LocalLastCommit.Size()
 10128  	n += 1 + l + sovTypes(uint64(l))
 10129  	if len(m.ByzantineValidators) > 0 {
 10130  		for _, e := range m.ByzantineValidators {
 10131  			l = e.Size()
 10132  			n += 1 + l + sovTypes(uint64(l))
 10133  		}
 10134  	}
 10135  	if m.Height != 0 {
 10136  		n += 1 + sovTypes(uint64(m.Height))
 10137  	}
 10138  	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time)
 10139  	n += 1 + l + sovTypes(uint64(l))
 10140  	l = len(m.NextValidatorsHash)
 10141  	if l > 0 {
 10142  		n += 1 + l + sovTypes(uint64(l))
 10143  	}
 10144  	l = len(m.ProposerAddress)
 10145  	if l > 0 {
 10146  		n += 1 + l + sovTypes(uint64(l))
 10147  	}
 10148  	l = len(m.AppHash)
 10149  	if l > 0 {
 10150  		n += 1 + l + sovTypes(uint64(l))
 10151  	}
 10152  	l = len(m.ValidatorsHash)
 10153  	if l > 0 {
 10154  		n += 1 + l + sovTypes(uint64(l))
 10155  	}
 10156  	l = len(m.ConsensusHash)
 10157  	if l > 0 {
 10158  		n += 1 + l + sovTypes(uint64(l))
 10159  	}
 10160  	l = len(m.DataHash)
 10161  	if l > 0 {
 10162  		n += 1 + l + sovTypes(uint64(l))
 10163  	}
 10164  	l = len(m.EvidenceHash)
 10165  	if l > 0 {
 10166  		n += 1 + l + sovTypes(uint64(l))
 10167  	}
 10168  	l = len(m.LastBlockHash)
 10169  	if l > 0 {
 10170  		n += 1 + l + sovTypes(uint64(l))
 10171  	}
 10172  	if m.LastBlockPartSetTotal != 0 {
 10173  		n += 1 + sovTypes(uint64(m.LastBlockPartSetTotal))
 10174  	}
 10175  	l = len(m.LastBlockPartSetHash)
 10176  	if l > 0 {
 10177  		n += 2 + l + sovTypes(uint64(l))
 10178  	}
 10179  	l = len(m.LastCommitHash)
 10180  	if l > 0 {
 10181  		n += 2 + l + sovTypes(uint64(l))
 10182  	}
 10183  	l = len(m.LastResultsHash)
 10184  	if l > 0 {
 10185  		n += 2 + l + sovTypes(uint64(l))
 10186  	}
 10187  	return n
 10188  }
 10189  
 10190  func (m *RequestProcessProposal) Size() (n int) {
 10191  	if m == nil {
 10192  		return 0
 10193  	}
 10194  	var l int
 10195  	_ = l
 10196  	if len(m.Txs) > 0 {
 10197  		for _, b := range m.Txs {
 10198  			l = len(b)
 10199  			n += 1 + l + sovTypes(uint64(l))
 10200  		}
 10201  	}
 10202  	l = m.ProposedLastCommit.Size()
 10203  	n += 1 + l + sovTypes(uint64(l))
 10204  	if len(m.ByzantineValidators) > 0 {
 10205  		for _, e := range m.ByzantineValidators {
 10206  			l = e.Size()
 10207  			n += 1 + l + sovTypes(uint64(l))
 10208  		}
 10209  	}
 10210  	l = len(m.Hash)
 10211  	if l > 0 {
 10212  		n += 1 + l + sovTypes(uint64(l))
 10213  	}
 10214  	if m.Height != 0 {
 10215  		n += 1 + sovTypes(uint64(m.Height))
 10216  	}
 10217  	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time)
 10218  	n += 1 + l + sovTypes(uint64(l))
 10219  	l = len(m.NextValidatorsHash)
 10220  	if l > 0 {
 10221  		n += 1 + l + sovTypes(uint64(l))
 10222  	}
 10223  	l = len(m.ProposerAddress)
 10224  	if l > 0 {
 10225  		n += 1 + l + sovTypes(uint64(l))
 10226  	}
 10227  	l = len(m.AppHash)
 10228  	if l > 0 {
 10229  		n += 1 + l + sovTypes(uint64(l))
 10230  	}
 10231  	l = len(m.ValidatorsHash)
 10232  	if l > 0 {
 10233  		n += 1 + l + sovTypes(uint64(l))
 10234  	}
 10235  	l = len(m.ConsensusHash)
 10236  	if l > 0 {
 10237  		n += 1 + l + sovTypes(uint64(l))
 10238  	}
 10239  	l = len(m.DataHash)
 10240  	if l > 0 {
 10241  		n += 1 + l + sovTypes(uint64(l))
 10242  	}
 10243  	l = len(m.EvidenceHash)
 10244  	if l > 0 {
 10245  		n += 1 + l + sovTypes(uint64(l))
 10246  	}
 10247  	l = len(m.LastBlockHash)
 10248  	if l > 0 {
 10249  		n += 1 + l + sovTypes(uint64(l))
 10250  	}
 10251  	if m.LastBlockPartSetTotal != 0 {
 10252  		n += 2 + sovTypes(uint64(m.LastBlockPartSetTotal))
 10253  	}
 10254  	l = len(m.LastBlockPartSetHash)
 10255  	if l > 0 {
 10256  		n += 2 + l + sovTypes(uint64(l))
 10257  	}
 10258  	l = len(m.LastCommitHash)
 10259  	if l > 0 {
 10260  		n += 2 + l + sovTypes(uint64(l))
 10261  	}
 10262  	l = len(m.LastResultsHash)
 10263  	if l > 0 {
 10264  		n += 2 + l + sovTypes(uint64(l))
 10265  	}
 10266  	return n
 10267  }
 10268  
 10269  func (m *RequestExtendVote) Size() (n int) {
 10270  	if m == nil {
 10271  		return 0
 10272  	}
 10273  	var l int
 10274  	_ = l
 10275  	l = len(m.Hash)
 10276  	if l > 0 {
 10277  		n += 1 + l + sovTypes(uint64(l))
 10278  	}
 10279  	if m.Height != 0 {
 10280  		n += 1 + sovTypes(uint64(m.Height))
 10281  	}
 10282  	return n
 10283  }
 10284  
 10285  func (m *RequestVerifyVoteExtension) Size() (n int) {
 10286  	if m == nil {
 10287  		return 0
 10288  	}
 10289  	var l int
 10290  	_ = l
 10291  	l = len(m.Hash)
 10292  	if l > 0 {
 10293  		n += 1 + l + sovTypes(uint64(l))
 10294  	}
 10295  	l = len(m.ValidatorAddress)
 10296  	if l > 0 {
 10297  		n += 1 + l + sovTypes(uint64(l))
 10298  	}
 10299  	if m.Height != 0 {
 10300  		n += 1 + sovTypes(uint64(m.Height))
 10301  	}
 10302  	l = len(m.VoteExtension)
 10303  	if l > 0 {
 10304  		n += 1 + l + sovTypes(uint64(l))
 10305  	}
 10306  	return n
 10307  }
 10308  
 10309  func (m *RequestFinalizeBlock) Size() (n int) {
 10310  	if m == nil {
 10311  		return 0
 10312  	}
 10313  	var l int
 10314  	_ = l
 10315  	if len(m.Txs) > 0 {
 10316  		for _, b := range m.Txs {
 10317  			l = len(b)
 10318  			n += 1 + l + sovTypes(uint64(l))
 10319  		}
 10320  	}
 10321  	l = m.DecidedLastCommit.Size()
 10322  	n += 1 + l + sovTypes(uint64(l))
 10323  	if len(m.ByzantineValidators) > 0 {
 10324  		for _, e := range m.ByzantineValidators {
 10325  			l = e.Size()
 10326  			n += 1 + l + sovTypes(uint64(l))
 10327  		}
 10328  	}
 10329  	l = len(m.Hash)
 10330  	if l > 0 {
 10331  		n += 1 + l + sovTypes(uint64(l))
 10332  	}
 10333  	if m.Height != 0 {
 10334  		n += 1 + sovTypes(uint64(m.Height))
 10335  	}
 10336  	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time)
 10337  	n += 1 + l + sovTypes(uint64(l))
 10338  	l = len(m.NextValidatorsHash)
 10339  	if l > 0 {
 10340  		n += 1 + l + sovTypes(uint64(l))
 10341  	}
 10342  	l = len(m.ProposerAddress)
 10343  	if l > 0 {
 10344  		n += 1 + l + sovTypes(uint64(l))
 10345  	}
 10346  	l = len(m.AppHash)
 10347  	if l > 0 {
 10348  		n += 1 + l + sovTypes(uint64(l))
 10349  	}
 10350  	l = len(m.ValidatorsHash)
 10351  	if l > 0 {
 10352  		n += 1 + l + sovTypes(uint64(l))
 10353  	}
 10354  	l = len(m.ConsensusHash)
 10355  	if l > 0 {
 10356  		n += 1 + l + sovTypes(uint64(l))
 10357  	}
 10358  	l = len(m.DataHash)
 10359  	if l > 0 {
 10360  		n += 1 + l + sovTypes(uint64(l))
 10361  	}
 10362  	l = len(m.EvidenceHash)
 10363  	if l > 0 {
 10364  		n += 1 + l + sovTypes(uint64(l))
 10365  	}
 10366  	l = len(m.LastBlockHash)
 10367  	if l > 0 {
 10368  		n += 1 + l + sovTypes(uint64(l))
 10369  	}
 10370  	if m.LastBlockPartSetTotal != 0 {
 10371  		n += 2 + sovTypes(uint64(m.LastBlockPartSetTotal))
 10372  	}
 10373  	l = len(m.LastBlockPartSetHash)
 10374  	if l > 0 {
 10375  		n += 2 + l + sovTypes(uint64(l))
 10376  	}
 10377  	l = len(m.LastCommitHash)
 10378  	if l > 0 {
 10379  		n += 2 + l + sovTypes(uint64(l))
 10380  	}
 10381  	l = len(m.LastResultsHash)
 10382  	if l > 0 {
 10383  		n += 2 + l + sovTypes(uint64(l))
 10384  	}
 10385  	return n
 10386  }
 10387  
 10388  func (m *RequestBeginBlock) Size() (n int) {
 10389  	if m == nil {
 10390  		return 0
 10391  	}
 10392  	var l int
 10393  	_ = l
 10394  	l = len(m.Hash)
 10395  	if l > 0 {
 10396  		n += 1 + l + sovTypes(uint64(l))
 10397  	}
 10398  	l = m.Header.Size()
 10399  	n += 1 + l + sovTypes(uint64(l))
 10400  	l = m.LastCommitInfo.Size()
 10401  	n += 1 + l + sovTypes(uint64(l))
 10402  	if len(m.ByzantineValidators) > 0 {
 10403  		for _, e := range m.ByzantineValidators {
 10404  			l = e.Size()
 10405  			n += 1 + l + sovTypes(uint64(l))
 10406  		}
 10407  	}
 10408  	return n
 10409  }
 10410  
 10411  func (m *RequestDeliverTx) Size() (n int) {
 10412  	if m == nil {
 10413  		return 0
 10414  	}
 10415  	var l int
 10416  	_ = l
 10417  	l = len(m.Tx)
 10418  	if l > 0 {
 10419  		n += 1 + l + sovTypes(uint64(l))
 10420  	}
 10421  	if m.SigVerified {
 10422  		n += 2
 10423  	}
 10424  	return n
 10425  }
 10426  
 10427  func (m *RequestEndBlock) Size() (n int) {
 10428  	if m == nil {
 10429  		return 0
 10430  	}
 10431  	var l int
 10432  	_ = l
 10433  	if m.Height != 0 {
 10434  		n += 1 + sovTypes(uint64(m.Height))
 10435  	}
 10436  	return n
 10437  }
 10438  
 10439  func (m *RequestLoadLatest) Size() (n int) {
 10440  	if m == nil {
 10441  		return 0
 10442  	}
 10443  	var l int
 10444  	_ = l
 10445  	return n
 10446  }
 10447  
 10448  func (m *Response) Size() (n int) {
 10449  	if m == nil {
 10450  		return 0
 10451  	}
 10452  	var l int
 10453  	_ = l
 10454  	if m.Value != nil {
 10455  		n += m.Value.Size()
 10456  	}
 10457  	return n
 10458  }
 10459  
 10460  func (m *Response_Exception) Size() (n int) {
 10461  	if m == nil {
 10462  		return 0
 10463  	}
 10464  	var l int
 10465  	_ = l
 10466  	if m.Exception != nil {
 10467  		l = m.Exception.Size()
 10468  		n += 1 + l + sovTypes(uint64(l))
 10469  	}
 10470  	return n
 10471  }
 10472  func (m *Response_Echo) Size() (n int) {
 10473  	if m == nil {
 10474  		return 0
 10475  	}
 10476  	var l int
 10477  	_ = l
 10478  	if m.Echo != nil {
 10479  		l = m.Echo.Size()
 10480  		n += 1 + l + sovTypes(uint64(l))
 10481  	}
 10482  	return n
 10483  }
 10484  func (m *Response_Flush) Size() (n int) {
 10485  	if m == nil {
 10486  		return 0
 10487  	}
 10488  	var l int
 10489  	_ = l
 10490  	if m.Flush != nil {
 10491  		l = m.Flush.Size()
 10492  		n += 1 + l + sovTypes(uint64(l))
 10493  	}
 10494  	return n
 10495  }
 10496  func (m *Response_Info) Size() (n int) {
 10497  	if m == nil {
 10498  		return 0
 10499  	}
 10500  	var l int
 10501  	_ = l
 10502  	if m.Info != nil {
 10503  		l = m.Info.Size()
 10504  		n += 1 + l + sovTypes(uint64(l))
 10505  	}
 10506  	return n
 10507  }
 10508  func (m *Response_InitChain) Size() (n int) {
 10509  	if m == nil {
 10510  		return 0
 10511  	}
 10512  	var l int
 10513  	_ = l
 10514  	if m.InitChain != nil {
 10515  		l = m.InitChain.Size()
 10516  		n += 1 + l + sovTypes(uint64(l))
 10517  	}
 10518  	return n
 10519  }
 10520  func (m *Response_Query) Size() (n int) {
 10521  	if m == nil {
 10522  		return 0
 10523  	}
 10524  	var l int
 10525  	_ = l
 10526  	if m.Query != nil {
 10527  		l = m.Query.Size()
 10528  		n += 1 + l + sovTypes(uint64(l))
 10529  	}
 10530  	return n
 10531  }
 10532  func (m *Response_CheckTx) Size() (n int) {
 10533  	if m == nil {
 10534  		return 0
 10535  	}
 10536  	var l int
 10537  	_ = l
 10538  	if m.CheckTx != nil {
 10539  		l = m.CheckTx.Size()
 10540  		n += 1 + l + sovTypes(uint64(l))
 10541  	}
 10542  	return n
 10543  }
 10544  func (m *Response_Commit) Size() (n int) {
 10545  	if m == nil {
 10546  		return 0
 10547  	}
 10548  	var l int
 10549  	_ = l
 10550  	if m.Commit != nil {
 10551  		l = m.Commit.Size()
 10552  		n += 1 + l + sovTypes(uint64(l))
 10553  	}
 10554  	return n
 10555  }
 10556  func (m *Response_ListSnapshots) Size() (n int) {
 10557  	if m == nil {
 10558  		return 0
 10559  	}
 10560  	var l int
 10561  	_ = l
 10562  	if m.ListSnapshots != nil {
 10563  		l = m.ListSnapshots.Size()
 10564  		n += 1 + l + sovTypes(uint64(l))
 10565  	}
 10566  	return n
 10567  }
 10568  func (m *Response_OfferSnapshot) Size() (n int) {
 10569  	if m == nil {
 10570  		return 0
 10571  	}
 10572  	var l int
 10573  	_ = l
 10574  	if m.OfferSnapshot != nil {
 10575  		l = m.OfferSnapshot.Size()
 10576  		n += 1 + l + sovTypes(uint64(l))
 10577  	}
 10578  	return n
 10579  }
 10580  func (m *Response_LoadSnapshotChunk) Size() (n int) {
 10581  	if m == nil {
 10582  		return 0
 10583  	}
 10584  	var l int
 10585  	_ = l
 10586  	if m.LoadSnapshotChunk != nil {
 10587  		l = m.LoadSnapshotChunk.Size()
 10588  		n += 1 + l + sovTypes(uint64(l))
 10589  	}
 10590  	return n
 10591  }
 10592  func (m *Response_ApplySnapshotChunk) Size() (n int) {
 10593  	if m == nil {
 10594  		return 0
 10595  	}
 10596  	var l int
 10597  	_ = l
 10598  	if m.ApplySnapshotChunk != nil {
 10599  		l = m.ApplySnapshotChunk.Size()
 10600  		n += 1 + l + sovTypes(uint64(l))
 10601  	}
 10602  	return n
 10603  }
 10604  func (m *Response_PrepareProposal) Size() (n int) {
 10605  	if m == nil {
 10606  		return 0
 10607  	}
 10608  	var l int
 10609  	_ = l
 10610  	if m.PrepareProposal != nil {
 10611  		l = m.PrepareProposal.Size()
 10612  		n += 2 + l + sovTypes(uint64(l))
 10613  	}
 10614  	return n
 10615  }
 10616  func (m *Response_ProcessProposal) Size() (n int) {
 10617  	if m == nil {
 10618  		return 0
 10619  	}
 10620  	var l int
 10621  	_ = l
 10622  	if m.ProcessProposal != nil {
 10623  		l = m.ProcessProposal.Size()
 10624  		n += 2 + l + sovTypes(uint64(l))
 10625  	}
 10626  	return n
 10627  }
 10628  func (m *Response_ExtendVote) Size() (n int) {
 10629  	if m == nil {
 10630  		return 0
 10631  	}
 10632  	var l int
 10633  	_ = l
 10634  	if m.ExtendVote != nil {
 10635  		l = m.ExtendVote.Size()
 10636  		n += 2 + l + sovTypes(uint64(l))
 10637  	}
 10638  	return n
 10639  }
 10640  func (m *Response_VerifyVoteExtension) Size() (n int) {
 10641  	if m == nil {
 10642  		return 0
 10643  	}
 10644  	var l int
 10645  	_ = l
 10646  	if m.VerifyVoteExtension != nil {
 10647  		l = m.VerifyVoteExtension.Size()
 10648  		n += 2 + l + sovTypes(uint64(l))
 10649  	}
 10650  	return n
 10651  }
 10652  func (m *Response_FinalizeBlock) Size() (n int) {
 10653  	if m == nil {
 10654  		return 0
 10655  	}
 10656  	var l int
 10657  	_ = l
 10658  	if m.FinalizeBlock != nil {
 10659  		l = m.FinalizeBlock.Size()
 10660  		n += 2 + l + sovTypes(uint64(l))
 10661  	}
 10662  	return n
 10663  }
 10664  func (m *Response_BeginBlock) Size() (n int) {
 10665  	if m == nil {
 10666  		return 0
 10667  	}
 10668  	var l int
 10669  	_ = l
 10670  	if m.BeginBlock != nil {
 10671  		l = m.BeginBlock.Size()
 10672  		n += 2 + l + sovTypes(uint64(l))
 10673  	}
 10674  	return n
 10675  }
 10676  func (m *Response_DeliverTx) Size() (n int) {
 10677  	if m == nil {
 10678  		return 0
 10679  	}
 10680  	var l int
 10681  	_ = l
 10682  	if m.DeliverTx != nil {
 10683  		l = m.DeliverTx.Size()
 10684  		n += 2 + l + sovTypes(uint64(l))
 10685  	}
 10686  	return n
 10687  }
 10688  func (m *Response_EndBlock) Size() (n int) {
 10689  	if m == nil {
 10690  		return 0
 10691  	}
 10692  	var l int
 10693  	_ = l
 10694  	if m.EndBlock != nil {
 10695  		l = m.EndBlock.Size()
 10696  		n += 2 + l + sovTypes(uint64(l))
 10697  	}
 10698  	return n
 10699  }
 10700  func (m *Response_LoadLatest) Size() (n int) {
 10701  	if m == nil {
 10702  		return 0
 10703  	}
 10704  	var l int
 10705  	_ = l
 10706  	if m.LoadLatest != nil {
 10707  		l = m.LoadLatest.Size()
 10708  		n += 2 + l + sovTypes(uint64(l))
 10709  	}
 10710  	return n
 10711  }
 10712  func (m *ResponseException) Size() (n int) {
 10713  	if m == nil {
 10714  		return 0
 10715  	}
 10716  	var l int
 10717  	_ = l
 10718  	l = len(m.Error)
 10719  	if l > 0 {
 10720  		n += 1 + l + sovTypes(uint64(l))
 10721  	}
 10722  	return n
 10723  }
 10724  
 10725  func (m *ResponseEcho) Size() (n int) {
 10726  	if m == nil {
 10727  		return 0
 10728  	}
 10729  	var l int
 10730  	_ = l
 10731  	l = len(m.Message)
 10732  	if l > 0 {
 10733  		n += 1 + l + sovTypes(uint64(l))
 10734  	}
 10735  	return n
 10736  }
 10737  
 10738  func (m *ResponseFlush) Size() (n int) {
 10739  	if m == nil {
 10740  		return 0
 10741  	}
 10742  	var l int
 10743  	_ = l
 10744  	return n
 10745  }
 10746  
 10747  func (m *ResponseInfo) Size() (n int) {
 10748  	if m == nil {
 10749  		return 0
 10750  	}
 10751  	var l int
 10752  	_ = l
 10753  	l = len(m.Data)
 10754  	if l > 0 {
 10755  		n += 1 + l + sovTypes(uint64(l))
 10756  	}
 10757  	l = len(m.Version)
 10758  	if l > 0 {
 10759  		n += 1 + l + sovTypes(uint64(l))
 10760  	}
 10761  	if m.AppVersion != 0 {
 10762  		n += 1 + sovTypes(uint64(m.AppVersion))
 10763  	}
 10764  	if m.LastBlockHeight != 0 {
 10765  		n += 1 + sovTypes(uint64(m.LastBlockHeight))
 10766  	}
 10767  	l = len(m.LastBlockAppHash)
 10768  	if l > 0 {
 10769  		n += 1 + l + sovTypes(uint64(l))
 10770  	}
 10771  	return n
 10772  }
 10773  
 10774  func (m *ResponseInitChain) Size() (n int) {
 10775  	if m == nil {
 10776  		return 0
 10777  	}
 10778  	var l int
 10779  	_ = l
 10780  	if m.ConsensusParams != nil {
 10781  		l = m.ConsensusParams.Size()
 10782  		n += 1 + l + sovTypes(uint64(l))
 10783  	}
 10784  	if len(m.Validators) > 0 {
 10785  		for _, e := range m.Validators {
 10786  			l = e.Size()
 10787  			n += 1 + l + sovTypes(uint64(l))
 10788  		}
 10789  	}
 10790  	l = len(m.AppHash)
 10791  	if l > 0 {
 10792  		n += 1 + l + sovTypes(uint64(l))
 10793  	}
 10794  	return n
 10795  }
 10796  
 10797  func (m *ResponseQuery) Size() (n int) {
 10798  	if m == nil {
 10799  		return 0
 10800  	}
 10801  	var l int
 10802  	_ = l
 10803  	if m.Code != 0 {
 10804  		n += 1 + sovTypes(uint64(m.Code))
 10805  	}
 10806  	l = len(m.Log)
 10807  	if l > 0 {
 10808  		n += 1 + l + sovTypes(uint64(l))
 10809  	}
 10810  	l = len(m.Info)
 10811  	if l > 0 {
 10812  		n += 1 + l + sovTypes(uint64(l))
 10813  	}
 10814  	if m.Index != 0 {
 10815  		n += 1 + sovTypes(uint64(m.Index))
 10816  	}
 10817  	l = len(m.Key)
 10818  	if l > 0 {
 10819  		n += 1 + l + sovTypes(uint64(l))
 10820  	}
 10821  	l = len(m.Value)
 10822  	if l > 0 {
 10823  		n += 1 + l + sovTypes(uint64(l))
 10824  	}
 10825  	if m.ProofOps != nil {
 10826  		l = m.ProofOps.Size()
 10827  		n += 1 + l + sovTypes(uint64(l))
 10828  	}
 10829  	if m.Height != 0 {
 10830  		n += 1 + sovTypes(uint64(m.Height))
 10831  	}
 10832  	l = len(m.Codespace)
 10833  	if l > 0 {
 10834  		n += 1 + l + sovTypes(uint64(l))
 10835  	}
 10836  	return n
 10837  }
 10838  
 10839  func (m *ResponseBeginBlock) Size() (n int) {
 10840  	if m == nil {
 10841  		return 0
 10842  	}
 10843  	var l int
 10844  	_ = l
 10845  	if len(m.Events) > 0 {
 10846  		for _, e := range m.Events {
 10847  			l = e.Size()
 10848  			n += 1 + l + sovTypes(uint64(l))
 10849  		}
 10850  	}
 10851  	return n
 10852  }
 10853  
 10854  func (m *ResponseCheckTx) Size() (n int) {
 10855  	if m == nil {
 10856  		return 0
 10857  	}
 10858  	var l int
 10859  	_ = l
 10860  	if m.Code != 0 {
 10861  		n += 1 + sovTypes(uint64(m.Code))
 10862  	}
 10863  	l = len(m.Data)
 10864  	if l > 0 {
 10865  		n += 1 + l + sovTypes(uint64(l))
 10866  	}
 10867  	l = len(m.Log)
 10868  	if l > 0 {
 10869  		n += 1 + l + sovTypes(uint64(l))
 10870  	}
 10871  	if m.GasWanted != 0 {
 10872  		n += 1 + sovTypes(uint64(m.GasWanted))
 10873  	}
 10874  	l = len(m.Codespace)
 10875  	if l > 0 {
 10876  		n += 1 + l + sovTypes(uint64(l))
 10877  	}
 10878  	l = len(m.Sender)
 10879  	if l > 0 {
 10880  		n += 1 + l + sovTypes(uint64(l))
 10881  	}
 10882  	if m.Priority != 0 {
 10883  		n += 1 + sovTypes(uint64(m.Priority))
 10884  	}
 10885  	return n
 10886  }
 10887  
 10888  func (m *ResponseDeliverTx) Size() (n int) {
 10889  	if m == nil {
 10890  		return 0
 10891  	}
 10892  	var l int
 10893  	_ = l
 10894  	if m.Code != 0 {
 10895  		n += 1 + sovTypes(uint64(m.Code))
 10896  	}
 10897  	l = len(m.Data)
 10898  	if l > 0 {
 10899  		n += 1 + l + sovTypes(uint64(l))
 10900  	}
 10901  	l = len(m.Log)
 10902  	if l > 0 {
 10903  		n += 1 + l + sovTypes(uint64(l))
 10904  	}
 10905  	l = len(m.Info)
 10906  	if l > 0 {
 10907  		n += 1 + l + sovTypes(uint64(l))
 10908  	}
 10909  	if m.GasWanted != 0 {
 10910  		n += 1 + sovTypes(uint64(m.GasWanted))
 10911  	}
 10912  	if m.GasUsed != 0 {
 10913  		n += 1 + sovTypes(uint64(m.GasUsed))
 10914  	}
 10915  	if len(m.Events) > 0 {
 10916  		for _, e := range m.Events {
 10917  			l = e.Size()
 10918  			n += 1 + l + sovTypes(uint64(l))
 10919  		}
 10920  	}
 10921  	l = len(m.Codespace)
 10922  	if l > 0 {
 10923  		n += 1 + l + sovTypes(uint64(l))
 10924  	}
 10925  	return n
 10926  }
 10927  
 10928  func (m *ResponseEndBlock) Size() (n int) {
 10929  	if m == nil {
 10930  		return 0
 10931  	}
 10932  	var l int
 10933  	_ = l
 10934  	if len(m.ValidatorUpdates) > 0 {
 10935  		for _, e := range m.ValidatorUpdates {
 10936  			l = e.Size()
 10937  			n += 1 + l + sovTypes(uint64(l))
 10938  		}
 10939  	}
 10940  	if m.ConsensusParamUpdates != nil {
 10941  		l = m.ConsensusParamUpdates.Size()
 10942  		n += 1 + l + sovTypes(uint64(l))
 10943  	}
 10944  	if len(m.Events) > 0 {
 10945  		for _, e := range m.Events {
 10946  			l = e.Size()
 10947  			n += 1 + l + sovTypes(uint64(l))
 10948  		}
 10949  	}
 10950  	return n
 10951  }
 10952  
 10953  func (m *ResponseCommit) Size() (n int) {
 10954  	if m == nil {
 10955  		return 0
 10956  	}
 10957  	var l int
 10958  	_ = l
 10959  	if m.RetainHeight != 0 {
 10960  		n += 1 + sovTypes(uint64(m.RetainHeight))
 10961  	}
 10962  	return n
 10963  }
 10964  
 10965  func (m *ResponseListSnapshots) Size() (n int) {
 10966  	if m == nil {
 10967  		return 0
 10968  	}
 10969  	var l int
 10970  	_ = l
 10971  	if len(m.Snapshots) > 0 {
 10972  		for _, e := range m.Snapshots {
 10973  			l = e.Size()
 10974  			n += 1 + l + sovTypes(uint64(l))
 10975  		}
 10976  	}
 10977  	return n
 10978  }
 10979  
 10980  func (m *ResponseOfferSnapshot) Size() (n int) {
 10981  	if m == nil {
 10982  		return 0
 10983  	}
 10984  	var l int
 10985  	_ = l
 10986  	if m.Result != 0 {
 10987  		n += 1 + sovTypes(uint64(m.Result))
 10988  	}
 10989  	return n
 10990  }
 10991  
 10992  func (m *ResponseLoadSnapshotChunk) Size() (n int) {
 10993  	if m == nil {
 10994  		return 0
 10995  	}
 10996  	var l int
 10997  	_ = l
 10998  	l = len(m.Chunk)
 10999  	if l > 0 {
 11000  		n += 1 + l + sovTypes(uint64(l))
 11001  	}
 11002  	return n
 11003  }
 11004  
 11005  func (m *ResponseApplySnapshotChunk) Size() (n int) {
 11006  	if m == nil {
 11007  		return 0
 11008  	}
 11009  	var l int
 11010  	_ = l
 11011  	if m.Result != 0 {
 11012  		n += 1 + sovTypes(uint64(m.Result))
 11013  	}
 11014  	if len(m.RefetchChunks) > 0 {
 11015  		l = 0
 11016  		for _, e := range m.RefetchChunks {
 11017  			l += sovTypes(uint64(e))
 11018  		}
 11019  		n += 1 + sovTypes(uint64(l)) + l
 11020  	}
 11021  	if len(m.RejectSenders) > 0 {
 11022  		for _, s := range m.RejectSenders {
 11023  			l = len(s)
 11024  			n += 1 + l + sovTypes(uint64(l))
 11025  		}
 11026  	}
 11027  	return n
 11028  }
 11029  
 11030  func (m *ResponsePrepareProposal) Size() (n int) {
 11031  	if m == nil {
 11032  		return 0
 11033  	}
 11034  	var l int
 11035  	_ = l
 11036  	if len(m.TxRecords) > 0 {
 11037  		for _, e := range m.TxRecords {
 11038  			l = e.Size()
 11039  			n += 1 + l + sovTypes(uint64(l))
 11040  		}
 11041  	}
 11042  	l = len(m.AppHash)
 11043  	if l > 0 {
 11044  		n += 1 + l + sovTypes(uint64(l))
 11045  	}
 11046  	if len(m.TxResults) > 0 {
 11047  		for _, e := range m.TxResults {
 11048  			l = e.Size()
 11049  			n += 1 + l + sovTypes(uint64(l))
 11050  		}
 11051  	}
 11052  	if len(m.ValidatorUpdates) > 0 {
 11053  		for _, e := range m.ValidatorUpdates {
 11054  			l = e.Size()
 11055  			n += 1 + l + sovTypes(uint64(l))
 11056  		}
 11057  	}
 11058  	if m.ConsensusParamUpdates != nil {
 11059  		l = m.ConsensusParamUpdates.Size()
 11060  		n += 1 + l + sovTypes(uint64(l))
 11061  	}
 11062  	return n
 11063  }
 11064  
 11065  func (m *ResponseProcessProposal) Size() (n int) {
 11066  	if m == nil {
 11067  		return 0
 11068  	}
 11069  	var l int
 11070  	_ = l
 11071  	if m.Status != 0 {
 11072  		n += 1 + sovTypes(uint64(m.Status))
 11073  	}
 11074  	l = len(m.AppHash)
 11075  	if l > 0 {
 11076  		n += 1 + l + sovTypes(uint64(l))
 11077  	}
 11078  	if len(m.TxResults) > 0 {
 11079  		for _, e := range m.TxResults {
 11080  			l = e.Size()
 11081  			n += 1 + l + sovTypes(uint64(l))
 11082  		}
 11083  	}
 11084  	if len(m.ValidatorUpdates) > 0 {
 11085  		for _, e := range m.ValidatorUpdates {
 11086  			l = e.Size()
 11087  			n += 1 + l + sovTypes(uint64(l))
 11088  		}
 11089  	}
 11090  	if m.ConsensusParamUpdates != nil {
 11091  		l = m.ConsensusParamUpdates.Size()
 11092  		n += 1 + l + sovTypes(uint64(l))
 11093  	}
 11094  	return n
 11095  }
 11096  
 11097  func (m *ResponseExtendVote) Size() (n int) {
 11098  	if m == nil {
 11099  		return 0
 11100  	}
 11101  	var l int
 11102  	_ = l
 11103  	l = len(m.VoteExtension)
 11104  	if l > 0 {
 11105  		n += 1 + l + sovTypes(uint64(l))
 11106  	}
 11107  	return n
 11108  }
 11109  
 11110  func (m *ResponseVerifyVoteExtension) Size() (n int) {
 11111  	if m == nil {
 11112  		return 0
 11113  	}
 11114  	var l int
 11115  	_ = l
 11116  	if m.Status != 0 {
 11117  		n += 1 + sovTypes(uint64(m.Status))
 11118  	}
 11119  	return n
 11120  }
 11121  
 11122  func (m *ResponseFinalizeBlock) Size() (n int) {
 11123  	if m == nil {
 11124  		return 0
 11125  	}
 11126  	var l int
 11127  	_ = l
 11128  	if len(m.Events) > 0 {
 11129  		for _, e := range m.Events {
 11130  			l = e.Size()
 11131  			n += 1 + l + sovTypes(uint64(l))
 11132  		}
 11133  	}
 11134  	if len(m.TxResults) > 0 {
 11135  		for _, e := range m.TxResults {
 11136  			l = e.Size()
 11137  			n += 1 + l + sovTypes(uint64(l))
 11138  		}
 11139  	}
 11140  	if len(m.ValidatorUpdates) > 0 {
 11141  		for _, e := range m.ValidatorUpdates {
 11142  			l = e.Size()
 11143  			n += 1 + l + sovTypes(uint64(l))
 11144  		}
 11145  	}
 11146  	if m.ConsensusParamUpdates != nil {
 11147  		l = m.ConsensusParamUpdates.Size()
 11148  		n += 1 + l + sovTypes(uint64(l))
 11149  	}
 11150  	l = len(m.AppHash)
 11151  	if l > 0 {
 11152  		n += 1 + l + sovTypes(uint64(l))
 11153  	}
 11154  	return n
 11155  }
 11156  
 11157  func (m *ResponseLoadLatest) Size() (n int) {
 11158  	if m == nil {
 11159  		return 0
 11160  	}
 11161  	var l int
 11162  	_ = l
 11163  	return n
 11164  }
 11165  
 11166  func (m *CommitInfo) Size() (n int) {
 11167  	if m == nil {
 11168  		return 0
 11169  	}
 11170  	var l int
 11171  	_ = l
 11172  	if m.Round != 0 {
 11173  		n += 1 + sovTypes(uint64(m.Round))
 11174  	}
 11175  	if len(m.Votes) > 0 {
 11176  		for _, e := range m.Votes {
 11177  			l = e.Size()
 11178  			n += 1 + l + sovTypes(uint64(l))
 11179  		}
 11180  	}
 11181  	return n
 11182  }
 11183  
 11184  func (m *LastCommitInfo) Size() (n int) {
 11185  	if m == nil {
 11186  		return 0
 11187  	}
 11188  	var l int
 11189  	_ = l
 11190  	if m.Round != 0 {
 11191  		n += 1 + sovTypes(uint64(m.Round))
 11192  	}
 11193  	if len(m.Votes) > 0 {
 11194  		for _, e := range m.Votes {
 11195  			l = e.Size()
 11196  			n += 1 + l + sovTypes(uint64(l))
 11197  		}
 11198  	}
 11199  	return n
 11200  }
 11201  
 11202  func (m *ExtendedCommitInfo) Size() (n int) {
 11203  	if m == nil {
 11204  		return 0
 11205  	}
 11206  	var l int
 11207  	_ = l
 11208  	if m.Round != 0 {
 11209  		n += 1 + sovTypes(uint64(m.Round))
 11210  	}
 11211  	if len(m.Votes) > 0 {
 11212  		for _, e := range m.Votes {
 11213  			l = e.Size()
 11214  			n += 1 + l + sovTypes(uint64(l))
 11215  		}
 11216  	}
 11217  	return n
 11218  }
 11219  
 11220  func (m *Event) Size() (n int) {
 11221  	if m == nil {
 11222  		return 0
 11223  	}
 11224  	var l int
 11225  	_ = l
 11226  	l = len(m.Type)
 11227  	if l > 0 {
 11228  		n += 1 + l + sovTypes(uint64(l))
 11229  	}
 11230  	if len(m.Attributes) > 0 {
 11231  		for _, e := range m.Attributes {
 11232  			l = e.Size()
 11233  			n += 1 + l + sovTypes(uint64(l))
 11234  		}
 11235  	}
 11236  	return n
 11237  }
 11238  
 11239  func (m *EventAttribute) Size() (n int) {
 11240  	if m == nil {
 11241  		return 0
 11242  	}
 11243  	var l int
 11244  	_ = l
 11245  	l = len(m.Key)
 11246  	if l > 0 {
 11247  		n += 1 + l + sovTypes(uint64(l))
 11248  	}
 11249  	l = len(m.Value)
 11250  	if l > 0 {
 11251  		n += 1 + l + sovTypes(uint64(l))
 11252  	}
 11253  	if m.Index {
 11254  		n += 2
 11255  	}
 11256  	return n
 11257  }
 11258  
 11259  func (m *ExecTxResult) Size() (n int) {
 11260  	if m == nil {
 11261  		return 0
 11262  	}
 11263  	var l int
 11264  	_ = l
 11265  	if m.Code != 0 {
 11266  		n += 1 + sovTypes(uint64(m.Code))
 11267  	}
 11268  	l = len(m.Data)
 11269  	if l > 0 {
 11270  		n += 1 + l + sovTypes(uint64(l))
 11271  	}
 11272  	l = len(m.Log)
 11273  	if l > 0 {
 11274  		n += 1 + l + sovTypes(uint64(l))
 11275  	}
 11276  	l = len(m.Info)
 11277  	if l > 0 {
 11278  		n += 1 + l + sovTypes(uint64(l))
 11279  	}
 11280  	if m.GasWanted != 0 {
 11281  		n += 1 + sovTypes(uint64(m.GasWanted))
 11282  	}
 11283  	if m.GasUsed != 0 {
 11284  		n += 1 + sovTypes(uint64(m.GasUsed))
 11285  	}
 11286  	if len(m.Events) > 0 {
 11287  		for _, e := range m.Events {
 11288  			l = e.Size()
 11289  			n += 1 + l + sovTypes(uint64(l))
 11290  		}
 11291  	}
 11292  	l = len(m.Codespace)
 11293  	if l > 0 {
 11294  		n += 1 + l + sovTypes(uint64(l))
 11295  	}
 11296  	return n
 11297  }
 11298  
 11299  func (m *TxResult) Size() (n int) {
 11300  	if m == nil {
 11301  		return 0
 11302  	}
 11303  	var l int
 11304  	_ = l
 11305  	if m.Height != 0 {
 11306  		n += 1 + sovTypes(uint64(m.Height))
 11307  	}
 11308  	if m.Index != 0 {
 11309  		n += 1 + sovTypes(uint64(m.Index))
 11310  	}
 11311  	l = len(m.Tx)
 11312  	if l > 0 {
 11313  		n += 1 + l + sovTypes(uint64(l))
 11314  	}
 11315  	l = m.Result.Size()
 11316  	n += 1 + l + sovTypes(uint64(l))
 11317  	return n
 11318  }
 11319  
 11320  func (m *TxRecord) Size() (n int) {
 11321  	if m == nil {
 11322  		return 0
 11323  	}
 11324  	var l int
 11325  	_ = l
 11326  	if m.Action != 0 {
 11327  		n += 1 + sovTypes(uint64(m.Action))
 11328  	}
 11329  	l = len(m.Tx)
 11330  	if l > 0 {
 11331  		n += 1 + l + sovTypes(uint64(l))
 11332  	}
 11333  	return n
 11334  }
 11335  
 11336  func (m *BlockParams) Size() (n int) {
 11337  	if m == nil {
 11338  		return 0
 11339  	}
 11340  	var l int
 11341  	_ = l
 11342  	if m.MaxBytes != 0 {
 11343  		n += 1 + sovTypes(uint64(m.MaxBytes))
 11344  	}
 11345  	if m.MaxGas != 0 {
 11346  		n += 1 + sovTypes(uint64(m.MaxGas))
 11347  	}
 11348  	return n
 11349  }
 11350  
 11351  func (m *ConsensusParams) Size() (n int) {
 11352  	if m == nil {
 11353  		return 0
 11354  	}
 11355  	var l int
 11356  	_ = l
 11357  	if m.Block != nil {
 11358  		l = m.Block.Size()
 11359  		n += 1 + l + sovTypes(uint64(l))
 11360  	}
 11361  	if m.Evidence != nil {
 11362  		l = m.Evidence.Size()
 11363  		n += 1 + l + sovTypes(uint64(l))
 11364  	}
 11365  	if m.Validator != nil {
 11366  		l = m.Validator.Size()
 11367  		n += 1 + l + sovTypes(uint64(l))
 11368  	}
 11369  	if m.Version != nil {
 11370  		l = m.Version.Size()
 11371  		n += 1 + l + sovTypes(uint64(l))
 11372  	}
 11373  	return n
 11374  }
 11375  
 11376  func (m *Validator) Size() (n int) {
 11377  	if m == nil {
 11378  		return 0
 11379  	}
 11380  	var l int
 11381  	_ = l
 11382  	l = len(m.Address)
 11383  	if l > 0 {
 11384  		n += 1 + l + sovTypes(uint64(l))
 11385  	}
 11386  	if m.Power != 0 {
 11387  		n += 1 + sovTypes(uint64(m.Power))
 11388  	}
 11389  	return n
 11390  }
 11391  
 11392  func (m *ValidatorUpdate) Size() (n int) {
 11393  	if m == nil {
 11394  		return 0
 11395  	}
 11396  	var l int
 11397  	_ = l
 11398  	l = m.PubKey.Size()
 11399  	n += 1 + l + sovTypes(uint64(l))
 11400  	if m.Power != 0 {
 11401  		n += 1 + sovTypes(uint64(m.Power))
 11402  	}
 11403  	return n
 11404  }
 11405  
 11406  func (m *VoteInfo) Size() (n int) {
 11407  	if m == nil {
 11408  		return 0
 11409  	}
 11410  	var l int
 11411  	_ = l
 11412  	l = m.Validator.Size()
 11413  	n += 1 + l + sovTypes(uint64(l))
 11414  	if m.SignedLastBlock {
 11415  		n += 2
 11416  	}
 11417  	return n
 11418  }
 11419  
 11420  func (m *ExtendedVoteInfo) Size() (n int) {
 11421  	if m == nil {
 11422  		return 0
 11423  	}
 11424  	var l int
 11425  	_ = l
 11426  	l = m.Validator.Size()
 11427  	n += 1 + l + sovTypes(uint64(l))
 11428  	if m.SignedLastBlock {
 11429  		n += 2
 11430  	}
 11431  	l = len(m.VoteExtension)
 11432  	if l > 0 {
 11433  		n += 1 + l + sovTypes(uint64(l))
 11434  	}
 11435  	return n
 11436  }
 11437  
 11438  func (m *Misbehavior) Size() (n int) {
 11439  	if m == nil {
 11440  		return 0
 11441  	}
 11442  	var l int
 11443  	_ = l
 11444  	if m.Type != 0 {
 11445  		n += 1 + sovTypes(uint64(m.Type))
 11446  	}
 11447  	l = m.Validator.Size()
 11448  	n += 1 + l + sovTypes(uint64(l))
 11449  	if m.Height != 0 {
 11450  		n += 1 + sovTypes(uint64(m.Height))
 11451  	}
 11452  	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time)
 11453  	n += 1 + l + sovTypes(uint64(l))
 11454  	if m.TotalVotingPower != 0 {
 11455  		n += 1 + sovTypes(uint64(m.TotalVotingPower))
 11456  	}
 11457  	return n
 11458  }
 11459  
 11460  func (m *Evidence) Size() (n int) {
 11461  	if m == nil {
 11462  		return 0
 11463  	}
 11464  	var l int
 11465  	_ = l
 11466  	if m.Type != 0 {
 11467  		n += 1 + sovTypes(uint64(m.Type))
 11468  	}
 11469  	l = m.Validator.Size()
 11470  	n += 1 + l + sovTypes(uint64(l))
 11471  	if m.Height != 0 {
 11472  		n += 1 + sovTypes(uint64(m.Height))
 11473  	}
 11474  	l = github_com_gogo_protobuf_types.SizeOfStdTime(m.Time)
 11475  	n += 1 + l + sovTypes(uint64(l))
 11476  	if m.TotalVotingPower != 0 {
 11477  		n += 1 + sovTypes(uint64(m.TotalVotingPower))
 11478  	}
 11479  	return n
 11480  }
 11481  
 11482  func (m *Snapshot) Size() (n int) {
 11483  	if m == nil {
 11484  		return 0
 11485  	}
 11486  	var l int
 11487  	_ = l
 11488  	if m.Height != 0 {
 11489  		n += 1 + sovTypes(uint64(m.Height))
 11490  	}
 11491  	if m.Format != 0 {
 11492  		n += 1 + sovTypes(uint64(m.Format))
 11493  	}
 11494  	if m.Chunks != 0 {
 11495  		n += 1 + sovTypes(uint64(m.Chunks))
 11496  	}
 11497  	l = len(m.Hash)
 11498  	if l > 0 {
 11499  		n += 1 + l + sovTypes(uint64(l))
 11500  	}
 11501  	l = len(m.Metadata)
 11502  	if l > 0 {
 11503  		n += 1 + l + sovTypes(uint64(l))
 11504  	}
 11505  	return n
 11506  }
 11507  
 11508  func sovTypes(x uint64) (n int) {
 11509  	return (math_bits.Len64(x|1) + 6) / 7
 11510  }
 11511  func sozTypes(x uint64) (n int) {
 11512  	return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63))))
 11513  }
 11514  func (m *Request) Unmarshal(dAtA []byte) error {
 11515  	l := len(dAtA)
 11516  	iNdEx := 0
 11517  	for iNdEx < l {
 11518  		preIndex := iNdEx
 11519  		var wire uint64
 11520  		for shift := uint(0); ; shift += 7 {
 11521  			if shift >= 64 {
 11522  				return ErrIntOverflowTypes
 11523  			}
 11524  			if iNdEx >= l {
 11525  				return io.ErrUnexpectedEOF
 11526  			}
 11527  			b := dAtA[iNdEx]
 11528  			iNdEx++
 11529  			wire |= uint64(b&0x7F) << shift
 11530  			if b < 0x80 {
 11531  				break
 11532  			}
 11533  		}
 11534  		fieldNum := int32(wire >> 3)
 11535  		wireType := int(wire & 0x7)
 11536  		if wireType == 4 {
 11537  			return fmt.Errorf("proto: Request: wiretype end group for non-group")
 11538  		}
 11539  		if fieldNum <= 0 {
 11540  			return fmt.Errorf("proto: Request: illegal tag %d (wire type %d)", fieldNum, wire)
 11541  		}
 11542  		switch fieldNum {
 11543  		case 1:
 11544  			if wireType != 2 {
 11545  				return fmt.Errorf("proto: wrong wireType = %d for field Echo", wireType)
 11546  			}
 11547  			var msglen int
 11548  			for shift := uint(0); ; shift += 7 {
 11549  				if shift >= 64 {
 11550  					return ErrIntOverflowTypes
 11551  				}
 11552  				if iNdEx >= l {
 11553  					return io.ErrUnexpectedEOF
 11554  				}
 11555  				b := dAtA[iNdEx]
 11556  				iNdEx++
 11557  				msglen |= int(b&0x7F) << shift
 11558  				if b < 0x80 {
 11559  					break
 11560  				}
 11561  			}
 11562  			if msglen < 0 {
 11563  				return ErrInvalidLengthTypes
 11564  			}
 11565  			postIndex := iNdEx + msglen
 11566  			if postIndex < 0 {
 11567  				return ErrInvalidLengthTypes
 11568  			}
 11569  			if postIndex > l {
 11570  				return io.ErrUnexpectedEOF
 11571  			}
 11572  			v := &RequestEcho{}
 11573  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11574  				return err
 11575  			}
 11576  			m.Value = &Request_Echo{v}
 11577  			iNdEx = postIndex
 11578  		case 2:
 11579  			if wireType != 2 {
 11580  				return fmt.Errorf("proto: wrong wireType = %d for field Flush", wireType)
 11581  			}
 11582  			var msglen int
 11583  			for shift := uint(0); ; shift += 7 {
 11584  				if shift >= 64 {
 11585  					return ErrIntOverflowTypes
 11586  				}
 11587  				if iNdEx >= l {
 11588  					return io.ErrUnexpectedEOF
 11589  				}
 11590  				b := dAtA[iNdEx]
 11591  				iNdEx++
 11592  				msglen |= int(b&0x7F) << shift
 11593  				if b < 0x80 {
 11594  					break
 11595  				}
 11596  			}
 11597  			if msglen < 0 {
 11598  				return ErrInvalidLengthTypes
 11599  			}
 11600  			postIndex := iNdEx + msglen
 11601  			if postIndex < 0 {
 11602  				return ErrInvalidLengthTypes
 11603  			}
 11604  			if postIndex > l {
 11605  				return io.ErrUnexpectedEOF
 11606  			}
 11607  			v := &RequestFlush{}
 11608  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11609  				return err
 11610  			}
 11611  			m.Value = &Request_Flush{v}
 11612  			iNdEx = postIndex
 11613  		case 3:
 11614  			if wireType != 2 {
 11615  				return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
 11616  			}
 11617  			var msglen int
 11618  			for shift := uint(0); ; shift += 7 {
 11619  				if shift >= 64 {
 11620  					return ErrIntOverflowTypes
 11621  				}
 11622  				if iNdEx >= l {
 11623  					return io.ErrUnexpectedEOF
 11624  				}
 11625  				b := dAtA[iNdEx]
 11626  				iNdEx++
 11627  				msglen |= int(b&0x7F) << shift
 11628  				if b < 0x80 {
 11629  					break
 11630  				}
 11631  			}
 11632  			if msglen < 0 {
 11633  				return ErrInvalidLengthTypes
 11634  			}
 11635  			postIndex := iNdEx + msglen
 11636  			if postIndex < 0 {
 11637  				return ErrInvalidLengthTypes
 11638  			}
 11639  			if postIndex > l {
 11640  				return io.ErrUnexpectedEOF
 11641  			}
 11642  			v := &RequestInfo{}
 11643  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11644  				return err
 11645  			}
 11646  			m.Value = &Request_Info{v}
 11647  			iNdEx = postIndex
 11648  		case 4:
 11649  			if wireType != 2 {
 11650  				return fmt.Errorf("proto: wrong wireType = %d for field InitChain", wireType)
 11651  			}
 11652  			var msglen int
 11653  			for shift := uint(0); ; shift += 7 {
 11654  				if shift >= 64 {
 11655  					return ErrIntOverflowTypes
 11656  				}
 11657  				if iNdEx >= l {
 11658  					return io.ErrUnexpectedEOF
 11659  				}
 11660  				b := dAtA[iNdEx]
 11661  				iNdEx++
 11662  				msglen |= int(b&0x7F) << shift
 11663  				if b < 0x80 {
 11664  					break
 11665  				}
 11666  			}
 11667  			if msglen < 0 {
 11668  				return ErrInvalidLengthTypes
 11669  			}
 11670  			postIndex := iNdEx + msglen
 11671  			if postIndex < 0 {
 11672  				return ErrInvalidLengthTypes
 11673  			}
 11674  			if postIndex > l {
 11675  				return io.ErrUnexpectedEOF
 11676  			}
 11677  			v := &RequestInitChain{}
 11678  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11679  				return err
 11680  			}
 11681  			m.Value = &Request_InitChain{v}
 11682  			iNdEx = postIndex
 11683  		case 5:
 11684  			if wireType != 2 {
 11685  				return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
 11686  			}
 11687  			var msglen int
 11688  			for shift := uint(0); ; shift += 7 {
 11689  				if shift >= 64 {
 11690  					return ErrIntOverflowTypes
 11691  				}
 11692  				if iNdEx >= l {
 11693  					return io.ErrUnexpectedEOF
 11694  				}
 11695  				b := dAtA[iNdEx]
 11696  				iNdEx++
 11697  				msglen |= int(b&0x7F) << shift
 11698  				if b < 0x80 {
 11699  					break
 11700  				}
 11701  			}
 11702  			if msglen < 0 {
 11703  				return ErrInvalidLengthTypes
 11704  			}
 11705  			postIndex := iNdEx + msglen
 11706  			if postIndex < 0 {
 11707  				return ErrInvalidLengthTypes
 11708  			}
 11709  			if postIndex > l {
 11710  				return io.ErrUnexpectedEOF
 11711  			}
 11712  			v := &RequestQuery{}
 11713  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11714  				return err
 11715  			}
 11716  			m.Value = &Request_Query{v}
 11717  			iNdEx = postIndex
 11718  		case 7:
 11719  			if wireType != 2 {
 11720  				return fmt.Errorf("proto: wrong wireType = %d for field CheckTx", wireType)
 11721  			}
 11722  			var msglen int
 11723  			for shift := uint(0); ; shift += 7 {
 11724  				if shift >= 64 {
 11725  					return ErrIntOverflowTypes
 11726  				}
 11727  				if iNdEx >= l {
 11728  					return io.ErrUnexpectedEOF
 11729  				}
 11730  				b := dAtA[iNdEx]
 11731  				iNdEx++
 11732  				msglen |= int(b&0x7F) << shift
 11733  				if b < 0x80 {
 11734  					break
 11735  				}
 11736  			}
 11737  			if msglen < 0 {
 11738  				return ErrInvalidLengthTypes
 11739  			}
 11740  			postIndex := iNdEx + msglen
 11741  			if postIndex < 0 {
 11742  				return ErrInvalidLengthTypes
 11743  			}
 11744  			if postIndex > l {
 11745  				return io.ErrUnexpectedEOF
 11746  			}
 11747  			v := &RequestCheckTx{}
 11748  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11749  				return err
 11750  			}
 11751  			m.Value = &Request_CheckTx{v}
 11752  			iNdEx = postIndex
 11753  		case 10:
 11754  			if wireType != 2 {
 11755  				return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType)
 11756  			}
 11757  			var msglen int
 11758  			for shift := uint(0); ; shift += 7 {
 11759  				if shift >= 64 {
 11760  					return ErrIntOverflowTypes
 11761  				}
 11762  				if iNdEx >= l {
 11763  					return io.ErrUnexpectedEOF
 11764  				}
 11765  				b := dAtA[iNdEx]
 11766  				iNdEx++
 11767  				msglen |= int(b&0x7F) << shift
 11768  				if b < 0x80 {
 11769  					break
 11770  				}
 11771  			}
 11772  			if msglen < 0 {
 11773  				return ErrInvalidLengthTypes
 11774  			}
 11775  			postIndex := iNdEx + msglen
 11776  			if postIndex < 0 {
 11777  				return ErrInvalidLengthTypes
 11778  			}
 11779  			if postIndex > l {
 11780  				return io.ErrUnexpectedEOF
 11781  			}
 11782  			v := &RequestCommit{}
 11783  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11784  				return err
 11785  			}
 11786  			m.Value = &Request_Commit{v}
 11787  			iNdEx = postIndex
 11788  		case 11:
 11789  			if wireType != 2 {
 11790  				return fmt.Errorf("proto: wrong wireType = %d for field ListSnapshots", wireType)
 11791  			}
 11792  			var msglen int
 11793  			for shift := uint(0); ; shift += 7 {
 11794  				if shift >= 64 {
 11795  					return ErrIntOverflowTypes
 11796  				}
 11797  				if iNdEx >= l {
 11798  					return io.ErrUnexpectedEOF
 11799  				}
 11800  				b := dAtA[iNdEx]
 11801  				iNdEx++
 11802  				msglen |= int(b&0x7F) << shift
 11803  				if b < 0x80 {
 11804  					break
 11805  				}
 11806  			}
 11807  			if msglen < 0 {
 11808  				return ErrInvalidLengthTypes
 11809  			}
 11810  			postIndex := iNdEx + msglen
 11811  			if postIndex < 0 {
 11812  				return ErrInvalidLengthTypes
 11813  			}
 11814  			if postIndex > l {
 11815  				return io.ErrUnexpectedEOF
 11816  			}
 11817  			v := &RequestListSnapshots{}
 11818  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11819  				return err
 11820  			}
 11821  			m.Value = &Request_ListSnapshots{v}
 11822  			iNdEx = postIndex
 11823  		case 12:
 11824  			if wireType != 2 {
 11825  				return fmt.Errorf("proto: wrong wireType = %d for field OfferSnapshot", wireType)
 11826  			}
 11827  			var msglen int
 11828  			for shift := uint(0); ; shift += 7 {
 11829  				if shift >= 64 {
 11830  					return ErrIntOverflowTypes
 11831  				}
 11832  				if iNdEx >= l {
 11833  					return io.ErrUnexpectedEOF
 11834  				}
 11835  				b := dAtA[iNdEx]
 11836  				iNdEx++
 11837  				msglen |= int(b&0x7F) << shift
 11838  				if b < 0x80 {
 11839  					break
 11840  				}
 11841  			}
 11842  			if msglen < 0 {
 11843  				return ErrInvalidLengthTypes
 11844  			}
 11845  			postIndex := iNdEx + msglen
 11846  			if postIndex < 0 {
 11847  				return ErrInvalidLengthTypes
 11848  			}
 11849  			if postIndex > l {
 11850  				return io.ErrUnexpectedEOF
 11851  			}
 11852  			v := &RequestOfferSnapshot{}
 11853  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11854  				return err
 11855  			}
 11856  			m.Value = &Request_OfferSnapshot{v}
 11857  			iNdEx = postIndex
 11858  		case 13:
 11859  			if wireType != 2 {
 11860  				return fmt.Errorf("proto: wrong wireType = %d for field LoadSnapshotChunk", wireType)
 11861  			}
 11862  			var msglen int
 11863  			for shift := uint(0); ; shift += 7 {
 11864  				if shift >= 64 {
 11865  					return ErrIntOverflowTypes
 11866  				}
 11867  				if iNdEx >= l {
 11868  					return io.ErrUnexpectedEOF
 11869  				}
 11870  				b := dAtA[iNdEx]
 11871  				iNdEx++
 11872  				msglen |= int(b&0x7F) << shift
 11873  				if b < 0x80 {
 11874  					break
 11875  				}
 11876  			}
 11877  			if msglen < 0 {
 11878  				return ErrInvalidLengthTypes
 11879  			}
 11880  			postIndex := iNdEx + msglen
 11881  			if postIndex < 0 {
 11882  				return ErrInvalidLengthTypes
 11883  			}
 11884  			if postIndex > l {
 11885  				return io.ErrUnexpectedEOF
 11886  			}
 11887  			v := &RequestLoadSnapshotChunk{}
 11888  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11889  				return err
 11890  			}
 11891  			m.Value = &Request_LoadSnapshotChunk{v}
 11892  			iNdEx = postIndex
 11893  		case 14:
 11894  			if wireType != 2 {
 11895  				return fmt.Errorf("proto: wrong wireType = %d for field ApplySnapshotChunk", wireType)
 11896  			}
 11897  			var msglen int
 11898  			for shift := uint(0); ; shift += 7 {
 11899  				if shift >= 64 {
 11900  					return ErrIntOverflowTypes
 11901  				}
 11902  				if iNdEx >= l {
 11903  					return io.ErrUnexpectedEOF
 11904  				}
 11905  				b := dAtA[iNdEx]
 11906  				iNdEx++
 11907  				msglen |= int(b&0x7F) << shift
 11908  				if b < 0x80 {
 11909  					break
 11910  				}
 11911  			}
 11912  			if msglen < 0 {
 11913  				return ErrInvalidLengthTypes
 11914  			}
 11915  			postIndex := iNdEx + msglen
 11916  			if postIndex < 0 {
 11917  				return ErrInvalidLengthTypes
 11918  			}
 11919  			if postIndex > l {
 11920  				return io.ErrUnexpectedEOF
 11921  			}
 11922  			v := &RequestApplySnapshotChunk{}
 11923  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11924  				return err
 11925  			}
 11926  			m.Value = &Request_ApplySnapshotChunk{v}
 11927  			iNdEx = postIndex
 11928  		case 15:
 11929  			if wireType != 2 {
 11930  				return fmt.Errorf("proto: wrong wireType = %d for field PrepareProposal", wireType)
 11931  			}
 11932  			var msglen int
 11933  			for shift := uint(0); ; shift += 7 {
 11934  				if shift >= 64 {
 11935  					return ErrIntOverflowTypes
 11936  				}
 11937  				if iNdEx >= l {
 11938  					return io.ErrUnexpectedEOF
 11939  				}
 11940  				b := dAtA[iNdEx]
 11941  				iNdEx++
 11942  				msglen |= int(b&0x7F) << shift
 11943  				if b < 0x80 {
 11944  					break
 11945  				}
 11946  			}
 11947  			if msglen < 0 {
 11948  				return ErrInvalidLengthTypes
 11949  			}
 11950  			postIndex := iNdEx + msglen
 11951  			if postIndex < 0 {
 11952  				return ErrInvalidLengthTypes
 11953  			}
 11954  			if postIndex > l {
 11955  				return io.ErrUnexpectedEOF
 11956  			}
 11957  			v := &RequestPrepareProposal{}
 11958  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11959  				return err
 11960  			}
 11961  			m.Value = &Request_PrepareProposal{v}
 11962  			iNdEx = postIndex
 11963  		case 16:
 11964  			if wireType != 2 {
 11965  				return fmt.Errorf("proto: wrong wireType = %d for field ProcessProposal", wireType)
 11966  			}
 11967  			var msglen int
 11968  			for shift := uint(0); ; shift += 7 {
 11969  				if shift >= 64 {
 11970  					return ErrIntOverflowTypes
 11971  				}
 11972  				if iNdEx >= l {
 11973  					return io.ErrUnexpectedEOF
 11974  				}
 11975  				b := dAtA[iNdEx]
 11976  				iNdEx++
 11977  				msglen |= int(b&0x7F) << shift
 11978  				if b < 0x80 {
 11979  					break
 11980  				}
 11981  			}
 11982  			if msglen < 0 {
 11983  				return ErrInvalidLengthTypes
 11984  			}
 11985  			postIndex := iNdEx + msglen
 11986  			if postIndex < 0 {
 11987  				return ErrInvalidLengthTypes
 11988  			}
 11989  			if postIndex > l {
 11990  				return io.ErrUnexpectedEOF
 11991  			}
 11992  			v := &RequestProcessProposal{}
 11993  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 11994  				return err
 11995  			}
 11996  			m.Value = &Request_ProcessProposal{v}
 11997  			iNdEx = postIndex
 11998  		case 17:
 11999  			if wireType != 2 {
 12000  				return fmt.Errorf("proto: wrong wireType = %d for field ExtendVote", wireType)
 12001  			}
 12002  			var msglen int
 12003  			for shift := uint(0); ; shift += 7 {
 12004  				if shift >= 64 {
 12005  					return ErrIntOverflowTypes
 12006  				}
 12007  				if iNdEx >= l {
 12008  					return io.ErrUnexpectedEOF
 12009  				}
 12010  				b := dAtA[iNdEx]
 12011  				iNdEx++
 12012  				msglen |= int(b&0x7F) << shift
 12013  				if b < 0x80 {
 12014  					break
 12015  				}
 12016  			}
 12017  			if msglen < 0 {
 12018  				return ErrInvalidLengthTypes
 12019  			}
 12020  			postIndex := iNdEx + msglen
 12021  			if postIndex < 0 {
 12022  				return ErrInvalidLengthTypes
 12023  			}
 12024  			if postIndex > l {
 12025  				return io.ErrUnexpectedEOF
 12026  			}
 12027  			v := &RequestExtendVote{}
 12028  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12029  				return err
 12030  			}
 12031  			m.Value = &Request_ExtendVote{v}
 12032  			iNdEx = postIndex
 12033  		case 18:
 12034  			if wireType != 2 {
 12035  				return fmt.Errorf("proto: wrong wireType = %d for field VerifyVoteExtension", wireType)
 12036  			}
 12037  			var msglen int
 12038  			for shift := uint(0); ; shift += 7 {
 12039  				if shift >= 64 {
 12040  					return ErrIntOverflowTypes
 12041  				}
 12042  				if iNdEx >= l {
 12043  					return io.ErrUnexpectedEOF
 12044  				}
 12045  				b := dAtA[iNdEx]
 12046  				iNdEx++
 12047  				msglen |= int(b&0x7F) << shift
 12048  				if b < 0x80 {
 12049  					break
 12050  				}
 12051  			}
 12052  			if msglen < 0 {
 12053  				return ErrInvalidLengthTypes
 12054  			}
 12055  			postIndex := iNdEx + msglen
 12056  			if postIndex < 0 {
 12057  				return ErrInvalidLengthTypes
 12058  			}
 12059  			if postIndex > l {
 12060  				return io.ErrUnexpectedEOF
 12061  			}
 12062  			v := &RequestVerifyVoteExtension{}
 12063  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12064  				return err
 12065  			}
 12066  			m.Value = &Request_VerifyVoteExtension{v}
 12067  			iNdEx = postIndex
 12068  		case 19:
 12069  			if wireType != 2 {
 12070  				return fmt.Errorf("proto: wrong wireType = %d for field FinalizeBlock", wireType)
 12071  			}
 12072  			var msglen int
 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  				msglen |= int(b&0x7F) << shift
 12083  				if b < 0x80 {
 12084  					break
 12085  				}
 12086  			}
 12087  			if msglen < 0 {
 12088  				return ErrInvalidLengthTypes
 12089  			}
 12090  			postIndex := iNdEx + msglen
 12091  			if postIndex < 0 {
 12092  				return ErrInvalidLengthTypes
 12093  			}
 12094  			if postIndex > l {
 12095  				return io.ErrUnexpectedEOF
 12096  			}
 12097  			v := &RequestFinalizeBlock{}
 12098  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12099  				return err
 12100  			}
 12101  			m.Value = &Request_FinalizeBlock{v}
 12102  			iNdEx = postIndex
 12103  		case 20:
 12104  			if wireType != 2 {
 12105  				return fmt.Errorf("proto: wrong wireType = %d for field BeginBlock", wireType)
 12106  			}
 12107  			var msglen int
 12108  			for shift := uint(0); ; shift += 7 {
 12109  				if shift >= 64 {
 12110  					return ErrIntOverflowTypes
 12111  				}
 12112  				if iNdEx >= l {
 12113  					return io.ErrUnexpectedEOF
 12114  				}
 12115  				b := dAtA[iNdEx]
 12116  				iNdEx++
 12117  				msglen |= int(b&0x7F) << shift
 12118  				if b < 0x80 {
 12119  					break
 12120  				}
 12121  			}
 12122  			if msglen < 0 {
 12123  				return ErrInvalidLengthTypes
 12124  			}
 12125  			postIndex := iNdEx + msglen
 12126  			if postIndex < 0 {
 12127  				return ErrInvalidLengthTypes
 12128  			}
 12129  			if postIndex > l {
 12130  				return io.ErrUnexpectedEOF
 12131  			}
 12132  			v := &RequestBeginBlock{}
 12133  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12134  				return err
 12135  			}
 12136  			m.Value = &Request_BeginBlock{v}
 12137  			iNdEx = postIndex
 12138  		case 21:
 12139  			if wireType != 2 {
 12140  				return fmt.Errorf("proto: wrong wireType = %d for field DeliverTx", wireType)
 12141  			}
 12142  			var msglen int
 12143  			for shift := uint(0); ; shift += 7 {
 12144  				if shift >= 64 {
 12145  					return ErrIntOverflowTypes
 12146  				}
 12147  				if iNdEx >= l {
 12148  					return io.ErrUnexpectedEOF
 12149  				}
 12150  				b := dAtA[iNdEx]
 12151  				iNdEx++
 12152  				msglen |= int(b&0x7F) << shift
 12153  				if b < 0x80 {
 12154  					break
 12155  				}
 12156  			}
 12157  			if msglen < 0 {
 12158  				return ErrInvalidLengthTypes
 12159  			}
 12160  			postIndex := iNdEx + msglen
 12161  			if postIndex < 0 {
 12162  				return ErrInvalidLengthTypes
 12163  			}
 12164  			if postIndex > l {
 12165  				return io.ErrUnexpectedEOF
 12166  			}
 12167  			v := &RequestDeliverTx{}
 12168  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12169  				return err
 12170  			}
 12171  			m.Value = &Request_DeliverTx{v}
 12172  			iNdEx = postIndex
 12173  		case 22:
 12174  			if wireType != 2 {
 12175  				return fmt.Errorf("proto: wrong wireType = %d for field EndBlock", wireType)
 12176  			}
 12177  			var msglen int
 12178  			for shift := uint(0); ; shift += 7 {
 12179  				if shift >= 64 {
 12180  					return ErrIntOverflowTypes
 12181  				}
 12182  				if iNdEx >= l {
 12183  					return io.ErrUnexpectedEOF
 12184  				}
 12185  				b := dAtA[iNdEx]
 12186  				iNdEx++
 12187  				msglen |= int(b&0x7F) << shift
 12188  				if b < 0x80 {
 12189  					break
 12190  				}
 12191  			}
 12192  			if msglen < 0 {
 12193  				return ErrInvalidLengthTypes
 12194  			}
 12195  			postIndex := iNdEx + msglen
 12196  			if postIndex < 0 {
 12197  				return ErrInvalidLengthTypes
 12198  			}
 12199  			if postIndex > l {
 12200  				return io.ErrUnexpectedEOF
 12201  			}
 12202  			v := &RequestEndBlock{}
 12203  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12204  				return err
 12205  			}
 12206  			m.Value = &Request_EndBlock{v}
 12207  			iNdEx = postIndex
 12208  		case 23:
 12209  			if wireType != 2 {
 12210  				return fmt.Errorf("proto: wrong wireType = %d for field LoadLatest", wireType)
 12211  			}
 12212  			var msglen int
 12213  			for shift := uint(0); ; shift += 7 {
 12214  				if shift >= 64 {
 12215  					return ErrIntOverflowTypes
 12216  				}
 12217  				if iNdEx >= l {
 12218  					return io.ErrUnexpectedEOF
 12219  				}
 12220  				b := dAtA[iNdEx]
 12221  				iNdEx++
 12222  				msglen |= int(b&0x7F) << shift
 12223  				if b < 0x80 {
 12224  					break
 12225  				}
 12226  			}
 12227  			if msglen < 0 {
 12228  				return ErrInvalidLengthTypes
 12229  			}
 12230  			postIndex := iNdEx + msglen
 12231  			if postIndex < 0 {
 12232  				return ErrInvalidLengthTypes
 12233  			}
 12234  			if postIndex > l {
 12235  				return io.ErrUnexpectedEOF
 12236  			}
 12237  			v := &RequestLoadLatest{}
 12238  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12239  				return err
 12240  			}
 12241  			m.Value = &Request_LoadLatest{v}
 12242  			iNdEx = postIndex
 12243  		default:
 12244  			iNdEx = preIndex
 12245  			skippy, err := skipTypes(dAtA[iNdEx:])
 12246  			if err != nil {
 12247  				return err
 12248  			}
 12249  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12250  				return ErrInvalidLengthTypes
 12251  			}
 12252  			if (iNdEx + skippy) > l {
 12253  				return io.ErrUnexpectedEOF
 12254  			}
 12255  			iNdEx += skippy
 12256  		}
 12257  	}
 12258  
 12259  	if iNdEx > l {
 12260  		return io.ErrUnexpectedEOF
 12261  	}
 12262  	return nil
 12263  }
 12264  func (m *RequestEcho) Unmarshal(dAtA []byte) error {
 12265  	l := len(dAtA)
 12266  	iNdEx := 0
 12267  	for iNdEx < l {
 12268  		preIndex := iNdEx
 12269  		var wire uint64
 12270  		for shift := uint(0); ; shift += 7 {
 12271  			if shift >= 64 {
 12272  				return ErrIntOverflowTypes
 12273  			}
 12274  			if iNdEx >= l {
 12275  				return io.ErrUnexpectedEOF
 12276  			}
 12277  			b := dAtA[iNdEx]
 12278  			iNdEx++
 12279  			wire |= uint64(b&0x7F) << shift
 12280  			if b < 0x80 {
 12281  				break
 12282  			}
 12283  		}
 12284  		fieldNum := int32(wire >> 3)
 12285  		wireType := int(wire & 0x7)
 12286  		if wireType == 4 {
 12287  			return fmt.Errorf("proto: RequestEcho: wiretype end group for non-group")
 12288  		}
 12289  		if fieldNum <= 0 {
 12290  			return fmt.Errorf("proto: RequestEcho: illegal tag %d (wire type %d)", fieldNum, wire)
 12291  		}
 12292  		switch fieldNum {
 12293  		case 1:
 12294  			if wireType != 2 {
 12295  				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
 12296  			}
 12297  			var stringLen uint64
 12298  			for shift := uint(0); ; shift += 7 {
 12299  				if shift >= 64 {
 12300  					return ErrIntOverflowTypes
 12301  				}
 12302  				if iNdEx >= l {
 12303  					return io.ErrUnexpectedEOF
 12304  				}
 12305  				b := dAtA[iNdEx]
 12306  				iNdEx++
 12307  				stringLen |= uint64(b&0x7F) << shift
 12308  				if b < 0x80 {
 12309  					break
 12310  				}
 12311  			}
 12312  			intStringLen := int(stringLen)
 12313  			if intStringLen < 0 {
 12314  				return ErrInvalidLengthTypes
 12315  			}
 12316  			postIndex := iNdEx + intStringLen
 12317  			if postIndex < 0 {
 12318  				return ErrInvalidLengthTypes
 12319  			}
 12320  			if postIndex > l {
 12321  				return io.ErrUnexpectedEOF
 12322  			}
 12323  			m.Message = string(dAtA[iNdEx:postIndex])
 12324  			iNdEx = postIndex
 12325  		default:
 12326  			iNdEx = preIndex
 12327  			skippy, err := skipTypes(dAtA[iNdEx:])
 12328  			if err != nil {
 12329  				return err
 12330  			}
 12331  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12332  				return ErrInvalidLengthTypes
 12333  			}
 12334  			if (iNdEx + skippy) > l {
 12335  				return io.ErrUnexpectedEOF
 12336  			}
 12337  			iNdEx += skippy
 12338  		}
 12339  	}
 12340  
 12341  	if iNdEx > l {
 12342  		return io.ErrUnexpectedEOF
 12343  	}
 12344  	return nil
 12345  }
 12346  func (m *RequestFlush) Unmarshal(dAtA []byte) error {
 12347  	l := len(dAtA)
 12348  	iNdEx := 0
 12349  	for iNdEx < l {
 12350  		preIndex := iNdEx
 12351  		var wire uint64
 12352  		for shift := uint(0); ; shift += 7 {
 12353  			if shift >= 64 {
 12354  				return ErrIntOverflowTypes
 12355  			}
 12356  			if iNdEx >= l {
 12357  				return io.ErrUnexpectedEOF
 12358  			}
 12359  			b := dAtA[iNdEx]
 12360  			iNdEx++
 12361  			wire |= uint64(b&0x7F) << shift
 12362  			if b < 0x80 {
 12363  				break
 12364  			}
 12365  		}
 12366  		fieldNum := int32(wire >> 3)
 12367  		wireType := int(wire & 0x7)
 12368  		if wireType == 4 {
 12369  			return fmt.Errorf("proto: RequestFlush: wiretype end group for non-group")
 12370  		}
 12371  		if fieldNum <= 0 {
 12372  			return fmt.Errorf("proto: RequestFlush: illegal tag %d (wire type %d)", fieldNum, wire)
 12373  		}
 12374  		switch fieldNum {
 12375  		default:
 12376  			iNdEx = preIndex
 12377  			skippy, err := skipTypes(dAtA[iNdEx:])
 12378  			if err != nil {
 12379  				return err
 12380  			}
 12381  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12382  				return ErrInvalidLengthTypes
 12383  			}
 12384  			if (iNdEx + skippy) > l {
 12385  				return io.ErrUnexpectedEOF
 12386  			}
 12387  			iNdEx += skippy
 12388  		}
 12389  	}
 12390  
 12391  	if iNdEx > l {
 12392  		return io.ErrUnexpectedEOF
 12393  	}
 12394  	return nil
 12395  }
 12396  func (m *RequestInfo) Unmarshal(dAtA []byte) error {
 12397  	l := len(dAtA)
 12398  	iNdEx := 0
 12399  	for iNdEx < l {
 12400  		preIndex := iNdEx
 12401  		var wire uint64
 12402  		for shift := uint(0); ; shift += 7 {
 12403  			if shift >= 64 {
 12404  				return ErrIntOverflowTypes
 12405  			}
 12406  			if iNdEx >= l {
 12407  				return io.ErrUnexpectedEOF
 12408  			}
 12409  			b := dAtA[iNdEx]
 12410  			iNdEx++
 12411  			wire |= uint64(b&0x7F) << shift
 12412  			if b < 0x80 {
 12413  				break
 12414  			}
 12415  		}
 12416  		fieldNum := int32(wire >> 3)
 12417  		wireType := int(wire & 0x7)
 12418  		if wireType == 4 {
 12419  			return fmt.Errorf("proto: RequestInfo: wiretype end group for non-group")
 12420  		}
 12421  		if fieldNum <= 0 {
 12422  			return fmt.Errorf("proto: RequestInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 12423  		}
 12424  		switch fieldNum {
 12425  		case 1:
 12426  			if wireType != 2 {
 12427  				return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
 12428  			}
 12429  			var stringLen uint64
 12430  			for shift := uint(0); ; shift += 7 {
 12431  				if shift >= 64 {
 12432  					return ErrIntOverflowTypes
 12433  				}
 12434  				if iNdEx >= l {
 12435  					return io.ErrUnexpectedEOF
 12436  				}
 12437  				b := dAtA[iNdEx]
 12438  				iNdEx++
 12439  				stringLen |= uint64(b&0x7F) << shift
 12440  				if b < 0x80 {
 12441  					break
 12442  				}
 12443  			}
 12444  			intStringLen := int(stringLen)
 12445  			if intStringLen < 0 {
 12446  				return ErrInvalidLengthTypes
 12447  			}
 12448  			postIndex := iNdEx + intStringLen
 12449  			if postIndex < 0 {
 12450  				return ErrInvalidLengthTypes
 12451  			}
 12452  			if postIndex > l {
 12453  				return io.ErrUnexpectedEOF
 12454  			}
 12455  			m.Version = string(dAtA[iNdEx:postIndex])
 12456  			iNdEx = postIndex
 12457  		case 2:
 12458  			if wireType != 0 {
 12459  				return fmt.Errorf("proto: wrong wireType = %d for field BlockVersion", wireType)
 12460  			}
 12461  			m.BlockVersion = 0
 12462  			for shift := uint(0); ; shift += 7 {
 12463  				if shift >= 64 {
 12464  					return ErrIntOverflowTypes
 12465  				}
 12466  				if iNdEx >= l {
 12467  					return io.ErrUnexpectedEOF
 12468  				}
 12469  				b := dAtA[iNdEx]
 12470  				iNdEx++
 12471  				m.BlockVersion |= uint64(b&0x7F) << shift
 12472  				if b < 0x80 {
 12473  					break
 12474  				}
 12475  			}
 12476  		case 3:
 12477  			if wireType != 0 {
 12478  				return fmt.Errorf("proto: wrong wireType = %d for field P2PVersion", wireType)
 12479  			}
 12480  			m.P2PVersion = 0
 12481  			for shift := uint(0); ; shift += 7 {
 12482  				if shift >= 64 {
 12483  					return ErrIntOverflowTypes
 12484  				}
 12485  				if iNdEx >= l {
 12486  					return io.ErrUnexpectedEOF
 12487  				}
 12488  				b := dAtA[iNdEx]
 12489  				iNdEx++
 12490  				m.P2PVersion |= uint64(b&0x7F) << shift
 12491  				if b < 0x80 {
 12492  					break
 12493  				}
 12494  			}
 12495  		case 4:
 12496  			if wireType != 2 {
 12497  				return fmt.Errorf("proto: wrong wireType = %d for field AbciVersion", wireType)
 12498  			}
 12499  			var stringLen uint64
 12500  			for shift := uint(0); ; shift += 7 {
 12501  				if shift >= 64 {
 12502  					return ErrIntOverflowTypes
 12503  				}
 12504  				if iNdEx >= l {
 12505  					return io.ErrUnexpectedEOF
 12506  				}
 12507  				b := dAtA[iNdEx]
 12508  				iNdEx++
 12509  				stringLen |= uint64(b&0x7F) << shift
 12510  				if b < 0x80 {
 12511  					break
 12512  				}
 12513  			}
 12514  			intStringLen := int(stringLen)
 12515  			if intStringLen < 0 {
 12516  				return ErrInvalidLengthTypes
 12517  			}
 12518  			postIndex := iNdEx + intStringLen
 12519  			if postIndex < 0 {
 12520  				return ErrInvalidLengthTypes
 12521  			}
 12522  			if postIndex > l {
 12523  				return io.ErrUnexpectedEOF
 12524  			}
 12525  			m.AbciVersion = string(dAtA[iNdEx:postIndex])
 12526  			iNdEx = postIndex
 12527  		default:
 12528  			iNdEx = preIndex
 12529  			skippy, err := skipTypes(dAtA[iNdEx:])
 12530  			if err != nil {
 12531  				return err
 12532  			}
 12533  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12534  				return ErrInvalidLengthTypes
 12535  			}
 12536  			if (iNdEx + skippy) > l {
 12537  				return io.ErrUnexpectedEOF
 12538  			}
 12539  			iNdEx += skippy
 12540  		}
 12541  	}
 12542  
 12543  	if iNdEx > l {
 12544  		return io.ErrUnexpectedEOF
 12545  	}
 12546  	return nil
 12547  }
 12548  func (m *RequestInitChain) Unmarshal(dAtA []byte) error {
 12549  	l := len(dAtA)
 12550  	iNdEx := 0
 12551  	for iNdEx < l {
 12552  		preIndex := iNdEx
 12553  		var wire uint64
 12554  		for shift := uint(0); ; shift += 7 {
 12555  			if shift >= 64 {
 12556  				return ErrIntOverflowTypes
 12557  			}
 12558  			if iNdEx >= l {
 12559  				return io.ErrUnexpectedEOF
 12560  			}
 12561  			b := dAtA[iNdEx]
 12562  			iNdEx++
 12563  			wire |= uint64(b&0x7F) << shift
 12564  			if b < 0x80 {
 12565  				break
 12566  			}
 12567  		}
 12568  		fieldNum := int32(wire >> 3)
 12569  		wireType := int(wire & 0x7)
 12570  		if wireType == 4 {
 12571  			return fmt.Errorf("proto: RequestInitChain: wiretype end group for non-group")
 12572  		}
 12573  		if fieldNum <= 0 {
 12574  			return fmt.Errorf("proto: RequestInitChain: illegal tag %d (wire type %d)", fieldNum, wire)
 12575  		}
 12576  		switch fieldNum {
 12577  		case 1:
 12578  			if wireType != 2 {
 12579  				return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
 12580  			}
 12581  			var msglen int
 12582  			for shift := uint(0); ; shift += 7 {
 12583  				if shift >= 64 {
 12584  					return ErrIntOverflowTypes
 12585  				}
 12586  				if iNdEx >= l {
 12587  					return io.ErrUnexpectedEOF
 12588  				}
 12589  				b := dAtA[iNdEx]
 12590  				iNdEx++
 12591  				msglen |= int(b&0x7F) << shift
 12592  				if b < 0x80 {
 12593  					break
 12594  				}
 12595  			}
 12596  			if msglen < 0 {
 12597  				return ErrInvalidLengthTypes
 12598  			}
 12599  			postIndex := iNdEx + msglen
 12600  			if postIndex < 0 {
 12601  				return ErrInvalidLengthTypes
 12602  			}
 12603  			if postIndex > l {
 12604  				return io.ErrUnexpectedEOF
 12605  			}
 12606  			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil {
 12607  				return err
 12608  			}
 12609  			iNdEx = postIndex
 12610  		case 2:
 12611  			if wireType != 2 {
 12612  				return fmt.Errorf("proto: wrong wireType = %d for field ChainId", wireType)
 12613  			}
 12614  			var stringLen uint64
 12615  			for shift := uint(0); ; shift += 7 {
 12616  				if shift >= 64 {
 12617  					return ErrIntOverflowTypes
 12618  				}
 12619  				if iNdEx >= l {
 12620  					return io.ErrUnexpectedEOF
 12621  				}
 12622  				b := dAtA[iNdEx]
 12623  				iNdEx++
 12624  				stringLen |= uint64(b&0x7F) << shift
 12625  				if b < 0x80 {
 12626  					break
 12627  				}
 12628  			}
 12629  			intStringLen := int(stringLen)
 12630  			if intStringLen < 0 {
 12631  				return ErrInvalidLengthTypes
 12632  			}
 12633  			postIndex := iNdEx + intStringLen
 12634  			if postIndex < 0 {
 12635  				return ErrInvalidLengthTypes
 12636  			}
 12637  			if postIndex > l {
 12638  				return io.ErrUnexpectedEOF
 12639  			}
 12640  			m.ChainId = string(dAtA[iNdEx:postIndex])
 12641  			iNdEx = postIndex
 12642  		case 3:
 12643  			if wireType != 2 {
 12644  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusParams", wireType)
 12645  			}
 12646  			var msglen int
 12647  			for shift := uint(0); ; shift += 7 {
 12648  				if shift >= 64 {
 12649  					return ErrIntOverflowTypes
 12650  				}
 12651  				if iNdEx >= l {
 12652  					return io.ErrUnexpectedEOF
 12653  				}
 12654  				b := dAtA[iNdEx]
 12655  				iNdEx++
 12656  				msglen |= int(b&0x7F) << shift
 12657  				if b < 0x80 {
 12658  					break
 12659  				}
 12660  			}
 12661  			if msglen < 0 {
 12662  				return ErrInvalidLengthTypes
 12663  			}
 12664  			postIndex := iNdEx + msglen
 12665  			if postIndex < 0 {
 12666  				return ErrInvalidLengthTypes
 12667  			}
 12668  			if postIndex > l {
 12669  				return io.ErrUnexpectedEOF
 12670  			}
 12671  			if m.ConsensusParams == nil {
 12672  				m.ConsensusParams = &types1.ConsensusParams{}
 12673  			}
 12674  			if err := m.ConsensusParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12675  				return err
 12676  			}
 12677  			iNdEx = postIndex
 12678  		case 4:
 12679  			if wireType != 2 {
 12680  				return fmt.Errorf("proto: wrong wireType = %d for field Validators", wireType)
 12681  			}
 12682  			var msglen int
 12683  			for shift := uint(0); ; shift += 7 {
 12684  				if shift >= 64 {
 12685  					return ErrIntOverflowTypes
 12686  				}
 12687  				if iNdEx >= l {
 12688  					return io.ErrUnexpectedEOF
 12689  				}
 12690  				b := dAtA[iNdEx]
 12691  				iNdEx++
 12692  				msglen |= int(b&0x7F) << shift
 12693  				if b < 0x80 {
 12694  					break
 12695  				}
 12696  			}
 12697  			if msglen < 0 {
 12698  				return ErrInvalidLengthTypes
 12699  			}
 12700  			postIndex := iNdEx + msglen
 12701  			if postIndex < 0 {
 12702  				return ErrInvalidLengthTypes
 12703  			}
 12704  			if postIndex > l {
 12705  				return io.ErrUnexpectedEOF
 12706  			}
 12707  			m.Validators = append(m.Validators, ValidatorUpdate{})
 12708  			if err := m.Validators[len(m.Validators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 12709  				return err
 12710  			}
 12711  			iNdEx = postIndex
 12712  		case 5:
 12713  			if wireType != 2 {
 12714  				return fmt.Errorf("proto: wrong wireType = %d for field AppStateBytes", wireType)
 12715  			}
 12716  			var byteLen int
 12717  			for shift := uint(0); ; shift += 7 {
 12718  				if shift >= 64 {
 12719  					return ErrIntOverflowTypes
 12720  				}
 12721  				if iNdEx >= l {
 12722  					return io.ErrUnexpectedEOF
 12723  				}
 12724  				b := dAtA[iNdEx]
 12725  				iNdEx++
 12726  				byteLen |= int(b&0x7F) << shift
 12727  				if b < 0x80 {
 12728  					break
 12729  				}
 12730  			}
 12731  			if byteLen < 0 {
 12732  				return ErrInvalidLengthTypes
 12733  			}
 12734  			postIndex := iNdEx + byteLen
 12735  			if postIndex < 0 {
 12736  				return ErrInvalidLengthTypes
 12737  			}
 12738  			if postIndex > l {
 12739  				return io.ErrUnexpectedEOF
 12740  			}
 12741  			m.AppStateBytes = append(m.AppStateBytes[:0], dAtA[iNdEx:postIndex]...)
 12742  			if m.AppStateBytes == nil {
 12743  				m.AppStateBytes = []byte{}
 12744  			}
 12745  			iNdEx = postIndex
 12746  		case 6:
 12747  			if wireType != 0 {
 12748  				return fmt.Errorf("proto: wrong wireType = %d for field InitialHeight", wireType)
 12749  			}
 12750  			m.InitialHeight = 0
 12751  			for shift := uint(0); ; shift += 7 {
 12752  				if shift >= 64 {
 12753  					return ErrIntOverflowTypes
 12754  				}
 12755  				if iNdEx >= l {
 12756  					return io.ErrUnexpectedEOF
 12757  				}
 12758  				b := dAtA[iNdEx]
 12759  				iNdEx++
 12760  				m.InitialHeight |= int64(b&0x7F) << shift
 12761  				if b < 0x80 {
 12762  					break
 12763  				}
 12764  			}
 12765  		default:
 12766  			iNdEx = preIndex
 12767  			skippy, err := skipTypes(dAtA[iNdEx:])
 12768  			if err != nil {
 12769  				return err
 12770  			}
 12771  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12772  				return ErrInvalidLengthTypes
 12773  			}
 12774  			if (iNdEx + skippy) > l {
 12775  				return io.ErrUnexpectedEOF
 12776  			}
 12777  			iNdEx += skippy
 12778  		}
 12779  	}
 12780  
 12781  	if iNdEx > l {
 12782  		return io.ErrUnexpectedEOF
 12783  	}
 12784  	return nil
 12785  }
 12786  func (m *RequestQuery) Unmarshal(dAtA []byte) error {
 12787  	l := len(dAtA)
 12788  	iNdEx := 0
 12789  	for iNdEx < l {
 12790  		preIndex := iNdEx
 12791  		var wire uint64
 12792  		for shift := uint(0); ; shift += 7 {
 12793  			if shift >= 64 {
 12794  				return ErrIntOverflowTypes
 12795  			}
 12796  			if iNdEx >= l {
 12797  				return io.ErrUnexpectedEOF
 12798  			}
 12799  			b := dAtA[iNdEx]
 12800  			iNdEx++
 12801  			wire |= uint64(b&0x7F) << shift
 12802  			if b < 0x80 {
 12803  				break
 12804  			}
 12805  		}
 12806  		fieldNum := int32(wire >> 3)
 12807  		wireType := int(wire & 0x7)
 12808  		if wireType == 4 {
 12809  			return fmt.Errorf("proto: RequestQuery: wiretype end group for non-group")
 12810  		}
 12811  		if fieldNum <= 0 {
 12812  			return fmt.Errorf("proto: RequestQuery: illegal tag %d (wire type %d)", fieldNum, wire)
 12813  		}
 12814  		switch fieldNum {
 12815  		case 1:
 12816  			if wireType != 2 {
 12817  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 12818  			}
 12819  			var byteLen int
 12820  			for shift := uint(0); ; shift += 7 {
 12821  				if shift >= 64 {
 12822  					return ErrIntOverflowTypes
 12823  				}
 12824  				if iNdEx >= l {
 12825  					return io.ErrUnexpectedEOF
 12826  				}
 12827  				b := dAtA[iNdEx]
 12828  				iNdEx++
 12829  				byteLen |= int(b&0x7F) << shift
 12830  				if b < 0x80 {
 12831  					break
 12832  				}
 12833  			}
 12834  			if byteLen < 0 {
 12835  				return ErrInvalidLengthTypes
 12836  			}
 12837  			postIndex := iNdEx + byteLen
 12838  			if postIndex < 0 {
 12839  				return ErrInvalidLengthTypes
 12840  			}
 12841  			if postIndex > l {
 12842  				return io.ErrUnexpectedEOF
 12843  			}
 12844  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
 12845  			if m.Data == nil {
 12846  				m.Data = []byte{}
 12847  			}
 12848  			iNdEx = postIndex
 12849  		case 2:
 12850  			if wireType != 2 {
 12851  				return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
 12852  			}
 12853  			var stringLen uint64
 12854  			for shift := uint(0); ; shift += 7 {
 12855  				if shift >= 64 {
 12856  					return ErrIntOverflowTypes
 12857  				}
 12858  				if iNdEx >= l {
 12859  					return io.ErrUnexpectedEOF
 12860  				}
 12861  				b := dAtA[iNdEx]
 12862  				iNdEx++
 12863  				stringLen |= uint64(b&0x7F) << shift
 12864  				if b < 0x80 {
 12865  					break
 12866  				}
 12867  			}
 12868  			intStringLen := int(stringLen)
 12869  			if intStringLen < 0 {
 12870  				return ErrInvalidLengthTypes
 12871  			}
 12872  			postIndex := iNdEx + intStringLen
 12873  			if postIndex < 0 {
 12874  				return ErrInvalidLengthTypes
 12875  			}
 12876  			if postIndex > l {
 12877  				return io.ErrUnexpectedEOF
 12878  			}
 12879  			m.Path = string(dAtA[iNdEx:postIndex])
 12880  			iNdEx = postIndex
 12881  		case 3:
 12882  			if wireType != 0 {
 12883  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 12884  			}
 12885  			m.Height = 0
 12886  			for shift := uint(0); ; shift += 7 {
 12887  				if shift >= 64 {
 12888  					return ErrIntOverflowTypes
 12889  				}
 12890  				if iNdEx >= l {
 12891  					return io.ErrUnexpectedEOF
 12892  				}
 12893  				b := dAtA[iNdEx]
 12894  				iNdEx++
 12895  				m.Height |= int64(b&0x7F) << shift
 12896  				if b < 0x80 {
 12897  					break
 12898  				}
 12899  			}
 12900  		case 4:
 12901  			if wireType != 0 {
 12902  				return fmt.Errorf("proto: wrong wireType = %d for field Prove", wireType)
 12903  			}
 12904  			var v int
 12905  			for shift := uint(0); ; shift += 7 {
 12906  				if shift >= 64 {
 12907  					return ErrIntOverflowTypes
 12908  				}
 12909  				if iNdEx >= l {
 12910  					return io.ErrUnexpectedEOF
 12911  				}
 12912  				b := dAtA[iNdEx]
 12913  				iNdEx++
 12914  				v |= int(b&0x7F) << shift
 12915  				if b < 0x80 {
 12916  					break
 12917  				}
 12918  			}
 12919  			m.Prove = bool(v != 0)
 12920  		default:
 12921  			iNdEx = preIndex
 12922  			skippy, err := skipTypes(dAtA[iNdEx:])
 12923  			if err != nil {
 12924  				return err
 12925  			}
 12926  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 12927  				return ErrInvalidLengthTypes
 12928  			}
 12929  			if (iNdEx + skippy) > l {
 12930  				return io.ErrUnexpectedEOF
 12931  			}
 12932  			iNdEx += skippy
 12933  		}
 12934  	}
 12935  
 12936  	if iNdEx > l {
 12937  		return io.ErrUnexpectedEOF
 12938  	}
 12939  	return nil
 12940  }
 12941  func (m *RequestCheckTx) Unmarshal(dAtA []byte) error {
 12942  	l := len(dAtA)
 12943  	iNdEx := 0
 12944  	for iNdEx < l {
 12945  		preIndex := iNdEx
 12946  		var wire uint64
 12947  		for shift := uint(0); ; shift += 7 {
 12948  			if shift >= 64 {
 12949  				return ErrIntOverflowTypes
 12950  			}
 12951  			if iNdEx >= l {
 12952  				return io.ErrUnexpectedEOF
 12953  			}
 12954  			b := dAtA[iNdEx]
 12955  			iNdEx++
 12956  			wire |= uint64(b&0x7F) << shift
 12957  			if b < 0x80 {
 12958  				break
 12959  			}
 12960  		}
 12961  		fieldNum := int32(wire >> 3)
 12962  		wireType := int(wire & 0x7)
 12963  		if wireType == 4 {
 12964  			return fmt.Errorf("proto: RequestCheckTx: wiretype end group for non-group")
 12965  		}
 12966  		if fieldNum <= 0 {
 12967  			return fmt.Errorf("proto: RequestCheckTx: illegal tag %d (wire type %d)", fieldNum, wire)
 12968  		}
 12969  		switch fieldNum {
 12970  		case 1:
 12971  			if wireType != 2 {
 12972  				return fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType)
 12973  			}
 12974  			var byteLen int
 12975  			for shift := uint(0); ; shift += 7 {
 12976  				if shift >= 64 {
 12977  					return ErrIntOverflowTypes
 12978  				}
 12979  				if iNdEx >= l {
 12980  					return io.ErrUnexpectedEOF
 12981  				}
 12982  				b := dAtA[iNdEx]
 12983  				iNdEx++
 12984  				byteLen |= int(b&0x7F) << shift
 12985  				if b < 0x80 {
 12986  					break
 12987  				}
 12988  			}
 12989  			if byteLen < 0 {
 12990  				return ErrInvalidLengthTypes
 12991  			}
 12992  			postIndex := iNdEx + byteLen
 12993  			if postIndex < 0 {
 12994  				return ErrInvalidLengthTypes
 12995  			}
 12996  			if postIndex > l {
 12997  				return io.ErrUnexpectedEOF
 12998  			}
 12999  			m.Tx = append(m.Tx[:0], dAtA[iNdEx:postIndex]...)
 13000  			if m.Tx == nil {
 13001  				m.Tx = []byte{}
 13002  			}
 13003  			iNdEx = postIndex
 13004  		case 2:
 13005  			if wireType != 0 {
 13006  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
 13007  			}
 13008  			m.Type = 0
 13009  			for shift := uint(0); ; shift += 7 {
 13010  				if shift >= 64 {
 13011  					return ErrIntOverflowTypes
 13012  				}
 13013  				if iNdEx >= l {
 13014  					return io.ErrUnexpectedEOF
 13015  				}
 13016  				b := dAtA[iNdEx]
 13017  				iNdEx++
 13018  				m.Type |= CheckTxType(b&0x7F) << shift
 13019  				if b < 0x80 {
 13020  					break
 13021  				}
 13022  			}
 13023  		default:
 13024  			iNdEx = preIndex
 13025  			skippy, err := skipTypes(dAtA[iNdEx:])
 13026  			if err != nil {
 13027  				return err
 13028  			}
 13029  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13030  				return ErrInvalidLengthTypes
 13031  			}
 13032  			if (iNdEx + skippy) > l {
 13033  				return io.ErrUnexpectedEOF
 13034  			}
 13035  			iNdEx += skippy
 13036  		}
 13037  	}
 13038  
 13039  	if iNdEx > l {
 13040  		return io.ErrUnexpectedEOF
 13041  	}
 13042  	return nil
 13043  }
 13044  func (m *RequestCommit) Unmarshal(dAtA []byte) error {
 13045  	l := len(dAtA)
 13046  	iNdEx := 0
 13047  	for iNdEx < l {
 13048  		preIndex := iNdEx
 13049  		var wire uint64
 13050  		for shift := uint(0); ; shift += 7 {
 13051  			if shift >= 64 {
 13052  				return ErrIntOverflowTypes
 13053  			}
 13054  			if iNdEx >= l {
 13055  				return io.ErrUnexpectedEOF
 13056  			}
 13057  			b := dAtA[iNdEx]
 13058  			iNdEx++
 13059  			wire |= uint64(b&0x7F) << shift
 13060  			if b < 0x80 {
 13061  				break
 13062  			}
 13063  		}
 13064  		fieldNum := int32(wire >> 3)
 13065  		wireType := int(wire & 0x7)
 13066  		if wireType == 4 {
 13067  			return fmt.Errorf("proto: RequestCommit: wiretype end group for non-group")
 13068  		}
 13069  		if fieldNum <= 0 {
 13070  			return fmt.Errorf("proto: RequestCommit: illegal tag %d (wire type %d)", fieldNum, wire)
 13071  		}
 13072  		switch fieldNum {
 13073  		default:
 13074  			iNdEx = preIndex
 13075  			skippy, err := skipTypes(dAtA[iNdEx:])
 13076  			if err != nil {
 13077  				return err
 13078  			}
 13079  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13080  				return ErrInvalidLengthTypes
 13081  			}
 13082  			if (iNdEx + skippy) > l {
 13083  				return io.ErrUnexpectedEOF
 13084  			}
 13085  			iNdEx += skippy
 13086  		}
 13087  	}
 13088  
 13089  	if iNdEx > l {
 13090  		return io.ErrUnexpectedEOF
 13091  	}
 13092  	return nil
 13093  }
 13094  func (m *RequestListSnapshots) Unmarshal(dAtA []byte) error {
 13095  	l := len(dAtA)
 13096  	iNdEx := 0
 13097  	for iNdEx < l {
 13098  		preIndex := iNdEx
 13099  		var wire uint64
 13100  		for shift := uint(0); ; shift += 7 {
 13101  			if shift >= 64 {
 13102  				return ErrIntOverflowTypes
 13103  			}
 13104  			if iNdEx >= l {
 13105  				return io.ErrUnexpectedEOF
 13106  			}
 13107  			b := dAtA[iNdEx]
 13108  			iNdEx++
 13109  			wire |= uint64(b&0x7F) << shift
 13110  			if b < 0x80 {
 13111  				break
 13112  			}
 13113  		}
 13114  		fieldNum := int32(wire >> 3)
 13115  		wireType := int(wire & 0x7)
 13116  		if wireType == 4 {
 13117  			return fmt.Errorf("proto: RequestListSnapshots: wiretype end group for non-group")
 13118  		}
 13119  		if fieldNum <= 0 {
 13120  			return fmt.Errorf("proto: RequestListSnapshots: illegal tag %d (wire type %d)", fieldNum, wire)
 13121  		}
 13122  		switch fieldNum {
 13123  		default:
 13124  			iNdEx = preIndex
 13125  			skippy, err := skipTypes(dAtA[iNdEx:])
 13126  			if err != nil {
 13127  				return err
 13128  			}
 13129  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13130  				return ErrInvalidLengthTypes
 13131  			}
 13132  			if (iNdEx + skippy) > l {
 13133  				return io.ErrUnexpectedEOF
 13134  			}
 13135  			iNdEx += skippy
 13136  		}
 13137  	}
 13138  
 13139  	if iNdEx > l {
 13140  		return io.ErrUnexpectedEOF
 13141  	}
 13142  	return nil
 13143  }
 13144  func (m *RequestOfferSnapshot) Unmarshal(dAtA []byte) error {
 13145  	l := len(dAtA)
 13146  	iNdEx := 0
 13147  	for iNdEx < l {
 13148  		preIndex := iNdEx
 13149  		var wire uint64
 13150  		for shift := uint(0); ; shift += 7 {
 13151  			if shift >= 64 {
 13152  				return ErrIntOverflowTypes
 13153  			}
 13154  			if iNdEx >= l {
 13155  				return io.ErrUnexpectedEOF
 13156  			}
 13157  			b := dAtA[iNdEx]
 13158  			iNdEx++
 13159  			wire |= uint64(b&0x7F) << shift
 13160  			if b < 0x80 {
 13161  				break
 13162  			}
 13163  		}
 13164  		fieldNum := int32(wire >> 3)
 13165  		wireType := int(wire & 0x7)
 13166  		if wireType == 4 {
 13167  			return fmt.Errorf("proto: RequestOfferSnapshot: wiretype end group for non-group")
 13168  		}
 13169  		if fieldNum <= 0 {
 13170  			return fmt.Errorf("proto: RequestOfferSnapshot: illegal tag %d (wire type %d)", fieldNum, wire)
 13171  		}
 13172  		switch fieldNum {
 13173  		case 1:
 13174  			if wireType != 2 {
 13175  				return fmt.Errorf("proto: wrong wireType = %d for field Snapshot", wireType)
 13176  			}
 13177  			var msglen int
 13178  			for shift := uint(0); ; shift += 7 {
 13179  				if shift >= 64 {
 13180  					return ErrIntOverflowTypes
 13181  				}
 13182  				if iNdEx >= l {
 13183  					return io.ErrUnexpectedEOF
 13184  				}
 13185  				b := dAtA[iNdEx]
 13186  				iNdEx++
 13187  				msglen |= int(b&0x7F) << shift
 13188  				if b < 0x80 {
 13189  					break
 13190  				}
 13191  			}
 13192  			if msglen < 0 {
 13193  				return ErrInvalidLengthTypes
 13194  			}
 13195  			postIndex := iNdEx + msglen
 13196  			if postIndex < 0 {
 13197  				return ErrInvalidLengthTypes
 13198  			}
 13199  			if postIndex > l {
 13200  				return io.ErrUnexpectedEOF
 13201  			}
 13202  			if m.Snapshot == nil {
 13203  				m.Snapshot = &Snapshot{}
 13204  			}
 13205  			if err := m.Snapshot.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13206  				return err
 13207  			}
 13208  			iNdEx = postIndex
 13209  		case 2:
 13210  			if wireType != 2 {
 13211  				return fmt.Errorf("proto: wrong wireType = %d for field AppHash", wireType)
 13212  			}
 13213  			var byteLen int
 13214  			for shift := uint(0); ; shift += 7 {
 13215  				if shift >= 64 {
 13216  					return ErrIntOverflowTypes
 13217  				}
 13218  				if iNdEx >= l {
 13219  					return io.ErrUnexpectedEOF
 13220  				}
 13221  				b := dAtA[iNdEx]
 13222  				iNdEx++
 13223  				byteLen |= int(b&0x7F) << shift
 13224  				if b < 0x80 {
 13225  					break
 13226  				}
 13227  			}
 13228  			if byteLen < 0 {
 13229  				return ErrInvalidLengthTypes
 13230  			}
 13231  			postIndex := iNdEx + byteLen
 13232  			if postIndex < 0 {
 13233  				return ErrInvalidLengthTypes
 13234  			}
 13235  			if postIndex > l {
 13236  				return io.ErrUnexpectedEOF
 13237  			}
 13238  			m.AppHash = append(m.AppHash[:0], dAtA[iNdEx:postIndex]...)
 13239  			if m.AppHash == nil {
 13240  				m.AppHash = []byte{}
 13241  			}
 13242  			iNdEx = postIndex
 13243  		default:
 13244  			iNdEx = preIndex
 13245  			skippy, err := skipTypes(dAtA[iNdEx:])
 13246  			if err != nil {
 13247  				return err
 13248  			}
 13249  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13250  				return ErrInvalidLengthTypes
 13251  			}
 13252  			if (iNdEx + skippy) > l {
 13253  				return io.ErrUnexpectedEOF
 13254  			}
 13255  			iNdEx += skippy
 13256  		}
 13257  	}
 13258  
 13259  	if iNdEx > l {
 13260  		return io.ErrUnexpectedEOF
 13261  	}
 13262  	return nil
 13263  }
 13264  func (m *RequestLoadSnapshotChunk) Unmarshal(dAtA []byte) error {
 13265  	l := len(dAtA)
 13266  	iNdEx := 0
 13267  	for iNdEx < l {
 13268  		preIndex := iNdEx
 13269  		var wire uint64
 13270  		for shift := uint(0); ; shift += 7 {
 13271  			if shift >= 64 {
 13272  				return ErrIntOverflowTypes
 13273  			}
 13274  			if iNdEx >= l {
 13275  				return io.ErrUnexpectedEOF
 13276  			}
 13277  			b := dAtA[iNdEx]
 13278  			iNdEx++
 13279  			wire |= uint64(b&0x7F) << shift
 13280  			if b < 0x80 {
 13281  				break
 13282  			}
 13283  		}
 13284  		fieldNum := int32(wire >> 3)
 13285  		wireType := int(wire & 0x7)
 13286  		if wireType == 4 {
 13287  			return fmt.Errorf("proto: RequestLoadSnapshotChunk: wiretype end group for non-group")
 13288  		}
 13289  		if fieldNum <= 0 {
 13290  			return fmt.Errorf("proto: RequestLoadSnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire)
 13291  		}
 13292  		switch fieldNum {
 13293  		case 1:
 13294  			if wireType != 0 {
 13295  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 13296  			}
 13297  			m.Height = 0
 13298  			for shift := uint(0); ; shift += 7 {
 13299  				if shift >= 64 {
 13300  					return ErrIntOverflowTypes
 13301  				}
 13302  				if iNdEx >= l {
 13303  					return io.ErrUnexpectedEOF
 13304  				}
 13305  				b := dAtA[iNdEx]
 13306  				iNdEx++
 13307  				m.Height |= uint64(b&0x7F) << shift
 13308  				if b < 0x80 {
 13309  					break
 13310  				}
 13311  			}
 13312  		case 2:
 13313  			if wireType != 0 {
 13314  				return fmt.Errorf("proto: wrong wireType = %d for field Format", wireType)
 13315  			}
 13316  			m.Format = 0
 13317  			for shift := uint(0); ; shift += 7 {
 13318  				if shift >= 64 {
 13319  					return ErrIntOverflowTypes
 13320  				}
 13321  				if iNdEx >= l {
 13322  					return io.ErrUnexpectedEOF
 13323  				}
 13324  				b := dAtA[iNdEx]
 13325  				iNdEx++
 13326  				m.Format |= uint32(b&0x7F) << shift
 13327  				if b < 0x80 {
 13328  					break
 13329  				}
 13330  			}
 13331  		case 3:
 13332  			if wireType != 0 {
 13333  				return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType)
 13334  			}
 13335  			m.Chunk = 0
 13336  			for shift := uint(0); ; shift += 7 {
 13337  				if shift >= 64 {
 13338  					return ErrIntOverflowTypes
 13339  				}
 13340  				if iNdEx >= l {
 13341  					return io.ErrUnexpectedEOF
 13342  				}
 13343  				b := dAtA[iNdEx]
 13344  				iNdEx++
 13345  				m.Chunk |= uint32(b&0x7F) << shift
 13346  				if b < 0x80 {
 13347  					break
 13348  				}
 13349  			}
 13350  		default:
 13351  			iNdEx = preIndex
 13352  			skippy, err := skipTypes(dAtA[iNdEx:])
 13353  			if err != nil {
 13354  				return err
 13355  			}
 13356  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13357  				return ErrInvalidLengthTypes
 13358  			}
 13359  			if (iNdEx + skippy) > l {
 13360  				return io.ErrUnexpectedEOF
 13361  			}
 13362  			iNdEx += skippy
 13363  		}
 13364  	}
 13365  
 13366  	if iNdEx > l {
 13367  		return io.ErrUnexpectedEOF
 13368  	}
 13369  	return nil
 13370  }
 13371  func (m *RequestApplySnapshotChunk) Unmarshal(dAtA []byte) error {
 13372  	l := len(dAtA)
 13373  	iNdEx := 0
 13374  	for iNdEx < l {
 13375  		preIndex := iNdEx
 13376  		var wire uint64
 13377  		for shift := uint(0); ; shift += 7 {
 13378  			if shift >= 64 {
 13379  				return ErrIntOverflowTypes
 13380  			}
 13381  			if iNdEx >= l {
 13382  				return io.ErrUnexpectedEOF
 13383  			}
 13384  			b := dAtA[iNdEx]
 13385  			iNdEx++
 13386  			wire |= uint64(b&0x7F) << shift
 13387  			if b < 0x80 {
 13388  				break
 13389  			}
 13390  		}
 13391  		fieldNum := int32(wire >> 3)
 13392  		wireType := int(wire & 0x7)
 13393  		if wireType == 4 {
 13394  			return fmt.Errorf("proto: RequestApplySnapshotChunk: wiretype end group for non-group")
 13395  		}
 13396  		if fieldNum <= 0 {
 13397  			return fmt.Errorf("proto: RequestApplySnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire)
 13398  		}
 13399  		switch fieldNum {
 13400  		case 1:
 13401  			if wireType != 0 {
 13402  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 13403  			}
 13404  			m.Index = 0
 13405  			for shift := uint(0); ; shift += 7 {
 13406  				if shift >= 64 {
 13407  					return ErrIntOverflowTypes
 13408  				}
 13409  				if iNdEx >= l {
 13410  					return io.ErrUnexpectedEOF
 13411  				}
 13412  				b := dAtA[iNdEx]
 13413  				iNdEx++
 13414  				m.Index |= uint32(b&0x7F) << shift
 13415  				if b < 0x80 {
 13416  					break
 13417  				}
 13418  			}
 13419  		case 2:
 13420  			if wireType != 2 {
 13421  				return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType)
 13422  			}
 13423  			var byteLen int
 13424  			for shift := uint(0); ; shift += 7 {
 13425  				if shift >= 64 {
 13426  					return ErrIntOverflowTypes
 13427  				}
 13428  				if iNdEx >= l {
 13429  					return io.ErrUnexpectedEOF
 13430  				}
 13431  				b := dAtA[iNdEx]
 13432  				iNdEx++
 13433  				byteLen |= int(b&0x7F) << shift
 13434  				if b < 0x80 {
 13435  					break
 13436  				}
 13437  			}
 13438  			if byteLen < 0 {
 13439  				return ErrInvalidLengthTypes
 13440  			}
 13441  			postIndex := iNdEx + byteLen
 13442  			if postIndex < 0 {
 13443  				return ErrInvalidLengthTypes
 13444  			}
 13445  			if postIndex > l {
 13446  				return io.ErrUnexpectedEOF
 13447  			}
 13448  			m.Chunk = append(m.Chunk[:0], dAtA[iNdEx:postIndex]...)
 13449  			if m.Chunk == nil {
 13450  				m.Chunk = []byte{}
 13451  			}
 13452  			iNdEx = postIndex
 13453  		case 3:
 13454  			if wireType != 2 {
 13455  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 13456  			}
 13457  			var stringLen uint64
 13458  			for shift := uint(0); ; shift += 7 {
 13459  				if shift >= 64 {
 13460  					return ErrIntOverflowTypes
 13461  				}
 13462  				if iNdEx >= l {
 13463  					return io.ErrUnexpectedEOF
 13464  				}
 13465  				b := dAtA[iNdEx]
 13466  				iNdEx++
 13467  				stringLen |= uint64(b&0x7F) << shift
 13468  				if b < 0x80 {
 13469  					break
 13470  				}
 13471  			}
 13472  			intStringLen := int(stringLen)
 13473  			if intStringLen < 0 {
 13474  				return ErrInvalidLengthTypes
 13475  			}
 13476  			postIndex := iNdEx + intStringLen
 13477  			if postIndex < 0 {
 13478  				return ErrInvalidLengthTypes
 13479  			}
 13480  			if postIndex > l {
 13481  				return io.ErrUnexpectedEOF
 13482  			}
 13483  			m.Sender = string(dAtA[iNdEx:postIndex])
 13484  			iNdEx = postIndex
 13485  		default:
 13486  			iNdEx = preIndex
 13487  			skippy, err := skipTypes(dAtA[iNdEx:])
 13488  			if err != nil {
 13489  				return err
 13490  			}
 13491  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 13492  				return ErrInvalidLengthTypes
 13493  			}
 13494  			if (iNdEx + skippy) > l {
 13495  				return io.ErrUnexpectedEOF
 13496  			}
 13497  			iNdEx += skippy
 13498  		}
 13499  	}
 13500  
 13501  	if iNdEx > l {
 13502  		return io.ErrUnexpectedEOF
 13503  	}
 13504  	return nil
 13505  }
 13506  func (m *RequestPrepareProposal) Unmarshal(dAtA []byte) error {
 13507  	l := len(dAtA)
 13508  	iNdEx := 0
 13509  	for iNdEx < l {
 13510  		preIndex := iNdEx
 13511  		var wire uint64
 13512  		for shift := uint(0); ; shift += 7 {
 13513  			if shift >= 64 {
 13514  				return ErrIntOverflowTypes
 13515  			}
 13516  			if iNdEx >= l {
 13517  				return io.ErrUnexpectedEOF
 13518  			}
 13519  			b := dAtA[iNdEx]
 13520  			iNdEx++
 13521  			wire |= uint64(b&0x7F) << shift
 13522  			if b < 0x80 {
 13523  				break
 13524  			}
 13525  		}
 13526  		fieldNum := int32(wire >> 3)
 13527  		wireType := int(wire & 0x7)
 13528  		if wireType == 4 {
 13529  			return fmt.Errorf("proto: RequestPrepareProposal: wiretype end group for non-group")
 13530  		}
 13531  		if fieldNum <= 0 {
 13532  			return fmt.Errorf("proto: RequestPrepareProposal: illegal tag %d (wire type %d)", fieldNum, wire)
 13533  		}
 13534  		switch fieldNum {
 13535  		case 1:
 13536  			if wireType != 0 {
 13537  				return fmt.Errorf("proto: wrong wireType = %d for field MaxTxBytes", wireType)
 13538  			}
 13539  			m.MaxTxBytes = 0
 13540  			for shift := uint(0); ; shift += 7 {
 13541  				if shift >= 64 {
 13542  					return ErrIntOverflowTypes
 13543  				}
 13544  				if iNdEx >= l {
 13545  					return io.ErrUnexpectedEOF
 13546  				}
 13547  				b := dAtA[iNdEx]
 13548  				iNdEx++
 13549  				m.MaxTxBytes |= int64(b&0x7F) << shift
 13550  				if b < 0x80 {
 13551  					break
 13552  				}
 13553  			}
 13554  		case 2:
 13555  			if wireType != 2 {
 13556  				return fmt.Errorf("proto: wrong wireType = %d for field Txs", wireType)
 13557  			}
 13558  			var byteLen int
 13559  			for shift := uint(0); ; shift += 7 {
 13560  				if shift >= 64 {
 13561  					return ErrIntOverflowTypes
 13562  				}
 13563  				if iNdEx >= l {
 13564  					return io.ErrUnexpectedEOF
 13565  				}
 13566  				b := dAtA[iNdEx]
 13567  				iNdEx++
 13568  				byteLen |= int(b&0x7F) << shift
 13569  				if b < 0x80 {
 13570  					break
 13571  				}
 13572  			}
 13573  			if byteLen < 0 {
 13574  				return ErrInvalidLengthTypes
 13575  			}
 13576  			postIndex := iNdEx + byteLen
 13577  			if postIndex < 0 {
 13578  				return ErrInvalidLengthTypes
 13579  			}
 13580  			if postIndex > l {
 13581  				return io.ErrUnexpectedEOF
 13582  			}
 13583  			m.Txs = append(m.Txs, make([]byte, postIndex-iNdEx))
 13584  			copy(m.Txs[len(m.Txs)-1], dAtA[iNdEx:postIndex])
 13585  			iNdEx = postIndex
 13586  		case 3:
 13587  			if wireType != 2 {
 13588  				return fmt.Errorf("proto: wrong wireType = %d for field LocalLastCommit", wireType)
 13589  			}
 13590  			var msglen int
 13591  			for shift := uint(0); ; shift += 7 {
 13592  				if shift >= 64 {
 13593  					return ErrIntOverflowTypes
 13594  				}
 13595  				if iNdEx >= l {
 13596  					return io.ErrUnexpectedEOF
 13597  				}
 13598  				b := dAtA[iNdEx]
 13599  				iNdEx++
 13600  				msglen |= int(b&0x7F) << shift
 13601  				if b < 0x80 {
 13602  					break
 13603  				}
 13604  			}
 13605  			if msglen < 0 {
 13606  				return ErrInvalidLengthTypes
 13607  			}
 13608  			postIndex := iNdEx + msglen
 13609  			if postIndex < 0 {
 13610  				return ErrInvalidLengthTypes
 13611  			}
 13612  			if postIndex > l {
 13613  				return io.ErrUnexpectedEOF
 13614  			}
 13615  			if err := m.LocalLastCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13616  				return err
 13617  			}
 13618  			iNdEx = postIndex
 13619  		case 4:
 13620  			if wireType != 2 {
 13621  				return fmt.Errorf("proto: wrong wireType = %d for field ByzantineValidators", wireType)
 13622  			}
 13623  			var msglen int
 13624  			for shift := uint(0); ; shift += 7 {
 13625  				if shift >= 64 {
 13626  					return ErrIntOverflowTypes
 13627  				}
 13628  				if iNdEx >= l {
 13629  					return io.ErrUnexpectedEOF
 13630  				}
 13631  				b := dAtA[iNdEx]
 13632  				iNdEx++
 13633  				msglen |= int(b&0x7F) << shift
 13634  				if b < 0x80 {
 13635  					break
 13636  				}
 13637  			}
 13638  			if msglen < 0 {
 13639  				return ErrInvalidLengthTypes
 13640  			}
 13641  			postIndex := iNdEx + msglen
 13642  			if postIndex < 0 {
 13643  				return ErrInvalidLengthTypes
 13644  			}
 13645  			if postIndex > l {
 13646  				return io.ErrUnexpectedEOF
 13647  			}
 13648  			m.ByzantineValidators = append(m.ByzantineValidators, Misbehavior{})
 13649  			if err := m.ByzantineValidators[len(m.ByzantineValidators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 13650  				return err
 13651  			}
 13652  			iNdEx = postIndex
 13653  		case 5:
 13654  			if wireType != 0 {
 13655  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 13656  			}
 13657  			m.Height = 0
 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  				m.Height |= int64(b&0x7F) << shift
 13668  				if b < 0x80 {
 13669  					break
 13670  				}
 13671  			}
 13672  		case 6:
 13673  			if wireType != 2 {
 13674  				return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
 13675  			}
 13676  			var msglen int
 13677  			for shift := uint(0); ; shift += 7 {
 13678  				if shift >= 64 {
 13679  					return ErrIntOverflowTypes
 13680  				}
 13681  				if iNdEx >= l {
 13682  					return io.ErrUnexpectedEOF
 13683  				}
 13684  				b := dAtA[iNdEx]
 13685  				iNdEx++
 13686  				msglen |= int(b&0x7F) << shift
 13687  				if b < 0x80 {
 13688  					break
 13689  				}
 13690  			}
 13691  			if msglen < 0 {
 13692  				return ErrInvalidLengthTypes
 13693  			}
 13694  			postIndex := iNdEx + msglen
 13695  			if postIndex < 0 {
 13696  				return ErrInvalidLengthTypes
 13697  			}
 13698  			if postIndex > l {
 13699  				return io.ErrUnexpectedEOF
 13700  			}
 13701  			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil {
 13702  				return err
 13703  			}
 13704  			iNdEx = postIndex
 13705  		case 7:
 13706  			if wireType != 2 {
 13707  				return fmt.Errorf("proto: wrong wireType = %d for field NextValidatorsHash", wireType)
 13708  			}
 13709  			var byteLen int
 13710  			for shift := uint(0); ; shift += 7 {
 13711  				if shift >= 64 {
 13712  					return ErrIntOverflowTypes
 13713  				}
 13714  				if iNdEx >= l {
 13715  					return io.ErrUnexpectedEOF
 13716  				}
 13717  				b := dAtA[iNdEx]
 13718  				iNdEx++
 13719  				byteLen |= int(b&0x7F) << shift
 13720  				if b < 0x80 {
 13721  					break
 13722  				}
 13723  			}
 13724  			if byteLen < 0 {
 13725  				return ErrInvalidLengthTypes
 13726  			}
 13727  			postIndex := iNdEx + byteLen
 13728  			if postIndex < 0 {
 13729  				return ErrInvalidLengthTypes
 13730  			}
 13731  			if postIndex > l {
 13732  				return io.ErrUnexpectedEOF
 13733  			}
 13734  			m.NextValidatorsHash = append(m.NextValidatorsHash[:0], dAtA[iNdEx:postIndex]...)
 13735  			if m.NextValidatorsHash == nil {
 13736  				m.NextValidatorsHash = []byte{}
 13737  			}
 13738  			iNdEx = postIndex
 13739  		case 8:
 13740  			if wireType != 2 {
 13741  				return fmt.Errorf("proto: wrong wireType = %d for field ProposerAddress", wireType)
 13742  			}
 13743  			var byteLen int
 13744  			for shift := uint(0); ; shift += 7 {
 13745  				if shift >= 64 {
 13746  					return ErrIntOverflowTypes
 13747  				}
 13748  				if iNdEx >= l {
 13749  					return io.ErrUnexpectedEOF
 13750  				}
 13751  				b := dAtA[iNdEx]
 13752  				iNdEx++
 13753  				byteLen |= int(b&0x7F) << shift
 13754  				if b < 0x80 {
 13755  					break
 13756  				}
 13757  			}
 13758  			if byteLen < 0 {
 13759  				return ErrInvalidLengthTypes
 13760  			}
 13761  			postIndex := iNdEx + byteLen
 13762  			if postIndex < 0 {
 13763  				return ErrInvalidLengthTypes
 13764  			}
 13765  			if postIndex > l {
 13766  				return io.ErrUnexpectedEOF
 13767  			}
 13768  			m.ProposerAddress = append(m.ProposerAddress[:0], dAtA[iNdEx:postIndex]...)
 13769  			if m.ProposerAddress == nil {
 13770  				m.ProposerAddress = []byte{}
 13771  			}
 13772  			iNdEx = postIndex
 13773  		case 9:
 13774  			if wireType != 2 {
 13775  				return fmt.Errorf("proto: wrong wireType = %d for field AppHash", wireType)
 13776  			}
 13777  			var byteLen int
 13778  			for shift := uint(0); ; shift += 7 {
 13779  				if shift >= 64 {
 13780  					return ErrIntOverflowTypes
 13781  				}
 13782  				if iNdEx >= l {
 13783  					return io.ErrUnexpectedEOF
 13784  				}
 13785  				b := dAtA[iNdEx]
 13786  				iNdEx++
 13787  				byteLen |= int(b&0x7F) << shift
 13788  				if b < 0x80 {
 13789  					break
 13790  				}
 13791  			}
 13792  			if byteLen < 0 {
 13793  				return ErrInvalidLengthTypes
 13794  			}
 13795  			postIndex := iNdEx + byteLen
 13796  			if postIndex < 0 {
 13797  				return ErrInvalidLengthTypes
 13798  			}
 13799  			if postIndex > l {
 13800  				return io.ErrUnexpectedEOF
 13801  			}
 13802  			m.AppHash = append(m.AppHash[:0], dAtA[iNdEx:postIndex]...)
 13803  			if m.AppHash == nil {
 13804  				m.AppHash = []byte{}
 13805  			}
 13806  			iNdEx = postIndex
 13807  		case 10:
 13808  			if wireType != 2 {
 13809  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorsHash", wireType)
 13810  			}
 13811  			var byteLen int
 13812  			for shift := uint(0); ; shift += 7 {
 13813  				if shift >= 64 {
 13814  					return ErrIntOverflowTypes
 13815  				}
 13816  				if iNdEx >= l {
 13817  					return io.ErrUnexpectedEOF
 13818  				}
 13819  				b := dAtA[iNdEx]
 13820  				iNdEx++
 13821  				byteLen |= int(b&0x7F) << shift
 13822  				if b < 0x80 {
 13823  					break
 13824  				}
 13825  			}
 13826  			if byteLen < 0 {
 13827  				return ErrInvalidLengthTypes
 13828  			}
 13829  			postIndex := iNdEx + byteLen
 13830  			if postIndex < 0 {
 13831  				return ErrInvalidLengthTypes
 13832  			}
 13833  			if postIndex > l {
 13834  				return io.ErrUnexpectedEOF
 13835  			}
 13836  			m.ValidatorsHash = append(m.ValidatorsHash[:0], dAtA[iNdEx:postIndex]...)
 13837  			if m.ValidatorsHash == nil {
 13838  				m.ValidatorsHash = []byte{}
 13839  			}
 13840  			iNdEx = postIndex
 13841  		case 11:
 13842  			if wireType != 2 {
 13843  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusHash", wireType)
 13844  			}
 13845  			var byteLen int
 13846  			for shift := uint(0); ; shift += 7 {
 13847  				if shift >= 64 {
 13848  					return ErrIntOverflowTypes
 13849  				}
 13850  				if iNdEx >= l {
 13851  					return io.ErrUnexpectedEOF
 13852  				}
 13853  				b := dAtA[iNdEx]
 13854  				iNdEx++
 13855  				byteLen |= int(b&0x7F) << shift
 13856  				if b < 0x80 {
 13857  					break
 13858  				}
 13859  			}
 13860  			if byteLen < 0 {
 13861  				return ErrInvalidLengthTypes
 13862  			}
 13863  			postIndex := iNdEx + byteLen
 13864  			if postIndex < 0 {
 13865  				return ErrInvalidLengthTypes
 13866  			}
 13867  			if postIndex > l {
 13868  				return io.ErrUnexpectedEOF
 13869  			}
 13870  			m.ConsensusHash = append(m.ConsensusHash[:0], dAtA[iNdEx:postIndex]...)
 13871  			if m.ConsensusHash == nil {
 13872  				m.ConsensusHash = []byte{}
 13873  			}
 13874  			iNdEx = postIndex
 13875  		case 12:
 13876  			if wireType != 2 {
 13877  				return fmt.Errorf("proto: wrong wireType = %d for field DataHash", wireType)
 13878  			}
 13879  			var byteLen int
 13880  			for shift := uint(0); ; shift += 7 {
 13881  				if shift >= 64 {
 13882  					return ErrIntOverflowTypes
 13883  				}
 13884  				if iNdEx >= l {
 13885  					return io.ErrUnexpectedEOF
 13886  				}
 13887  				b := dAtA[iNdEx]
 13888  				iNdEx++
 13889  				byteLen |= int(b&0x7F) << shift
 13890  				if b < 0x80 {
 13891  					break
 13892  				}
 13893  			}
 13894  			if byteLen < 0 {
 13895  				return ErrInvalidLengthTypes
 13896  			}
 13897  			postIndex := iNdEx + byteLen
 13898  			if postIndex < 0 {
 13899  				return ErrInvalidLengthTypes
 13900  			}
 13901  			if postIndex > l {
 13902  				return io.ErrUnexpectedEOF
 13903  			}
 13904  			m.DataHash = append(m.DataHash[:0], dAtA[iNdEx:postIndex]...)
 13905  			if m.DataHash == nil {
 13906  				m.DataHash = []byte{}
 13907  			}
 13908  			iNdEx = postIndex
 13909  		case 13:
 13910  			if wireType != 2 {
 13911  				return fmt.Errorf("proto: wrong wireType = %d for field EvidenceHash", wireType)
 13912  			}
 13913  			var byteLen int
 13914  			for shift := uint(0); ; shift += 7 {
 13915  				if shift >= 64 {
 13916  					return ErrIntOverflowTypes
 13917  				}
 13918  				if iNdEx >= l {
 13919  					return io.ErrUnexpectedEOF
 13920  				}
 13921  				b := dAtA[iNdEx]
 13922  				iNdEx++
 13923  				byteLen |= int(b&0x7F) << shift
 13924  				if b < 0x80 {
 13925  					break
 13926  				}
 13927  			}
 13928  			if byteLen < 0 {
 13929  				return ErrInvalidLengthTypes
 13930  			}
 13931  			postIndex := iNdEx + byteLen
 13932  			if postIndex < 0 {
 13933  				return ErrInvalidLengthTypes
 13934  			}
 13935  			if postIndex > l {
 13936  				return io.ErrUnexpectedEOF
 13937  			}
 13938  			m.EvidenceHash = append(m.EvidenceHash[:0], dAtA[iNdEx:postIndex]...)
 13939  			if m.EvidenceHash == nil {
 13940  				m.EvidenceHash = []byte{}
 13941  			}
 13942  			iNdEx = postIndex
 13943  		case 14:
 13944  			if wireType != 2 {
 13945  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockHash", wireType)
 13946  			}
 13947  			var byteLen int
 13948  			for shift := uint(0); ; shift += 7 {
 13949  				if shift >= 64 {
 13950  					return ErrIntOverflowTypes
 13951  				}
 13952  				if iNdEx >= l {
 13953  					return io.ErrUnexpectedEOF
 13954  				}
 13955  				b := dAtA[iNdEx]
 13956  				iNdEx++
 13957  				byteLen |= int(b&0x7F) << shift
 13958  				if b < 0x80 {
 13959  					break
 13960  				}
 13961  			}
 13962  			if byteLen < 0 {
 13963  				return ErrInvalidLengthTypes
 13964  			}
 13965  			postIndex := iNdEx + byteLen
 13966  			if postIndex < 0 {
 13967  				return ErrInvalidLengthTypes
 13968  			}
 13969  			if postIndex > l {
 13970  				return io.ErrUnexpectedEOF
 13971  			}
 13972  			m.LastBlockHash = append(m.LastBlockHash[:0], dAtA[iNdEx:postIndex]...)
 13973  			if m.LastBlockHash == nil {
 13974  				m.LastBlockHash = []byte{}
 13975  			}
 13976  			iNdEx = postIndex
 13977  		case 15:
 13978  			if wireType != 0 {
 13979  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockPartSetTotal", wireType)
 13980  			}
 13981  			m.LastBlockPartSetTotal = 0
 13982  			for shift := uint(0); ; shift += 7 {
 13983  				if shift >= 64 {
 13984  					return ErrIntOverflowTypes
 13985  				}
 13986  				if iNdEx >= l {
 13987  					return io.ErrUnexpectedEOF
 13988  				}
 13989  				b := dAtA[iNdEx]
 13990  				iNdEx++
 13991  				m.LastBlockPartSetTotal |= int64(b&0x7F) << shift
 13992  				if b < 0x80 {
 13993  					break
 13994  				}
 13995  			}
 13996  		case 16:
 13997  			if wireType != 2 {
 13998  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockPartSetHash", wireType)
 13999  			}
 14000  			var byteLen int
 14001  			for shift := uint(0); ; shift += 7 {
 14002  				if shift >= 64 {
 14003  					return ErrIntOverflowTypes
 14004  				}
 14005  				if iNdEx >= l {
 14006  					return io.ErrUnexpectedEOF
 14007  				}
 14008  				b := dAtA[iNdEx]
 14009  				iNdEx++
 14010  				byteLen |= int(b&0x7F) << shift
 14011  				if b < 0x80 {
 14012  					break
 14013  				}
 14014  			}
 14015  			if byteLen < 0 {
 14016  				return ErrInvalidLengthTypes
 14017  			}
 14018  			postIndex := iNdEx + byteLen
 14019  			if postIndex < 0 {
 14020  				return ErrInvalidLengthTypes
 14021  			}
 14022  			if postIndex > l {
 14023  				return io.ErrUnexpectedEOF
 14024  			}
 14025  			m.LastBlockPartSetHash = append(m.LastBlockPartSetHash[:0], dAtA[iNdEx:postIndex]...)
 14026  			if m.LastBlockPartSetHash == nil {
 14027  				m.LastBlockPartSetHash = []byte{}
 14028  			}
 14029  			iNdEx = postIndex
 14030  		case 17:
 14031  			if wireType != 2 {
 14032  				return fmt.Errorf("proto: wrong wireType = %d for field LastCommitHash", wireType)
 14033  			}
 14034  			var byteLen int
 14035  			for shift := uint(0); ; shift += 7 {
 14036  				if shift >= 64 {
 14037  					return ErrIntOverflowTypes
 14038  				}
 14039  				if iNdEx >= l {
 14040  					return io.ErrUnexpectedEOF
 14041  				}
 14042  				b := dAtA[iNdEx]
 14043  				iNdEx++
 14044  				byteLen |= int(b&0x7F) << shift
 14045  				if b < 0x80 {
 14046  					break
 14047  				}
 14048  			}
 14049  			if byteLen < 0 {
 14050  				return ErrInvalidLengthTypes
 14051  			}
 14052  			postIndex := iNdEx + byteLen
 14053  			if postIndex < 0 {
 14054  				return ErrInvalidLengthTypes
 14055  			}
 14056  			if postIndex > l {
 14057  				return io.ErrUnexpectedEOF
 14058  			}
 14059  			m.LastCommitHash = append(m.LastCommitHash[:0], dAtA[iNdEx:postIndex]...)
 14060  			if m.LastCommitHash == nil {
 14061  				m.LastCommitHash = []byte{}
 14062  			}
 14063  			iNdEx = postIndex
 14064  		case 18:
 14065  			if wireType != 2 {
 14066  				return fmt.Errorf("proto: wrong wireType = %d for field LastResultsHash", wireType)
 14067  			}
 14068  			var byteLen int
 14069  			for shift := uint(0); ; shift += 7 {
 14070  				if shift >= 64 {
 14071  					return ErrIntOverflowTypes
 14072  				}
 14073  				if iNdEx >= l {
 14074  					return io.ErrUnexpectedEOF
 14075  				}
 14076  				b := dAtA[iNdEx]
 14077  				iNdEx++
 14078  				byteLen |= int(b&0x7F) << shift
 14079  				if b < 0x80 {
 14080  					break
 14081  				}
 14082  			}
 14083  			if byteLen < 0 {
 14084  				return ErrInvalidLengthTypes
 14085  			}
 14086  			postIndex := iNdEx + byteLen
 14087  			if postIndex < 0 {
 14088  				return ErrInvalidLengthTypes
 14089  			}
 14090  			if postIndex > l {
 14091  				return io.ErrUnexpectedEOF
 14092  			}
 14093  			m.LastResultsHash = append(m.LastResultsHash[:0], dAtA[iNdEx:postIndex]...)
 14094  			if m.LastResultsHash == nil {
 14095  				m.LastResultsHash = []byte{}
 14096  			}
 14097  			iNdEx = postIndex
 14098  		default:
 14099  			iNdEx = preIndex
 14100  			skippy, err := skipTypes(dAtA[iNdEx:])
 14101  			if err != nil {
 14102  				return err
 14103  			}
 14104  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14105  				return ErrInvalidLengthTypes
 14106  			}
 14107  			if (iNdEx + skippy) > l {
 14108  				return io.ErrUnexpectedEOF
 14109  			}
 14110  			iNdEx += skippy
 14111  		}
 14112  	}
 14113  
 14114  	if iNdEx > l {
 14115  		return io.ErrUnexpectedEOF
 14116  	}
 14117  	return nil
 14118  }
 14119  func (m *RequestProcessProposal) Unmarshal(dAtA []byte) error {
 14120  	l := len(dAtA)
 14121  	iNdEx := 0
 14122  	for iNdEx < l {
 14123  		preIndex := iNdEx
 14124  		var wire uint64
 14125  		for shift := uint(0); ; shift += 7 {
 14126  			if shift >= 64 {
 14127  				return ErrIntOverflowTypes
 14128  			}
 14129  			if iNdEx >= l {
 14130  				return io.ErrUnexpectedEOF
 14131  			}
 14132  			b := dAtA[iNdEx]
 14133  			iNdEx++
 14134  			wire |= uint64(b&0x7F) << shift
 14135  			if b < 0x80 {
 14136  				break
 14137  			}
 14138  		}
 14139  		fieldNum := int32(wire >> 3)
 14140  		wireType := int(wire & 0x7)
 14141  		if wireType == 4 {
 14142  			return fmt.Errorf("proto: RequestProcessProposal: wiretype end group for non-group")
 14143  		}
 14144  		if fieldNum <= 0 {
 14145  			return fmt.Errorf("proto: RequestProcessProposal: illegal tag %d (wire type %d)", fieldNum, wire)
 14146  		}
 14147  		switch fieldNum {
 14148  		case 1:
 14149  			if wireType != 2 {
 14150  				return fmt.Errorf("proto: wrong wireType = %d for field Txs", wireType)
 14151  			}
 14152  			var byteLen int
 14153  			for shift := uint(0); ; shift += 7 {
 14154  				if shift >= 64 {
 14155  					return ErrIntOverflowTypes
 14156  				}
 14157  				if iNdEx >= l {
 14158  					return io.ErrUnexpectedEOF
 14159  				}
 14160  				b := dAtA[iNdEx]
 14161  				iNdEx++
 14162  				byteLen |= int(b&0x7F) << shift
 14163  				if b < 0x80 {
 14164  					break
 14165  				}
 14166  			}
 14167  			if byteLen < 0 {
 14168  				return ErrInvalidLengthTypes
 14169  			}
 14170  			postIndex := iNdEx + byteLen
 14171  			if postIndex < 0 {
 14172  				return ErrInvalidLengthTypes
 14173  			}
 14174  			if postIndex > l {
 14175  				return io.ErrUnexpectedEOF
 14176  			}
 14177  			m.Txs = append(m.Txs, make([]byte, postIndex-iNdEx))
 14178  			copy(m.Txs[len(m.Txs)-1], dAtA[iNdEx:postIndex])
 14179  			iNdEx = postIndex
 14180  		case 2:
 14181  			if wireType != 2 {
 14182  				return fmt.Errorf("proto: wrong wireType = %d for field ProposedLastCommit", wireType)
 14183  			}
 14184  			var msglen int
 14185  			for shift := uint(0); ; shift += 7 {
 14186  				if shift >= 64 {
 14187  					return ErrIntOverflowTypes
 14188  				}
 14189  				if iNdEx >= l {
 14190  					return io.ErrUnexpectedEOF
 14191  				}
 14192  				b := dAtA[iNdEx]
 14193  				iNdEx++
 14194  				msglen |= int(b&0x7F) << shift
 14195  				if b < 0x80 {
 14196  					break
 14197  				}
 14198  			}
 14199  			if msglen < 0 {
 14200  				return ErrInvalidLengthTypes
 14201  			}
 14202  			postIndex := iNdEx + msglen
 14203  			if postIndex < 0 {
 14204  				return ErrInvalidLengthTypes
 14205  			}
 14206  			if postIndex > l {
 14207  				return io.ErrUnexpectedEOF
 14208  			}
 14209  			if err := m.ProposedLastCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14210  				return err
 14211  			}
 14212  			iNdEx = postIndex
 14213  		case 3:
 14214  			if wireType != 2 {
 14215  				return fmt.Errorf("proto: wrong wireType = %d for field ByzantineValidators", wireType)
 14216  			}
 14217  			var msglen int
 14218  			for shift := uint(0); ; shift += 7 {
 14219  				if shift >= 64 {
 14220  					return ErrIntOverflowTypes
 14221  				}
 14222  				if iNdEx >= l {
 14223  					return io.ErrUnexpectedEOF
 14224  				}
 14225  				b := dAtA[iNdEx]
 14226  				iNdEx++
 14227  				msglen |= int(b&0x7F) << shift
 14228  				if b < 0x80 {
 14229  					break
 14230  				}
 14231  			}
 14232  			if msglen < 0 {
 14233  				return ErrInvalidLengthTypes
 14234  			}
 14235  			postIndex := iNdEx + msglen
 14236  			if postIndex < 0 {
 14237  				return ErrInvalidLengthTypes
 14238  			}
 14239  			if postIndex > l {
 14240  				return io.ErrUnexpectedEOF
 14241  			}
 14242  			m.ByzantineValidators = append(m.ByzantineValidators, Misbehavior{})
 14243  			if err := m.ByzantineValidators[len(m.ByzantineValidators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 14244  				return err
 14245  			}
 14246  			iNdEx = postIndex
 14247  		case 4:
 14248  			if wireType != 2 {
 14249  				return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType)
 14250  			}
 14251  			var byteLen int
 14252  			for shift := uint(0); ; shift += 7 {
 14253  				if shift >= 64 {
 14254  					return ErrIntOverflowTypes
 14255  				}
 14256  				if iNdEx >= l {
 14257  					return io.ErrUnexpectedEOF
 14258  				}
 14259  				b := dAtA[iNdEx]
 14260  				iNdEx++
 14261  				byteLen |= int(b&0x7F) << shift
 14262  				if b < 0x80 {
 14263  					break
 14264  				}
 14265  			}
 14266  			if byteLen < 0 {
 14267  				return ErrInvalidLengthTypes
 14268  			}
 14269  			postIndex := iNdEx + byteLen
 14270  			if postIndex < 0 {
 14271  				return ErrInvalidLengthTypes
 14272  			}
 14273  			if postIndex > l {
 14274  				return io.ErrUnexpectedEOF
 14275  			}
 14276  			m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...)
 14277  			if m.Hash == nil {
 14278  				m.Hash = []byte{}
 14279  			}
 14280  			iNdEx = postIndex
 14281  		case 5:
 14282  			if wireType != 0 {
 14283  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 14284  			}
 14285  			m.Height = 0
 14286  			for shift := uint(0); ; shift += 7 {
 14287  				if shift >= 64 {
 14288  					return ErrIntOverflowTypes
 14289  				}
 14290  				if iNdEx >= l {
 14291  					return io.ErrUnexpectedEOF
 14292  				}
 14293  				b := dAtA[iNdEx]
 14294  				iNdEx++
 14295  				m.Height |= int64(b&0x7F) << shift
 14296  				if b < 0x80 {
 14297  					break
 14298  				}
 14299  			}
 14300  		case 6:
 14301  			if wireType != 2 {
 14302  				return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
 14303  			}
 14304  			var msglen int
 14305  			for shift := uint(0); ; shift += 7 {
 14306  				if shift >= 64 {
 14307  					return ErrIntOverflowTypes
 14308  				}
 14309  				if iNdEx >= l {
 14310  					return io.ErrUnexpectedEOF
 14311  				}
 14312  				b := dAtA[iNdEx]
 14313  				iNdEx++
 14314  				msglen |= int(b&0x7F) << shift
 14315  				if b < 0x80 {
 14316  					break
 14317  				}
 14318  			}
 14319  			if msglen < 0 {
 14320  				return ErrInvalidLengthTypes
 14321  			}
 14322  			postIndex := iNdEx + msglen
 14323  			if postIndex < 0 {
 14324  				return ErrInvalidLengthTypes
 14325  			}
 14326  			if postIndex > l {
 14327  				return io.ErrUnexpectedEOF
 14328  			}
 14329  			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil {
 14330  				return err
 14331  			}
 14332  			iNdEx = postIndex
 14333  		case 7:
 14334  			if wireType != 2 {
 14335  				return fmt.Errorf("proto: wrong wireType = %d for field NextValidatorsHash", wireType)
 14336  			}
 14337  			var byteLen int
 14338  			for shift := uint(0); ; shift += 7 {
 14339  				if shift >= 64 {
 14340  					return ErrIntOverflowTypes
 14341  				}
 14342  				if iNdEx >= l {
 14343  					return io.ErrUnexpectedEOF
 14344  				}
 14345  				b := dAtA[iNdEx]
 14346  				iNdEx++
 14347  				byteLen |= int(b&0x7F) << shift
 14348  				if b < 0x80 {
 14349  					break
 14350  				}
 14351  			}
 14352  			if byteLen < 0 {
 14353  				return ErrInvalidLengthTypes
 14354  			}
 14355  			postIndex := iNdEx + byteLen
 14356  			if postIndex < 0 {
 14357  				return ErrInvalidLengthTypes
 14358  			}
 14359  			if postIndex > l {
 14360  				return io.ErrUnexpectedEOF
 14361  			}
 14362  			m.NextValidatorsHash = append(m.NextValidatorsHash[:0], dAtA[iNdEx:postIndex]...)
 14363  			if m.NextValidatorsHash == nil {
 14364  				m.NextValidatorsHash = []byte{}
 14365  			}
 14366  			iNdEx = postIndex
 14367  		case 8:
 14368  			if wireType != 2 {
 14369  				return fmt.Errorf("proto: wrong wireType = %d for field ProposerAddress", wireType)
 14370  			}
 14371  			var byteLen int
 14372  			for shift := uint(0); ; shift += 7 {
 14373  				if shift >= 64 {
 14374  					return ErrIntOverflowTypes
 14375  				}
 14376  				if iNdEx >= l {
 14377  					return io.ErrUnexpectedEOF
 14378  				}
 14379  				b := dAtA[iNdEx]
 14380  				iNdEx++
 14381  				byteLen |= int(b&0x7F) << shift
 14382  				if b < 0x80 {
 14383  					break
 14384  				}
 14385  			}
 14386  			if byteLen < 0 {
 14387  				return ErrInvalidLengthTypes
 14388  			}
 14389  			postIndex := iNdEx + byteLen
 14390  			if postIndex < 0 {
 14391  				return ErrInvalidLengthTypes
 14392  			}
 14393  			if postIndex > l {
 14394  				return io.ErrUnexpectedEOF
 14395  			}
 14396  			m.ProposerAddress = append(m.ProposerAddress[:0], dAtA[iNdEx:postIndex]...)
 14397  			if m.ProposerAddress == nil {
 14398  				m.ProposerAddress = []byte{}
 14399  			}
 14400  			iNdEx = postIndex
 14401  		case 10:
 14402  			if wireType != 2 {
 14403  				return fmt.Errorf("proto: wrong wireType = %d for field AppHash", wireType)
 14404  			}
 14405  			var byteLen int
 14406  			for shift := uint(0); ; shift += 7 {
 14407  				if shift >= 64 {
 14408  					return ErrIntOverflowTypes
 14409  				}
 14410  				if iNdEx >= l {
 14411  					return io.ErrUnexpectedEOF
 14412  				}
 14413  				b := dAtA[iNdEx]
 14414  				iNdEx++
 14415  				byteLen |= int(b&0x7F) << shift
 14416  				if b < 0x80 {
 14417  					break
 14418  				}
 14419  			}
 14420  			if byteLen < 0 {
 14421  				return ErrInvalidLengthTypes
 14422  			}
 14423  			postIndex := iNdEx + byteLen
 14424  			if postIndex < 0 {
 14425  				return ErrInvalidLengthTypes
 14426  			}
 14427  			if postIndex > l {
 14428  				return io.ErrUnexpectedEOF
 14429  			}
 14430  			m.AppHash = append(m.AppHash[:0], dAtA[iNdEx:postIndex]...)
 14431  			if m.AppHash == nil {
 14432  				m.AppHash = []byte{}
 14433  			}
 14434  			iNdEx = postIndex
 14435  		case 11:
 14436  			if wireType != 2 {
 14437  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorsHash", wireType)
 14438  			}
 14439  			var byteLen int
 14440  			for shift := uint(0); ; shift += 7 {
 14441  				if shift >= 64 {
 14442  					return ErrIntOverflowTypes
 14443  				}
 14444  				if iNdEx >= l {
 14445  					return io.ErrUnexpectedEOF
 14446  				}
 14447  				b := dAtA[iNdEx]
 14448  				iNdEx++
 14449  				byteLen |= int(b&0x7F) << shift
 14450  				if b < 0x80 {
 14451  					break
 14452  				}
 14453  			}
 14454  			if byteLen < 0 {
 14455  				return ErrInvalidLengthTypes
 14456  			}
 14457  			postIndex := iNdEx + byteLen
 14458  			if postIndex < 0 {
 14459  				return ErrInvalidLengthTypes
 14460  			}
 14461  			if postIndex > l {
 14462  				return io.ErrUnexpectedEOF
 14463  			}
 14464  			m.ValidatorsHash = append(m.ValidatorsHash[:0], dAtA[iNdEx:postIndex]...)
 14465  			if m.ValidatorsHash == nil {
 14466  				m.ValidatorsHash = []byte{}
 14467  			}
 14468  			iNdEx = postIndex
 14469  		case 12:
 14470  			if wireType != 2 {
 14471  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusHash", wireType)
 14472  			}
 14473  			var byteLen int
 14474  			for shift := uint(0); ; shift += 7 {
 14475  				if shift >= 64 {
 14476  					return ErrIntOverflowTypes
 14477  				}
 14478  				if iNdEx >= l {
 14479  					return io.ErrUnexpectedEOF
 14480  				}
 14481  				b := dAtA[iNdEx]
 14482  				iNdEx++
 14483  				byteLen |= int(b&0x7F) << shift
 14484  				if b < 0x80 {
 14485  					break
 14486  				}
 14487  			}
 14488  			if byteLen < 0 {
 14489  				return ErrInvalidLengthTypes
 14490  			}
 14491  			postIndex := iNdEx + byteLen
 14492  			if postIndex < 0 {
 14493  				return ErrInvalidLengthTypes
 14494  			}
 14495  			if postIndex > l {
 14496  				return io.ErrUnexpectedEOF
 14497  			}
 14498  			m.ConsensusHash = append(m.ConsensusHash[:0], dAtA[iNdEx:postIndex]...)
 14499  			if m.ConsensusHash == nil {
 14500  				m.ConsensusHash = []byte{}
 14501  			}
 14502  			iNdEx = postIndex
 14503  		case 13:
 14504  			if wireType != 2 {
 14505  				return fmt.Errorf("proto: wrong wireType = %d for field DataHash", wireType)
 14506  			}
 14507  			var byteLen int
 14508  			for shift := uint(0); ; shift += 7 {
 14509  				if shift >= 64 {
 14510  					return ErrIntOverflowTypes
 14511  				}
 14512  				if iNdEx >= l {
 14513  					return io.ErrUnexpectedEOF
 14514  				}
 14515  				b := dAtA[iNdEx]
 14516  				iNdEx++
 14517  				byteLen |= int(b&0x7F) << shift
 14518  				if b < 0x80 {
 14519  					break
 14520  				}
 14521  			}
 14522  			if byteLen < 0 {
 14523  				return ErrInvalidLengthTypes
 14524  			}
 14525  			postIndex := iNdEx + byteLen
 14526  			if postIndex < 0 {
 14527  				return ErrInvalidLengthTypes
 14528  			}
 14529  			if postIndex > l {
 14530  				return io.ErrUnexpectedEOF
 14531  			}
 14532  			m.DataHash = append(m.DataHash[:0], dAtA[iNdEx:postIndex]...)
 14533  			if m.DataHash == nil {
 14534  				m.DataHash = []byte{}
 14535  			}
 14536  			iNdEx = postIndex
 14537  		case 14:
 14538  			if wireType != 2 {
 14539  				return fmt.Errorf("proto: wrong wireType = %d for field EvidenceHash", wireType)
 14540  			}
 14541  			var byteLen int
 14542  			for shift := uint(0); ; shift += 7 {
 14543  				if shift >= 64 {
 14544  					return ErrIntOverflowTypes
 14545  				}
 14546  				if iNdEx >= l {
 14547  					return io.ErrUnexpectedEOF
 14548  				}
 14549  				b := dAtA[iNdEx]
 14550  				iNdEx++
 14551  				byteLen |= int(b&0x7F) << shift
 14552  				if b < 0x80 {
 14553  					break
 14554  				}
 14555  			}
 14556  			if byteLen < 0 {
 14557  				return ErrInvalidLengthTypes
 14558  			}
 14559  			postIndex := iNdEx + byteLen
 14560  			if postIndex < 0 {
 14561  				return ErrInvalidLengthTypes
 14562  			}
 14563  			if postIndex > l {
 14564  				return io.ErrUnexpectedEOF
 14565  			}
 14566  			m.EvidenceHash = append(m.EvidenceHash[:0], dAtA[iNdEx:postIndex]...)
 14567  			if m.EvidenceHash == nil {
 14568  				m.EvidenceHash = []byte{}
 14569  			}
 14570  			iNdEx = postIndex
 14571  		case 15:
 14572  			if wireType != 2 {
 14573  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockHash", wireType)
 14574  			}
 14575  			var byteLen int
 14576  			for shift := uint(0); ; shift += 7 {
 14577  				if shift >= 64 {
 14578  					return ErrIntOverflowTypes
 14579  				}
 14580  				if iNdEx >= l {
 14581  					return io.ErrUnexpectedEOF
 14582  				}
 14583  				b := dAtA[iNdEx]
 14584  				iNdEx++
 14585  				byteLen |= int(b&0x7F) << shift
 14586  				if b < 0x80 {
 14587  					break
 14588  				}
 14589  			}
 14590  			if byteLen < 0 {
 14591  				return ErrInvalidLengthTypes
 14592  			}
 14593  			postIndex := iNdEx + byteLen
 14594  			if postIndex < 0 {
 14595  				return ErrInvalidLengthTypes
 14596  			}
 14597  			if postIndex > l {
 14598  				return io.ErrUnexpectedEOF
 14599  			}
 14600  			m.LastBlockHash = append(m.LastBlockHash[:0], dAtA[iNdEx:postIndex]...)
 14601  			if m.LastBlockHash == nil {
 14602  				m.LastBlockHash = []byte{}
 14603  			}
 14604  			iNdEx = postIndex
 14605  		case 16:
 14606  			if wireType != 0 {
 14607  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockPartSetTotal", wireType)
 14608  			}
 14609  			m.LastBlockPartSetTotal = 0
 14610  			for shift := uint(0); ; shift += 7 {
 14611  				if shift >= 64 {
 14612  					return ErrIntOverflowTypes
 14613  				}
 14614  				if iNdEx >= l {
 14615  					return io.ErrUnexpectedEOF
 14616  				}
 14617  				b := dAtA[iNdEx]
 14618  				iNdEx++
 14619  				m.LastBlockPartSetTotal |= int64(b&0x7F) << shift
 14620  				if b < 0x80 {
 14621  					break
 14622  				}
 14623  			}
 14624  		case 17:
 14625  			if wireType != 2 {
 14626  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockPartSetHash", wireType)
 14627  			}
 14628  			var byteLen int
 14629  			for shift := uint(0); ; shift += 7 {
 14630  				if shift >= 64 {
 14631  					return ErrIntOverflowTypes
 14632  				}
 14633  				if iNdEx >= l {
 14634  					return io.ErrUnexpectedEOF
 14635  				}
 14636  				b := dAtA[iNdEx]
 14637  				iNdEx++
 14638  				byteLen |= int(b&0x7F) << shift
 14639  				if b < 0x80 {
 14640  					break
 14641  				}
 14642  			}
 14643  			if byteLen < 0 {
 14644  				return ErrInvalidLengthTypes
 14645  			}
 14646  			postIndex := iNdEx + byteLen
 14647  			if postIndex < 0 {
 14648  				return ErrInvalidLengthTypes
 14649  			}
 14650  			if postIndex > l {
 14651  				return io.ErrUnexpectedEOF
 14652  			}
 14653  			m.LastBlockPartSetHash = append(m.LastBlockPartSetHash[:0], dAtA[iNdEx:postIndex]...)
 14654  			if m.LastBlockPartSetHash == nil {
 14655  				m.LastBlockPartSetHash = []byte{}
 14656  			}
 14657  			iNdEx = postIndex
 14658  		case 18:
 14659  			if wireType != 2 {
 14660  				return fmt.Errorf("proto: wrong wireType = %d for field LastCommitHash", wireType)
 14661  			}
 14662  			var byteLen int
 14663  			for shift := uint(0); ; shift += 7 {
 14664  				if shift >= 64 {
 14665  					return ErrIntOverflowTypes
 14666  				}
 14667  				if iNdEx >= l {
 14668  					return io.ErrUnexpectedEOF
 14669  				}
 14670  				b := dAtA[iNdEx]
 14671  				iNdEx++
 14672  				byteLen |= int(b&0x7F) << shift
 14673  				if b < 0x80 {
 14674  					break
 14675  				}
 14676  			}
 14677  			if byteLen < 0 {
 14678  				return ErrInvalidLengthTypes
 14679  			}
 14680  			postIndex := iNdEx + byteLen
 14681  			if postIndex < 0 {
 14682  				return ErrInvalidLengthTypes
 14683  			}
 14684  			if postIndex > l {
 14685  				return io.ErrUnexpectedEOF
 14686  			}
 14687  			m.LastCommitHash = append(m.LastCommitHash[:0], dAtA[iNdEx:postIndex]...)
 14688  			if m.LastCommitHash == nil {
 14689  				m.LastCommitHash = []byte{}
 14690  			}
 14691  			iNdEx = postIndex
 14692  		case 19:
 14693  			if wireType != 2 {
 14694  				return fmt.Errorf("proto: wrong wireType = %d for field LastResultsHash", wireType)
 14695  			}
 14696  			var byteLen int
 14697  			for shift := uint(0); ; shift += 7 {
 14698  				if shift >= 64 {
 14699  					return ErrIntOverflowTypes
 14700  				}
 14701  				if iNdEx >= l {
 14702  					return io.ErrUnexpectedEOF
 14703  				}
 14704  				b := dAtA[iNdEx]
 14705  				iNdEx++
 14706  				byteLen |= int(b&0x7F) << shift
 14707  				if b < 0x80 {
 14708  					break
 14709  				}
 14710  			}
 14711  			if byteLen < 0 {
 14712  				return ErrInvalidLengthTypes
 14713  			}
 14714  			postIndex := iNdEx + byteLen
 14715  			if postIndex < 0 {
 14716  				return ErrInvalidLengthTypes
 14717  			}
 14718  			if postIndex > l {
 14719  				return io.ErrUnexpectedEOF
 14720  			}
 14721  			m.LastResultsHash = append(m.LastResultsHash[:0], dAtA[iNdEx:postIndex]...)
 14722  			if m.LastResultsHash == nil {
 14723  				m.LastResultsHash = []byte{}
 14724  			}
 14725  			iNdEx = postIndex
 14726  		default:
 14727  			iNdEx = preIndex
 14728  			skippy, err := skipTypes(dAtA[iNdEx:])
 14729  			if err != nil {
 14730  				return err
 14731  			}
 14732  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14733  				return ErrInvalidLengthTypes
 14734  			}
 14735  			if (iNdEx + skippy) > l {
 14736  				return io.ErrUnexpectedEOF
 14737  			}
 14738  			iNdEx += skippy
 14739  		}
 14740  	}
 14741  
 14742  	if iNdEx > l {
 14743  		return io.ErrUnexpectedEOF
 14744  	}
 14745  	return nil
 14746  }
 14747  func (m *RequestExtendVote) Unmarshal(dAtA []byte) error {
 14748  	l := len(dAtA)
 14749  	iNdEx := 0
 14750  	for iNdEx < l {
 14751  		preIndex := iNdEx
 14752  		var wire uint64
 14753  		for shift := uint(0); ; shift += 7 {
 14754  			if shift >= 64 {
 14755  				return ErrIntOverflowTypes
 14756  			}
 14757  			if iNdEx >= l {
 14758  				return io.ErrUnexpectedEOF
 14759  			}
 14760  			b := dAtA[iNdEx]
 14761  			iNdEx++
 14762  			wire |= uint64(b&0x7F) << shift
 14763  			if b < 0x80 {
 14764  				break
 14765  			}
 14766  		}
 14767  		fieldNum := int32(wire >> 3)
 14768  		wireType := int(wire & 0x7)
 14769  		if wireType == 4 {
 14770  			return fmt.Errorf("proto: RequestExtendVote: wiretype end group for non-group")
 14771  		}
 14772  		if fieldNum <= 0 {
 14773  			return fmt.Errorf("proto: RequestExtendVote: illegal tag %d (wire type %d)", fieldNum, wire)
 14774  		}
 14775  		switch fieldNum {
 14776  		case 1:
 14777  			if wireType != 2 {
 14778  				return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType)
 14779  			}
 14780  			var byteLen int
 14781  			for shift := uint(0); ; shift += 7 {
 14782  				if shift >= 64 {
 14783  					return ErrIntOverflowTypes
 14784  				}
 14785  				if iNdEx >= l {
 14786  					return io.ErrUnexpectedEOF
 14787  				}
 14788  				b := dAtA[iNdEx]
 14789  				iNdEx++
 14790  				byteLen |= int(b&0x7F) << shift
 14791  				if b < 0x80 {
 14792  					break
 14793  				}
 14794  			}
 14795  			if byteLen < 0 {
 14796  				return ErrInvalidLengthTypes
 14797  			}
 14798  			postIndex := iNdEx + byteLen
 14799  			if postIndex < 0 {
 14800  				return ErrInvalidLengthTypes
 14801  			}
 14802  			if postIndex > l {
 14803  				return io.ErrUnexpectedEOF
 14804  			}
 14805  			m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...)
 14806  			if m.Hash == nil {
 14807  				m.Hash = []byte{}
 14808  			}
 14809  			iNdEx = postIndex
 14810  		case 2:
 14811  			if wireType != 0 {
 14812  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 14813  			}
 14814  			m.Height = 0
 14815  			for shift := uint(0); ; shift += 7 {
 14816  				if shift >= 64 {
 14817  					return ErrIntOverflowTypes
 14818  				}
 14819  				if iNdEx >= l {
 14820  					return io.ErrUnexpectedEOF
 14821  				}
 14822  				b := dAtA[iNdEx]
 14823  				iNdEx++
 14824  				m.Height |= int64(b&0x7F) << shift
 14825  				if b < 0x80 {
 14826  					break
 14827  				}
 14828  			}
 14829  		default:
 14830  			iNdEx = preIndex
 14831  			skippy, err := skipTypes(dAtA[iNdEx:])
 14832  			if err != nil {
 14833  				return err
 14834  			}
 14835  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 14836  				return ErrInvalidLengthTypes
 14837  			}
 14838  			if (iNdEx + skippy) > l {
 14839  				return io.ErrUnexpectedEOF
 14840  			}
 14841  			iNdEx += skippy
 14842  		}
 14843  	}
 14844  
 14845  	if iNdEx > l {
 14846  		return io.ErrUnexpectedEOF
 14847  	}
 14848  	return nil
 14849  }
 14850  func (m *RequestVerifyVoteExtension) Unmarshal(dAtA []byte) error {
 14851  	l := len(dAtA)
 14852  	iNdEx := 0
 14853  	for iNdEx < l {
 14854  		preIndex := iNdEx
 14855  		var wire uint64
 14856  		for shift := uint(0); ; shift += 7 {
 14857  			if shift >= 64 {
 14858  				return ErrIntOverflowTypes
 14859  			}
 14860  			if iNdEx >= l {
 14861  				return io.ErrUnexpectedEOF
 14862  			}
 14863  			b := dAtA[iNdEx]
 14864  			iNdEx++
 14865  			wire |= uint64(b&0x7F) << shift
 14866  			if b < 0x80 {
 14867  				break
 14868  			}
 14869  		}
 14870  		fieldNum := int32(wire >> 3)
 14871  		wireType := int(wire & 0x7)
 14872  		if wireType == 4 {
 14873  			return fmt.Errorf("proto: RequestVerifyVoteExtension: wiretype end group for non-group")
 14874  		}
 14875  		if fieldNum <= 0 {
 14876  			return fmt.Errorf("proto: RequestVerifyVoteExtension: illegal tag %d (wire type %d)", fieldNum, wire)
 14877  		}
 14878  		switch fieldNum {
 14879  		case 1:
 14880  			if wireType != 2 {
 14881  				return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType)
 14882  			}
 14883  			var byteLen int
 14884  			for shift := uint(0); ; shift += 7 {
 14885  				if shift >= 64 {
 14886  					return ErrIntOverflowTypes
 14887  				}
 14888  				if iNdEx >= l {
 14889  					return io.ErrUnexpectedEOF
 14890  				}
 14891  				b := dAtA[iNdEx]
 14892  				iNdEx++
 14893  				byteLen |= int(b&0x7F) << shift
 14894  				if b < 0x80 {
 14895  					break
 14896  				}
 14897  			}
 14898  			if byteLen < 0 {
 14899  				return ErrInvalidLengthTypes
 14900  			}
 14901  			postIndex := iNdEx + byteLen
 14902  			if postIndex < 0 {
 14903  				return ErrInvalidLengthTypes
 14904  			}
 14905  			if postIndex > l {
 14906  				return io.ErrUnexpectedEOF
 14907  			}
 14908  			m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...)
 14909  			if m.Hash == nil {
 14910  				m.Hash = []byte{}
 14911  			}
 14912  			iNdEx = postIndex
 14913  		case 2:
 14914  			if wireType != 2 {
 14915  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorAddress", wireType)
 14916  			}
 14917  			var byteLen int
 14918  			for shift := uint(0); ; shift += 7 {
 14919  				if shift >= 64 {
 14920  					return ErrIntOverflowTypes
 14921  				}
 14922  				if iNdEx >= l {
 14923  					return io.ErrUnexpectedEOF
 14924  				}
 14925  				b := dAtA[iNdEx]
 14926  				iNdEx++
 14927  				byteLen |= int(b&0x7F) << shift
 14928  				if b < 0x80 {
 14929  					break
 14930  				}
 14931  			}
 14932  			if byteLen < 0 {
 14933  				return ErrInvalidLengthTypes
 14934  			}
 14935  			postIndex := iNdEx + byteLen
 14936  			if postIndex < 0 {
 14937  				return ErrInvalidLengthTypes
 14938  			}
 14939  			if postIndex > l {
 14940  				return io.ErrUnexpectedEOF
 14941  			}
 14942  			m.ValidatorAddress = append(m.ValidatorAddress[:0], dAtA[iNdEx:postIndex]...)
 14943  			if m.ValidatorAddress == nil {
 14944  				m.ValidatorAddress = []byte{}
 14945  			}
 14946  			iNdEx = postIndex
 14947  		case 3:
 14948  			if wireType != 0 {
 14949  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 14950  			}
 14951  			m.Height = 0
 14952  			for shift := uint(0); ; shift += 7 {
 14953  				if shift >= 64 {
 14954  					return ErrIntOverflowTypes
 14955  				}
 14956  				if iNdEx >= l {
 14957  					return io.ErrUnexpectedEOF
 14958  				}
 14959  				b := dAtA[iNdEx]
 14960  				iNdEx++
 14961  				m.Height |= int64(b&0x7F) << shift
 14962  				if b < 0x80 {
 14963  					break
 14964  				}
 14965  			}
 14966  		case 4:
 14967  			if wireType != 2 {
 14968  				return fmt.Errorf("proto: wrong wireType = %d for field VoteExtension", wireType)
 14969  			}
 14970  			var byteLen int
 14971  			for shift := uint(0); ; shift += 7 {
 14972  				if shift >= 64 {
 14973  					return ErrIntOverflowTypes
 14974  				}
 14975  				if iNdEx >= l {
 14976  					return io.ErrUnexpectedEOF
 14977  				}
 14978  				b := dAtA[iNdEx]
 14979  				iNdEx++
 14980  				byteLen |= int(b&0x7F) << shift
 14981  				if b < 0x80 {
 14982  					break
 14983  				}
 14984  			}
 14985  			if byteLen < 0 {
 14986  				return ErrInvalidLengthTypes
 14987  			}
 14988  			postIndex := iNdEx + byteLen
 14989  			if postIndex < 0 {
 14990  				return ErrInvalidLengthTypes
 14991  			}
 14992  			if postIndex > l {
 14993  				return io.ErrUnexpectedEOF
 14994  			}
 14995  			m.VoteExtension = append(m.VoteExtension[:0], dAtA[iNdEx:postIndex]...)
 14996  			if m.VoteExtension == nil {
 14997  				m.VoteExtension = []byte{}
 14998  			}
 14999  			iNdEx = postIndex
 15000  		default:
 15001  			iNdEx = preIndex
 15002  			skippy, err := skipTypes(dAtA[iNdEx:])
 15003  			if err != nil {
 15004  				return err
 15005  			}
 15006  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15007  				return ErrInvalidLengthTypes
 15008  			}
 15009  			if (iNdEx + skippy) > l {
 15010  				return io.ErrUnexpectedEOF
 15011  			}
 15012  			iNdEx += skippy
 15013  		}
 15014  	}
 15015  
 15016  	if iNdEx > l {
 15017  		return io.ErrUnexpectedEOF
 15018  	}
 15019  	return nil
 15020  }
 15021  func (m *RequestFinalizeBlock) Unmarshal(dAtA []byte) error {
 15022  	l := len(dAtA)
 15023  	iNdEx := 0
 15024  	for iNdEx < l {
 15025  		preIndex := iNdEx
 15026  		var wire uint64
 15027  		for shift := uint(0); ; shift += 7 {
 15028  			if shift >= 64 {
 15029  				return ErrIntOverflowTypes
 15030  			}
 15031  			if iNdEx >= l {
 15032  				return io.ErrUnexpectedEOF
 15033  			}
 15034  			b := dAtA[iNdEx]
 15035  			iNdEx++
 15036  			wire |= uint64(b&0x7F) << shift
 15037  			if b < 0x80 {
 15038  				break
 15039  			}
 15040  		}
 15041  		fieldNum := int32(wire >> 3)
 15042  		wireType := int(wire & 0x7)
 15043  		if wireType == 4 {
 15044  			return fmt.Errorf("proto: RequestFinalizeBlock: wiretype end group for non-group")
 15045  		}
 15046  		if fieldNum <= 0 {
 15047  			return fmt.Errorf("proto: RequestFinalizeBlock: illegal tag %d (wire type %d)", fieldNum, wire)
 15048  		}
 15049  		switch fieldNum {
 15050  		case 1:
 15051  			if wireType != 2 {
 15052  				return fmt.Errorf("proto: wrong wireType = %d for field Txs", wireType)
 15053  			}
 15054  			var byteLen int
 15055  			for shift := uint(0); ; shift += 7 {
 15056  				if shift >= 64 {
 15057  					return ErrIntOverflowTypes
 15058  				}
 15059  				if iNdEx >= l {
 15060  					return io.ErrUnexpectedEOF
 15061  				}
 15062  				b := dAtA[iNdEx]
 15063  				iNdEx++
 15064  				byteLen |= int(b&0x7F) << shift
 15065  				if b < 0x80 {
 15066  					break
 15067  				}
 15068  			}
 15069  			if byteLen < 0 {
 15070  				return ErrInvalidLengthTypes
 15071  			}
 15072  			postIndex := iNdEx + byteLen
 15073  			if postIndex < 0 {
 15074  				return ErrInvalidLengthTypes
 15075  			}
 15076  			if postIndex > l {
 15077  				return io.ErrUnexpectedEOF
 15078  			}
 15079  			m.Txs = append(m.Txs, make([]byte, postIndex-iNdEx))
 15080  			copy(m.Txs[len(m.Txs)-1], dAtA[iNdEx:postIndex])
 15081  			iNdEx = postIndex
 15082  		case 2:
 15083  			if wireType != 2 {
 15084  				return fmt.Errorf("proto: wrong wireType = %d for field DecidedLastCommit", wireType)
 15085  			}
 15086  			var msglen int
 15087  			for shift := uint(0); ; shift += 7 {
 15088  				if shift >= 64 {
 15089  					return ErrIntOverflowTypes
 15090  				}
 15091  				if iNdEx >= l {
 15092  					return io.ErrUnexpectedEOF
 15093  				}
 15094  				b := dAtA[iNdEx]
 15095  				iNdEx++
 15096  				msglen |= int(b&0x7F) << shift
 15097  				if b < 0x80 {
 15098  					break
 15099  				}
 15100  			}
 15101  			if msglen < 0 {
 15102  				return ErrInvalidLengthTypes
 15103  			}
 15104  			postIndex := iNdEx + msglen
 15105  			if postIndex < 0 {
 15106  				return ErrInvalidLengthTypes
 15107  			}
 15108  			if postIndex > l {
 15109  				return io.ErrUnexpectedEOF
 15110  			}
 15111  			if err := m.DecidedLastCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15112  				return err
 15113  			}
 15114  			iNdEx = postIndex
 15115  		case 3:
 15116  			if wireType != 2 {
 15117  				return fmt.Errorf("proto: wrong wireType = %d for field ByzantineValidators", wireType)
 15118  			}
 15119  			var msglen int
 15120  			for shift := uint(0); ; shift += 7 {
 15121  				if shift >= 64 {
 15122  					return ErrIntOverflowTypes
 15123  				}
 15124  				if iNdEx >= l {
 15125  					return io.ErrUnexpectedEOF
 15126  				}
 15127  				b := dAtA[iNdEx]
 15128  				iNdEx++
 15129  				msglen |= int(b&0x7F) << shift
 15130  				if b < 0x80 {
 15131  					break
 15132  				}
 15133  			}
 15134  			if msglen < 0 {
 15135  				return ErrInvalidLengthTypes
 15136  			}
 15137  			postIndex := iNdEx + msglen
 15138  			if postIndex < 0 {
 15139  				return ErrInvalidLengthTypes
 15140  			}
 15141  			if postIndex > l {
 15142  				return io.ErrUnexpectedEOF
 15143  			}
 15144  			m.ByzantineValidators = append(m.ByzantineValidators, Misbehavior{})
 15145  			if err := m.ByzantineValidators[len(m.ByzantineValidators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15146  				return err
 15147  			}
 15148  			iNdEx = postIndex
 15149  		case 4:
 15150  			if wireType != 2 {
 15151  				return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType)
 15152  			}
 15153  			var byteLen int
 15154  			for shift := uint(0); ; shift += 7 {
 15155  				if shift >= 64 {
 15156  					return ErrIntOverflowTypes
 15157  				}
 15158  				if iNdEx >= l {
 15159  					return io.ErrUnexpectedEOF
 15160  				}
 15161  				b := dAtA[iNdEx]
 15162  				iNdEx++
 15163  				byteLen |= int(b&0x7F) << shift
 15164  				if b < 0x80 {
 15165  					break
 15166  				}
 15167  			}
 15168  			if byteLen < 0 {
 15169  				return ErrInvalidLengthTypes
 15170  			}
 15171  			postIndex := iNdEx + byteLen
 15172  			if postIndex < 0 {
 15173  				return ErrInvalidLengthTypes
 15174  			}
 15175  			if postIndex > l {
 15176  				return io.ErrUnexpectedEOF
 15177  			}
 15178  			m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...)
 15179  			if m.Hash == nil {
 15180  				m.Hash = []byte{}
 15181  			}
 15182  			iNdEx = postIndex
 15183  		case 5:
 15184  			if wireType != 0 {
 15185  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 15186  			}
 15187  			m.Height = 0
 15188  			for shift := uint(0); ; shift += 7 {
 15189  				if shift >= 64 {
 15190  					return ErrIntOverflowTypes
 15191  				}
 15192  				if iNdEx >= l {
 15193  					return io.ErrUnexpectedEOF
 15194  				}
 15195  				b := dAtA[iNdEx]
 15196  				iNdEx++
 15197  				m.Height |= int64(b&0x7F) << shift
 15198  				if b < 0x80 {
 15199  					break
 15200  				}
 15201  			}
 15202  		case 6:
 15203  			if wireType != 2 {
 15204  				return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
 15205  			}
 15206  			var msglen int
 15207  			for shift := uint(0); ; shift += 7 {
 15208  				if shift >= 64 {
 15209  					return ErrIntOverflowTypes
 15210  				}
 15211  				if iNdEx >= l {
 15212  					return io.ErrUnexpectedEOF
 15213  				}
 15214  				b := dAtA[iNdEx]
 15215  				iNdEx++
 15216  				msglen |= int(b&0x7F) << shift
 15217  				if b < 0x80 {
 15218  					break
 15219  				}
 15220  			}
 15221  			if msglen < 0 {
 15222  				return ErrInvalidLengthTypes
 15223  			}
 15224  			postIndex := iNdEx + msglen
 15225  			if postIndex < 0 {
 15226  				return ErrInvalidLengthTypes
 15227  			}
 15228  			if postIndex > l {
 15229  				return io.ErrUnexpectedEOF
 15230  			}
 15231  			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil {
 15232  				return err
 15233  			}
 15234  			iNdEx = postIndex
 15235  		case 7:
 15236  			if wireType != 2 {
 15237  				return fmt.Errorf("proto: wrong wireType = %d for field NextValidatorsHash", wireType)
 15238  			}
 15239  			var byteLen int
 15240  			for shift := uint(0); ; shift += 7 {
 15241  				if shift >= 64 {
 15242  					return ErrIntOverflowTypes
 15243  				}
 15244  				if iNdEx >= l {
 15245  					return io.ErrUnexpectedEOF
 15246  				}
 15247  				b := dAtA[iNdEx]
 15248  				iNdEx++
 15249  				byteLen |= int(b&0x7F) << shift
 15250  				if b < 0x80 {
 15251  					break
 15252  				}
 15253  			}
 15254  			if byteLen < 0 {
 15255  				return ErrInvalidLengthTypes
 15256  			}
 15257  			postIndex := iNdEx + byteLen
 15258  			if postIndex < 0 {
 15259  				return ErrInvalidLengthTypes
 15260  			}
 15261  			if postIndex > l {
 15262  				return io.ErrUnexpectedEOF
 15263  			}
 15264  			m.NextValidatorsHash = append(m.NextValidatorsHash[:0], dAtA[iNdEx:postIndex]...)
 15265  			if m.NextValidatorsHash == nil {
 15266  				m.NextValidatorsHash = []byte{}
 15267  			}
 15268  			iNdEx = postIndex
 15269  		case 8:
 15270  			if wireType != 2 {
 15271  				return fmt.Errorf("proto: wrong wireType = %d for field ProposerAddress", wireType)
 15272  			}
 15273  			var byteLen int
 15274  			for shift := uint(0); ; shift += 7 {
 15275  				if shift >= 64 {
 15276  					return ErrIntOverflowTypes
 15277  				}
 15278  				if iNdEx >= l {
 15279  					return io.ErrUnexpectedEOF
 15280  				}
 15281  				b := dAtA[iNdEx]
 15282  				iNdEx++
 15283  				byteLen |= int(b&0x7F) << shift
 15284  				if b < 0x80 {
 15285  					break
 15286  				}
 15287  			}
 15288  			if byteLen < 0 {
 15289  				return ErrInvalidLengthTypes
 15290  			}
 15291  			postIndex := iNdEx + byteLen
 15292  			if postIndex < 0 {
 15293  				return ErrInvalidLengthTypes
 15294  			}
 15295  			if postIndex > l {
 15296  				return io.ErrUnexpectedEOF
 15297  			}
 15298  			m.ProposerAddress = append(m.ProposerAddress[:0], dAtA[iNdEx:postIndex]...)
 15299  			if m.ProposerAddress == nil {
 15300  				m.ProposerAddress = []byte{}
 15301  			}
 15302  			iNdEx = postIndex
 15303  		case 10:
 15304  			if wireType != 2 {
 15305  				return fmt.Errorf("proto: wrong wireType = %d for field AppHash", wireType)
 15306  			}
 15307  			var byteLen int
 15308  			for shift := uint(0); ; shift += 7 {
 15309  				if shift >= 64 {
 15310  					return ErrIntOverflowTypes
 15311  				}
 15312  				if iNdEx >= l {
 15313  					return io.ErrUnexpectedEOF
 15314  				}
 15315  				b := dAtA[iNdEx]
 15316  				iNdEx++
 15317  				byteLen |= int(b&0x7F) << shift
 15318  				if b < 0x80 {
 15319  					break
 15320  				}
 15321  			}
 15322  			if byteLen < 0 {
 15323  				return ErrInvalidLengthTypes
 15324  			}
 15325  			postIndex := iNdEx + byteLen
 15326  			if postIndex < 0 {
 15327  				return ErrInvalidLengthTypes
 15328  			}
 15329  			if postIndex > l {
 15330  				return io.ErrUnexpectedEOF
 15331  			}
 15332  			m.AppHash = append(m.AppHash[:0], dAtA[iNdEx:postIndex]...)
 15333  			if m.AppHash == nil {
 15334  				m.AppHash = []byte{}
 15335  			}
 15336  			iNdEx = postIndex
 15337  		case 11:
 15338  			if wireType != 2 {
 15339  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorsHash", wireType)
 15340  			}
 15341  			var byteLen int
 15342  			for shift := uint(0); ; shift += 7 {
 15343  				if shift >= 64 {
 15344  					return ErrIntOverflowTypes
 15345  				}
 15346  				if iNdEx >= l {
 15347  					return io.ErrUnexpectedEOF
 15348  				}
 15349  				b := dAtA[iNdEx]
 15350  				iNdEx++
 15351  				byteLen |= int(b&0x7F) << shift
 15352  				if b < 0x80 {
 15353  					break
 15354  				}
 15355  			}
 15356  			if byteLen < 0 {
 15357  				return ErrInvalidLengthTypes
 15358  			}
 15359  			postIndex := iNdEx + byteLen
 15360  			if postIndex < 0 {
 15361  				return ErrInvalidLengthTypes
 15362  			}
 15363  			if postIndex > l {
 15364  				return io.ErrUnexpectedEOF
 15365  			}
 15366  			m.ValidatorsHash = append(m.ValidatorsHash[:0], dAtA[iNdEx:postIndex]...)
 15367  			if m.ValidatorsHash == nil {
 15368  				m.ValidatorsHash = []byte{}
 15369  			}
 15370  			iNdEx = postIndex
 15371  		case 12:
 15372  			if wireType != 2 {
 15373  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusHash", wireType)
 15374  			}
 15375  			var byteLen int
 15376  			for shift := uint(0); ; shift += 7 {
 15377  				if shift >= 64 {
 15378  					return ErrIntOverflowTypes
 15379  				}
 15380  				if iNdEx >= l {
 15381  					return io.ErrUnexpectedEOF
 15382  				}
 15383  				b := dAtA[iNdEx]
 15384  				iNdEx++
 15385  				byteLen |= int(b&0x7F) << shift
 15386  				if b < 0x80 {
 15387  					break
 15388  				}
 15389  			}
 15390  			if byteLen < 0 {
 15391  				return ErrInvalidLengthTypes
 15392  			}
 15393  			postIndex := iNdEx + byteLen
 15394  			if postIndex < 0 {
 15395  				return ErrInvalidLengthTypes
 15396  			}
 15397  			if postIndex > l {
 15398  				return io.ErrUnexpectedEOF
 15399  			}
 15400  			m.ConsensusHash = append(m.ConsensusHash[:0], dAtA[iNdEx:postIndex]...)
 15401  			if m.ConsensusHash == nil {
 15402  				m.ConsensusHash = []byte{}
 15403  			}
 15404  			iNdEx = postIndex
 15405  		case 13:
 15406  			if wireType != 2 {
 15407  				return fmt.Errorf("proto: wrong wireType = %d for field DataHash", wireType)
 15408  			}
 15409  			var byteLen int
 15410  			for shift := uint(0); ; shift += 7 {
 15411  				if shift >= 64 {
 15412  					return ErrIntOverflowTypes
 15413  				}
 15414  				if iNdEx >= l {
 15415  					return io.ErrUnexpectedEOF
 15416  				}
 15417  				b := dAtA[iNdEx]
 15418  				iNdEx++
 15419  				byteLen |= int(b&0x7F) << shift
 15420  				if b < 0x80 {
 15421  					break
 15422  				}
 15423  			}
 15424  			if byteLen < 0 {
 15425  				return ErrInvalidLengthTypes
 15426  			}
 15427  			postIndex := iNdEx + byteLen
 15428  			if postIndex < 0 {
 15429  				return ErrInvalidLengthTypes
 15430  			}
 15431  			if postIndex > l {
 15432  				return io.ErrUnexpectedEOF
 15433  			}
 15434  			m.DataHash = append(m.DataHash[:0], dAtA[iNdEx:postIndex]...)
 15435  			if m.DataHash == nil {
 15436  				m.DataHash = []byte{}
 15437  			}
 15438  			iNdEx = postIndex
 15439  		case 14:
 15440  			if wireType != 2 {
 15441  				return fmt.Errorf("proto: wrong wireType = %d for field EvidenceHash", wireType)
 15442  			}
 15443  			var byteLen int
 15444  			for shift := uint(0); ; shift += 7 {
 15445  				if shift >= 64 {
 15446  					return ErrIntOverflowTypes
 15447  				}
 15448  				if iNdEx >= l {
 15449  					return io.ErrUnexpectedEOF
 15450  				}
 15451  				b := dAtA[iNdEx]
 15452  				iNdEx++
 15453  				byteLen |= int(b&0x7F) << shift
 15454  				if b < 0x80 {
 15455  					break
 15456  				}
 15457  			}
 15458  			if byteLen < 0 {
 15459  				return ErrInvalidLengthTypes
 15460  			}
 15461  			postIndex := iNdEx + byteLen
 15462  			if postIndex < 0 {
 15463  				return ErrInvalidLengthTypes
 15464  			}
 15465  			if postIndex > l {
 15466  				return io.ErrUnexpectedEOF
 15467  			}
 15468  			m.EvidenceHash = append(m.EvidenceHash[:0], dAtA[iNdEx:postIndex]...)
 15469  			if m.EvidenceHash == nil {
 15470  				m.EvidenceHash = []byte{}
 15471  			}
 15472  			iNdEx = postIndex
 15473  		case 15:
 15474  			if wireType != 2 {
 15475  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockHash", wireType)
 15476  			}
 15477  			var byteLen int
 15478  			for shift := uint(0); ; shift += 7 {
 15479  				if shift >= 64 {
 15480  					return ErrIntOverflowTypes
 15481  				}
 15482  				if iNdEx >= l {
 15483  					return io.ErrUnexpectedEOF
 15484  				}
 15485  				b := dAtA[iNdEx]
 15486  				iNdEx++
 15487  				byteLen |= int(b&0x7F) << shift
 15488  				if b < 0x80 {
 15489  					break
 15490  				}
 15491  			}
 15492  			if byteLen < 0 {
 15493  				return ErrInvalidLengthTypes
 15494  			}
 15495  			postIndex := iNdEx + byteLen
 15496  			if postIndex < 0 {
 15497  				return ErrInvalidLengthTypes
 15498  			}
 15499  			if postIndex > l {
 15500  				return io.ErrUnexpectedEOF
 15501  			}
 15502  			m.LastBlockHash = append(m.LastBlockHash[:0], dAtA[iNdEx:postIndex]...)
 15503  			if m.LastBlockHash == nil {
 15504  				m.LastBlockHash = []byte{}
 15505  			}
 15506  			iNdEx = postIndex
 15507  		case 16:
 15508  			if wireType != 0 {
 15509  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockPartSetTotal", wireType)
 15510  			}
 15511  			m.LastBlockPartSetTotal = 0
 15512  			for shift := uint(0); ; shift += 7 {
 15513  				if shift >= 64 {
 15514  					return ErrIntOverflowTypes
 15515  				}
 15516  				if iNdEx >= l {
 15517  					return io.ErrUnexpectedEOF
 15518  				}
 15519  				b := dAtA[iNdEx]
 15520  				iNdEx++
 15521  				m.LastBlockPartSetTotal |= int64(b&0x7F) << shift
 15522  				if b < 0x80 {
 15523  					break
 15524  				}
 15525  			}
 15526  		case 17:
 15527  			if wireType != 2 {
 15528  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockPartSetHash", wireType)
 15529  			}
 15530  			var byteLen int
 15531  			for shift := uint(0); ; shift += 7 {
 15532  				if shift >= 64 {
 15533  					return ErrIntOverflowTypes
 15534  				}
 15535  				if iNdEx >= l {
 15536  					return io.ErrUnexpectedEOF
 15537  				}
 15538  				b := dAtA[iNdEx]
 15539  				iNdEx++
 15540  				byteLen |= int(b&0x7F) << shift
 15541  				if b < 0x80 {
 15542  					break
 15543  				}
 15544  			}
 15545  			if byteLen < 0 {
 15546  				return ErrInvalidLengthTypes
 15547  			}
 15548  			postIndex := iNdEx + byteLen
 15549  			if postIndex < 0 {
 15550  				return ErrInvalidLengthTypes
 15551  			}
 15552  			if postIndex > l {
 15553  				return io.ErrUnexpectedEOF
 15554  			}
 15555  			m.LastBlockPartSetHash = append(m.LastBlockPartSetHash[:0], dAtA[iNdEx:postIndex]...)
 15556  			if m.LastBlockPartSetHash == nil {
 15557  				m.LastBlockPartSetHash = []byte{}
 15558  			}
 15559  			iNdEx = postIndex
 15560  		case 18:
 15561  			if wireType != 2 {
 15562  				return fmt.Errorf("proto: wrong wireType = %d for field LastCommitHash", wireType)
 15563  			}
 15564  			var byteLen int
 15565  			for shift := uint(0); ; shift += 7 {
 15566  				if shift >= 64 {
 15567  					return ErrIntOverflowTypes
 15568  				}
 15569  				if iNdEx >= l {
 15570  					return io.ErrUnexpectedEOF
 15571  				}
 15572  				b := dAtA[iNdEx]
 15573  				iNdEx++
 15574  				byteLen |= int(b&0x7F) << shift
 15575  				if b < 0x80 {
 15576  					break
 15577  				}
 15578  			}
 15579  			if byteLen < 0 {
 15580  				return ErrInvalidLengthTypes
 15581  			}
 15582  			postIndex := iNdEx + byteLen
 15583  			if postIndex < 0 {
 15584  				return ErrInvalidLengthTypes
 15585  			}
 15586  			if postIndex > l {
 15587  				return io.ErrUnexpectedEOF
 15588  			}
 15589  			m.LastCommitHash = append(m.LastCommitHash[:0], dAtA[iNdEx:postIndex]...)
 15590  			if m.LastCommitHash == nil {
 15591  				m.LastCommitHash = []byte{}
 15592  			}
 15593  			iNdEx = postIndex
 15594  		case 19:
 15595  			if wireType != 2 {
 15596  				return fmt.Errorf("proto: wrong wireType = %d for field LastResultsHash", wireType)
 15597  			}
 15598  			var byteLen int
 15599  			for shift := uint(0); ; shift += 7 {
 15600  				if shift >= 64 {
 15601  					return ErrIntOverflowTypes
 15602  				}
 15603  				if iNdEx >= l {
 15604  					return io.ErrUnexpectedEOF
 15605  				}
 15606  				b := dAtA[iNdEx]
 15607  				iNdEx++
 15608  				byteLen |= int(b&0x7F) << shift
 15609  				if b < 0x80 {
 15610  					break
 15611  				}
 15612  			}
 15613  			if byteLen < 0 {
 15614  				return ErrInvalidLengthTypes
 15615  			}
 15616  			postIndex := iNdEx + byteLen
 15617  			if postIndex < 0 {
 15618  				return ErrInvalidLengthTypes
 15619  			}
 15620  			if postIndex > l {
 15621  				return io.ErrUnexpectedEOF
 15622  			}
 15623  			m.LastResultsHash = append(m.LastResultsHash[:0], dAtA[iNdEx:postIndex]...)
 15624  			if m.LastResultsHash == nil {
 15625  				m.LastResultsHash = []byte{}
 15626  			}
 15627  			iNdEx = postIndex
 15628  		default:
 15629  			iNdEx = preIndex
 15630  			skippy, err := skipTypes(dAtA[iNdEx:])
 15631  			if err != nil {
 15632  				return err
 15633  			}
 15634  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15635  				return ErrInvalidLengthTypes
 15636  			}
 15637  			if (iNdEx + skippy) > l {
 15638  				return io.ErrUnexpectedEOF
 15639  			}
 15640  			iNdEx += skippy
 15641  		}
 15642  	}
 15643  
 15644  	if iNdEx > l {
 15645  		return io.ErrUnexpectedEOF
 15646  	}
 15647  	return nil
 15648  }
 15649  func (m *RequestBeginBlock) Unmarshal(dAtA []byte) error {
 15650  	l := len(dAtA)
 15651  	iNdEx := 0
 15652  	for iNdEx < l {
 15653  		preIndex := iNdEx
 15654  		var wire uint64
 15655  		for shift := uint(0); ; shift += 7 {
 15656  			if shift >= 64 {
 15657  				return ErrIntOverflowTypes
 15658  			}
 15659  			if iNdEx >= l {
 15660  				return io.ErrUnexpectedEOF
 15661  			}
 15662  			b := dAtA[iNdEx]
 15663  			iNdEx++
 15664  			wire |= uint64(b&0x7F) << shift
 15665  			if b < 0x80 {
 15666  				break
 15667  			}
 15668  		}
 15669  		fieldNum := int32(wire >> 3)
 15670  		wireType := int(wire & 0x7)
 15671  		if wireType == 4 {
 15672  			return fmt.Errorf("proto: RequestBeginBlock: wiretype end group for non-group")
 15673  		}
 15674  		if fieldNum <= 0 {
 15675  			return fmt.Errorf("proto: RequestBeginBlock: illegal tag %d (wire type %d)", fieldNum, wire)
 15676  		}
 15677  		switch fieldNum {
 15678  		case 1:
 15679  			if wireType != 2 {
 15680  				return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType)
 15681  			}
 15682  			var byteLen int
 15683  			for shift := uint(0); ; shift += 7 {
 15684  				if shift >= 64 {
 15685  					return ErrIntOverflowTypes
 15686  				}
 15687  				if iNdEx >= l {
 15688  					return io.ErrUnexpectedEOF
 15689  				}
 15690  				b := dAtA[iNdEx]
 15691  				iNdEx++
 15692  				byteLen |= int(b&0x7F) << shift
 15693  				if b < 0x80 {
 15694  					break
 15695  				}
 15696  			}
 15697  			if byteLen < 0 {
 15698  				return ErrInvalidLengthTypes
 15699  			}
 15700  			postIndex := iNdEx + byteLen
 15701  			if postIndex < 0 {
 15702  				return ErrInvalidLengthTypes
 15703  			}
 15704  			if postIndex > l {
 15705  				return io.ErrUnexpectedEOF
 15706  			}
 15707  			m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...)
 15708  			if m.Hash == nil {
 15709  				m.Hash = []byte{}
 15710  			}
 15711  			iNdEx = postIndex
 15712  		case 2:
 15713  			if wireType != 2 {
 15714  				return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType)
 15715  			}
 15716  			var msglen int
 15717  			for shift := uint(0); ; shift += 7 {
 15718  				if shift >= 64 {
 15719  					return ErrIntOverflowTypes
 15720  				}
 15721  				if iNdEx >= l {
 15722  					return io.ErrUnexpectedEOF
 15723  				}
 15724  				b := dAtA[iNdEx]
 15725  				iNdEx++
 15726  				msglen |= int(b&0x7F) << shift
 15727  				if b < 0x80 {
 15728  					break
 15729  				}
 15730  			}
 15731  			if msglen < 0 {
 15732  				return ErrInvalidLengthTypes
 15733  			}
 15734  			postIndex := iNdEx + msglen
 15735  			if postIndex < 0 {
 15736  				return ErrInvalidLengthTypes
 15737  			}
 15738  			if postIndex > l {
 15739  				return io.ErrUnexpectedEOF
 15740  			}
 15741  			if err := m.Header.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15742  				return err
 15743  			}
 15744  			iNdEx = postIndex
 15745  		case 3:
 15746  			if wireType != 2 {
 15747  				return fmt.Errorf("proto: wrong wireType = %d for field LastCommitInfo", wireType)
 15748  			}
 15749  			var msglen int
 15750  			for shift := uint(0); ; shift += 7 {
 15751  				if shift >= 64 {
 15752  					return ErrIntOverflowTypes
 15753  				}
 15754  				if iNdEx >= l {
 15755  					return io.ErrUnexpectedEOF
 15756  				}
 15757  				b := dAtA[iNdEx]
 15758  				iNdEx++
 15759  				msglen |= int(b&0x7F) << shift
 15760  				if b < 0x80 {
 15761  					break
 15762  				}
 15763  			}
 15764  			if msglen < 0 {
 15765  				return ErrInvalidLengthTypes
 15766  			}
 15767  			postIndex := iNdEx + msglen
 15768  			if postIndex < 0 {
 15769  				return ErrInvalidLengthTypes
 15770  			}
 15771  			if postIndex > l {
 15772  				return io.ErrUnexpectedEOF
 15773  			}
 15774  			if err := m.LastCommitInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15775  				return err
 15776  			}
 15777  			iNdEx = postIndex
 15778  		case 4:
 15779  			if wireType != 2 {
 15780  				return fmt.Errorf("proto: wrong wireType = %d for field ByzantineValidators", wireType)
 15781  			}
 15782  			var msglen int
 15783  			for shift := uint(0); ; shift += 7 {
 15784  				if shift >= 64 {
 15785  					return ErrIntOverflowTypes
 15786  				}
 15787  				if iNdEx >= l {
 15788  					return io.ErrUnexpectedEOF
 15789  				}
 15790  				b := dAtA[iNdEx]
 15791  				iNdEx++
 15792  				msglen |= int(b&0x7F) << shift
 15793  				if b < 0x80 {
 15794  					break
 15795  				}
 15796  			}
 15797  			if msglen < 0 {
 15798  				return ErrInvalidLengthTypes
 15799  			}
 15800  			postIndex := iNdEx + msglen
 15801  			if postIndex < 0 {
 15802  				return ErrInvalidLengthTypes
 15803  			}
 15804  			if postIndex > l {
 15805  				return io.ErrUnexpectedEOF
 15806  			}
 15807  			m.ByzantineValidators = append(m.ByzantineValidators, Evidence{})
 15808  			if err := m.ByzantineValidators[len(m.ByzantineValidators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 15809  				return err
 15810  			}
 15811  			iNdEx = postIndex
 15812  		default:
 15813  			iNdEx = preIndex
 15814  			skippy, err := skipTypes(dAtA[iNdEx:])
 15815  			if err != nil {
 15816  				return err
 15817  			}
 15818  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15819  				return ErrInvalidLengthTypes
 15820  			}
 15821  			if (iNdEx + skippy) > l {
 15822  				return io.ErrUnexpectedEOF
 15823  			}
 15824  			iNdEx += skippy
 15825  		}
 15826  	}
 15827  
 15828  	if iNdEx > l {
 15829  		return io.ErrUnexpectedEOF
 15830  	}
 15831  	return nil
 15832  }
 15833  func (m *RequestDeliverTx) Unmarshal(dAtA []byte) error {
 15834  	l := len(dAtA)
 15835  	iNdEx := 0
 15836  	for iNdEx < l {
 15837  		preIndex := iNdEx
 15838  		var wire uint64
 15839  		for shift := uint(0); ; shift += 7 {
 15840  			if shift >= 64 {
 15841  				return ErrIntOverflowTypes
 15842  			}
 15843  			if iNdEx >= l {
 15844  				return io.ErrUnexpectedEOF
 15845  			}
 15846  			b := dAtA[iNdEx]
 15847  			iNdEx++
 15848  			wire |= uint64(b&0x7F) << shift
 15849  			if b < 0x80 {
 15850  				break
 15851  			}
 15852  		}
 15853  		fieldNum := int32(wire >> 3)
 15854  		wireType := int(wire & 0x7)
 15855  		if wireType == 4 {
 15856  			return fmt.Errorf("proto: RequestDeliverTx: wiretype end group for non-group")
 15857  		}
 15858  		if fieldNum <= 0 {
 15859  			return fmt.Errorf("proto: RequestDeliverTx: illegal tag %d (wire type %d)", fieldNum, wire)
 15860  		}
 15861  		switch fieldNum {
 15862  		case 1:
 15863  			if wireType != 2 {
 15864  				return fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType)
 15865  			}
 15866  			var byteLen int
 15867  			for shift := uint(0); ; shift += 7 {
 15868  				if shift >= 64 {
 15869  					return ErrIntOverflowTypes
 15870  				}
 15871  				if iNdEx >= l {
 15872  					return io.ErrUnexpectedEOF
 15873  				}
 15874  				b := dAtA[iNdEx]
 15875  				iNdEx++
 15876  				byteLen |= int(b&0x7F) << shift
 15877  				if b < 0x80 {
 15878  					break
 15879  				}
 15880  			}
 15881  			if byteLen < 0 {
 15882  				return ErrInvalidLengthTypes
 15883  			}
 15884  			postIndex := iNdEx + byteLen
 15885  			if postIndex < 0 {
 15886  				return ErrInvalidLengthTypes
 15887  			}
 15888  			if postIndex > l {
 15889  				return io.ErrUnexpectedEOF
 15890  			}
 15891  			m.Tx = append(m.Tx[:0], dAtA[iNdEx:postIndex]...)
 15892  			if m.Tx == nil {
 15893  				m.Tx = []byte{}
 15894  			}
 15895  			iNdEx = postIndex
 15896  		case 2:
 15897  			if wireType != 0 {
 15898  				return fmt.Errorf("proto: wrong wireType = %d for field SigVerified", wireType)
 15899  			}
 15900  			var v int
 15901  			for shift := uint(0); ; shift += 7 {
 15902  				if shift >= 64 {
 15903  					return ErrIntOverflowTypes
 15904  				}
 15905  				if iNdEx >= l {
 15906  					return io.ErrUnexpectedEOF
 15907  				}
 15908  				b := dAtA[iNdEx]
 15909  				iNdEx++
 15910  				v |= int(b&0x7F) << shift
 15911  				if b < 0x80 {
 15912  					break
 15913  				}
 15914  			}
 15915  			m.SigVerified = bool(v != 0)
 15916  		default:
 15917  			iNdEx = preIndex
 15918  			skippy, err := skipTypes(dAtA[iNdEx:])
 15919  			if err != nil {
 15920  				return err
 15921  			}
 15922  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15923  				return ErrInvalidLengthTypes
 15924  			}
 15925  			if (iNdEx + skippy) > l {
 15926  				return io.ErrUnexpectedEOF
 15927  			}
 15928  			iNdEx += skippy
 15929  		}
 15930  	}
 15931  
 15932  	if iNdEx > l {
 15933  		return io.ErrUnexpectedEOF
 15934  	}
 15935  	return nil
 15936  }
 15937  func (m *RequestEndBlock) Unmarshal(dAtA []byte) error {
 15938  	l := len(dAtA)
 15939  	iNdEx := 0
 15940  	for iNdEx < l {
 15941  		preIndex := iNdEx
 15942  		var wire uint64
 15943  		for shift := uint(0); ; shift += 7 {
 15944  			if shift >= 64 {
 15945  				return ErrIntOverflowTypes
 15946  			}
 15947  			if iNdEx >= l {
 15948  				return io.ErrUnexpectedEOF
 15949  			}
 15950  			b := dAtA[iNdEx]
 15951  			iNdEx++
 15952  			wire |= uint64(b&0x7F) << shift
 15953  			if b < 0x80 {
 15954  				break
 15955  			}
 15956  		}
 15957  		fieldNum := int32(wire >> 3)
 15958  		wireType := int(wire & 0x7)
 15959  		if wireType == 4 {
 15960  			return fmt.Errorf("proto: RequestEndBlock: wiretype end group for non-group")
 15961  		}
 15962  		if fieldNum <= 0 {
 15963  			return fmt.Errorf("proto: RequestEndBlock: illegal tag %d (wire type %d)", fieldNum, wire)
 15964  		}
 15965  		switch fieldNum {
 15966  		case 1:
 15967  			if wireType != 0 {
 15968  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 15969  			}
 15970  			m.Height = 0
 15971  			for shift := uint(0); ; shift += 7 {
 15972  				if shift >= 64 {
 15973  					return ErrIntOverflowTypes
 15974  				}
 15975  				if iNdEx >= l {
 15976  					return io.ErrUnexpectedEOF
 15977  				}
 15978  				b := dAtA[iNdEx]
 15979  				iNdEx++
 15980  				m.Height |= int64(b&0x7F) << shift
 15981  				if b < 0x80 {
 15982  					break
 15983  				}
 15984  			}
 15985  		default:
 15986  			iNdEx = preIndex
 15987  			skippy, err := skipTypes(dAtA[iNdEx:])
 15988  			if err != nil {
 15989  				return err
 15990  			}
 15991  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 15992  				return ErrInvalidLengthTypes
 15993  			}
 15994  			if (iNdEx + skippy) > l {
 15995  				return io.ErrUnexpectedEOF
 15996  			}
 15997  			iNdEx += skippy
 15998  		}
 15999  	}
 16000  
 16001  	if iNdEx > l {
 16002  		return io.ErrUnexpectedEOF
 16003  	}
 16004  	return nil
 16005  }
 16006  func (m *RequestLoadLatest) Unmarshal(dAtA []byte) error {
 16007  	l := len(dAtA)
 16008  	iNdEx := 0
 16009  	for iNdEx < l {
 16010  		preIndex := iNdEx
 16011  		var wire uint64
 16012  		for shift := uint(0); ; shift += 7 {
 16013  			if shift >= 64 {
 16014  				return ErrIntOverflowTypes
 16015  			}
 16016  			if iNdEx >= l {
 16017  				return io.ErrUnexpectedEOF
 16018  			}
 16019  			b := dAtA[iNdEx]
 16020  			iNdEx++
 16021  			wire |= uint64(b&0x7F) << shift
 16022  			if b < 0x80 {
 16023  				break
 16024  			}
 16025  		}
 16026  		fieldNum := int32(wire >> 3)
 16027  		wireType := int(wire & 0x7)
 16028  		if wireType == 4 {
 16029  			return fmt.Errorf("proto: RequestLoadLatest: wiretype end group for non-group")
 16030  		}
 16031  		if fieldNum <= 0 {
 16032  			return fmt.Errorf("proto: RequestLoadLatest: illegal tag %d (wire type %d)", fieldNum, wire)
 16033  		}
 16034  		switch fieldNum {
 16035  		default:
 16036  			iNdEx = preIndex
 16037  			skippy, err := skipTypes(dAtA[iNdEx:])
 16038  			if err != nil {
 16039  				return err
 16040  			}
 16041  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 16042  				return ErrInvalidLengthTypes
 16043  			}
 16044  			if (iNdEx + skippy) > l {
 16045  				return io.ErrUnexpectedEOF
 16046  			}
 16047  			iNdEx += skippy
 16048  		}
 16049  	}
 16050  
 16051  	if iNdEx > l {
 16052  		return io.ErrUnexpectedEOF
 16053  	}
 16054  	return nil
 16055  }
 16056  func (m *Response) Unmarshal(dAtA []byte) error {
 16057  	l := len(dAtA)
 16058  	iNdEx := 0
 16059  	for iNdEx < l {
 16060  		preIndex := iNdEx
 16061  		var wire uint64
 16062  		for shift := uint(0); ; shift += 7 {
 16063  			if shift >= 64 {
 16064  				return ErrIntOverflowTypes
 16065  			}
 16066  			if iNdEx >= l {
 16067  				return io.ErrUnexpectedEOF
 16068  			}
 16069  			b := dAtA[iNdEx]
 16070  			iNdEx++
 16071  			wire |= uint64(b&0x7F) << shift
 16072  			if b < 0x80 {
 16073  				break
 16074  			}
 16075  		}
 16076  		fieldNum := int32(wire >> 3)
 16077  		wireType := int(wire & 0x7)
 16078  		if wireType == 4 {
 16079  			return fmt.Errorf("proto: Response: wiretype end group for non-group")
 16080  		}
 16081  		if fieldNum <= 0 {
 16082  			return fmt.Errorf("proto: Response: illegal tag %d (wire type %d)", fieldNum, wire)
 16083  		}
 16084  		switch fieldNum {
 16085  		case 1:
 16086  			if wireType != 2 {
 16087  				return fmt.Errorf("proto: wrong wireType = %d for field Exception", wireType)
 16088  			}
 16089  			var msglen int
 16090  			for shift := uint(0); ; shift += 7 {
 16091  				if shift >= 64 {
 16092  					return ErrIntOverflowTypes
 16093  				}
 16094  				if iNdEx >= l {
 16095  					return io.ErrUnexpectedEOF
 16096  				}
 16097  				b := dAtA[iNdEx]
 16098  				iNdEx++
 16099  				msglen |= int(b&0x7F) << shift
 16100  				if b < 0x80 {
 16101  					break
 16102  				}
 16103  			}
 16104  			if msglen < 0 {
 16105  				return ErrInvalidLengthTypes
 16106  			}
 16107  			postIndex := iNdEx + msglen
 16108  			if postIndex < 0 {
 16109  				return ErrInvalidLengthTypes
 16110  			}
 16111  			if postIndex > l {
 16112  				return io.ErrUnexpectedEOF
 16113  			}
 16114  			v := &ResponseException{}
 16115  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16116  				return err
 16117  			}
 16118  			m.Value = &Response_Exception{v}
 16119  			iNdEx = postIndex
 16120  		case 2:
 16121  			if wireType != 2 {
 16122  				return fmt.Errorf("proto: wrong wireType = %d for field Echo", wireType)
 16123  			}
 16124  			var msglen int
 16125  			for shift := uint(0); ; shift += 7 {
 16126  				if shift >= 64 {
 16127  					return ErrIntOverflowTypes
 16128  				}
 16129  				if iNdEx >= l {
 16130  					return io.ErrUnexpectedEOF
 16131  				}
 16132  				b := dAtA[iNdEx]
 16133  				iNdEx++
 16134  				msglen |= int(b&0x7F) << shift
 16135  				if b < 0x80 {
 16136  					break
 16137  				}
 16138  			}
 16139  			if msglen < 0 {
 16140  				return ErrInvalidLengthTypes
 16141  			}
 16142  			postIndex := iNdEx + msglen
 16143  			if postIndex < 0 {
 16144  				return ErrInvalidLengthTypes
 16145  			}
 16146  			if postIndex > l {
 16147  				return io.ErrUnexpectedEOF
 16148  			}
 16149  			v := &ResponseEcho{}
 16150  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16151  				return err
 16152  			}
 16153  			m.Value = &Response_Echo{v}
 16154  			iNdEx = postIndex
 16155  		case 3:
 16156  			if wireType != 2 {
 16157  				return fmt.Errorf("proto: wrong wireType = %d for field Flush", wireType)
 16158  			}
 16159  			var msglen int
 16160  			for shift := uint(0); ; shift += 7 {
 16161  				if shift >= 64 {
 16162  					return ErrIntOverflowTypes
 16163  				}
 16164  				if iNdEx >= l {
 16165  					return io.ErrUnexpectedEOF
 16166  				}
 16167  				b := dAtA[iNdEx]
 16168  				iNdEx++
 16169  				msglen |= int(b&0x7F) << shift
 16170  				if b < 0x80 {
 16171  					break
 16172  				}
 16173  			}
 16174  			if msglen < 0 {
 16175  				return ErrInvalidLengthTypes
 16176  			}
 16177  			postIndex := iNdEx + msglen
 16178  			if postIndex < 0 {
 16179  				return ErrInvalidLengthTypes
 16180  			}
 16181  			if postIndex > l {
 16182  				return io.ErrUnexpectedEOF
 16183  			}
 16184  			v := &ResponseFlush{}
 16185  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16186  				return err
 16187  			}
 16188  			m.Value = &Response_Flush{v}
 16189  			iNdEx = postIndex
 16190  		case 4:
 16191  			if wireType != 2 {
 16192  				return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
 16193  			}
 16194  			var msglen int
 16195  			for shift := uint(0); ; shift += 7 {
 16196  				if shift >= 64 {
 16197  					return ErrIntOverflowTypes
 16198  				}
 16199  				if iNdEx >= l {
 16200  					return io.ErrUnexpectedEOF
 16201  				}
 16202  				b := dAtA[iNdEx]
 16203  				iNdEx++
 16204  				msglen |= int(b&0x7F) << shift
 16205  				if b < 0x80 {
 16206  					break
 16207  				}
 16208  			}
 16209  			if msglen < 0 {
 16210  				return ErrInvalidLengthTypes
 16211  			}
 16212  			postIndex := iNdEx + msglen
 16213  			if postIndex < 0 {
 16214  				return ErrInvalidLengthTypes
 16215  			}
 16216  			if postIndex > l {
 16217  				return io.ErrUnexpectedEOF
 16218  			}
 16219  			v := &ResponseInfo{}
 16220  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16221  				return err
 16222  			}
 16223  			m.Value = &Response_Info{v}
 16224  			iNdEx = postIndex
 16225  		case 5:
 16226  			if wireType != 2 {
 16227  				return fmt.Errorf("proto: wrong wireType = %d for field InitChain", wireType)
 16228  			}
 16229  			var msglen int
 16230  			for shift := uint(0); ; shift += 7 {
 16231  				if shift >= 64 {
 16232  					return ErrIntOverflowTypes
 16233  				}
 16234  				if iNdEx >= l {
 16235  					return io.ErrUnexpectedEOF
 16236  				}
 16237  				b := dAtA[iNdEx]
 16238  				iNdEx++
 16239  				msglen |= int(b&0x7F) << shift
 16240  				if b < 0x80 {
 16241  					break
 16242  				}
 16243  			}
 16244  			if msglen < 0 {
 16245  				return ErrInvalidLengthTypes
 16246  			}
 16247  			postIndex := iNdEx + msglen
 16248  			if postIndex < 0 {
 16249  				return ErrInvalidLengthTypes
 16250  			}
 16251  			if postIndex > l {
 16252  				return io.ErrUnexpectedEOF
 16253  			}
 16254  			v := &ResponseInitChain{}
 16255  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16256  				return err
 16257  			}
 16258  			m.Value = &Response_InitChain{v}
 16259  			iNdEx = postIndex
 16260  		case 6:
 16261  			if wireType != 2 {
 16262  				return fmt.Errorf("proto: wrong wireType = %d for field Query", wireType)
 16263  			}
 16264  			var msglen int
 16265  			for shift := uint(0); ; shift += 7 {
 16266  				if shift >= 64 {
 16267  					return ErrIntOverflowTypes
 16268  				}
 16269  				if iNdEx >= l {
 16270  					return io.ErrUnexpectedEOF
 16271  				}
 16272  				b := dAtA[iNdEx]
 16273  				iNdEx++
 16274  				msglen |= int(b&0x7F) << shift
 16275  				if b < 0x80 {
 16276  					break
 16277  				}
 16278  			}
 16279  			if msglen < 0 {
 16280  				return ErrInvalidLengthTypes
 16281  			}
 16282  			postIndex := iNdEx + msglen
 16283  			if postIndex < 0 {
 16284  				return ErrInvalidLengthTypes
 16285  			}
 16286  			if postIndex > l {
 16287  				return io.ErrUnexpectedEOF
 16288  			}
 16289  			v := &ResponseQuery{}
 16290  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16291  				return err
 16292  			}
 16293  			m.Value = &Response_Query{v}
 16294  			iNdEx = postIndex
 16295  		case 8:
 16296  			if wireType != 2 {
 16297  				return fmt.Errorf("proto: wrong wireType = %d for field CheckTx", wireType)
 16298  			}
 16299  			var msglen int
 16300  			for shift := uint(0); ; shift += 7 {
 16301  				if shift >= 64 {
 16302  					return ErrIntOverflowTypes
 16303  				}
 16304  				if iNdEx >= l {
 16305  					return io.ErrUnexpectedEOF
 16306  				}
 16307  				b := dAtA[iNdEx]
 16308  				iNdEx++
 16309  				msglen |= int(b&0x7F) << shift
 16310  				if b < 0x80 {
 16311  					break
 16312  				}
 16313  			}
 16314  			if msglen < 0 {
 16315  				return ErrInvalidLengthTypes
 16316  			}
 16317  			postIndex := iNdEx + msglen
 16318  			if postIndex < 0 {
 16319  				return ErrInvalidLengthTypes
 16320  			}
 16321  			if postIndex > l {
 16322  				return io.ErrUnexpectedEOF
 16323  			}
 16324  			v := &ResponseCheckTx{}
 16325  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16326  				return err
 16327  			}
 16328  			m.Value = &Response_CheckTx{v}
 16329  			iNdEx = postIndex
 16330  		case 11:
 16331  			if wireType != 2 {
 16332  				return fmt.Errorf("proto: wrong wireType = %d for field Commit", wireType)
 16333  			}
 16334  			var msglen int
 16335  			for shift := uint(0); ; shift += 7 {
 16336  				if shift >= 64 {
 16337  					return ErrIntOverflowTypes
 16338  				}
 16339  				if iNdEx >= l {
 16340  					return io.ErrUnexpectedEOF
 16341  				}
 16342  				b := dAtA[iNdEx]
 16343  				iNdEx++
 16344  				msglen |= int(b&0x7F) << shift
 16345  				if b < 0x80 {
 16346  					break
 16347  				}
 16348  			}
 16349  			if msglen < 0 {
 16350  				return ErrInvalidLengthTypes
 16351  			}
 16352  			postIndex := iNdEx + msglen
 16353  			if postIndex < 0 {
 16354  				return ErrInvalidLengthTypes
 16355  			}
 16356  			if postIndex > l {
 16357  				return io.ErrUnexpectedEOF
 16358  			}
 16359  			v := &ResponseCommit{}
 16360  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16361  				return err
 16362  			}
 16363  			m.Value = &Response_Commit{v}
 16364  			iNdEx = postIndex
 16365  		case 12:
 16366  			if wireType != 2 {
 16367  				return fmt.Errorf("proto: wrong wireType = %d for field ListSnapshots", wireType)
 16368  			}
 16369  			var msglen int
 16370  			for shift := uint(0); ; shift += 7 {
 16371  				if shift >= 64 {
 16372  					return ErrIntOverflowTypes
 16373  				}
 16374  				if iNdEx >= l {
 16375  					return io.ErrUnexpectedEOF
 16376  				}
 16377  				b := dAtA[iNdEx]
 16378  				iNdEx++
 16379  				msglen |= int(b&0x7F) << shift
 16380  				if b < 0x80 {
 16381  					break
 16382  				}
 16383  			}
 16384  			if msglen < 0 {
 16385  				return ErrInvalidLengthTypes
 16386  			}
 16387  			postIndex := iNdEx + msglen
 16388  			if postIndex < 0 {
 16389  				return ErrInvalidLengthTypes
 16390  			}
 16391  			if postIndex > l {
 16392  				return io.ErrUnexpectedEOF
 16393  			}
 16394  			v := &ResponseListSnapshots{}
 16395  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16396  				return err
 16397  			}
 16398  			m.Value = &Response_ListSnapshots{v}
 16399  			iNdEx = postIndex
 16400  		case 13:
 16401  			if wireType != 2 {
 16402  				return fmt.Errorf("proto: wrong wireType = %d for field OfferSnapshot", wireType)
 16403  			}
 16404  			var msglen int
 16405  			for shift := uint(0); ; shift += 7 {
 16406  				if shift >= 64 {
 16407  					return ErrIntOverflowTypes
 16408  				}
 16409  				if iNdEx >= l {
 16410  					return io.ErrUnexpectedEOF
 16411  				}
 16412  				b := dAtA[iNdEx]
 16413  				iNdEx++
 16414  				msglen |= int(b&0x7F) << shift
 16415  				if b < 0x80 {
 16416  					break
 16417  				}
 16418  			}
 16419  			if msglen < 0 {
 16420  				return ErrInvalidLengthTypes
 16421  			}
 16422  			postIndex := iNdEx + msglen
 16423  			if postIndex < 0 {
 16424  				return ErrInvalidLengthTypes
 16425  			}
 16426  			if postIndex > l {
 16427  				return io.ErrUnexpectedEOF
 16428  			}
 16429  			v := &ResponseOfferSnapshot{}
 16430  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16431  				return err
 16432  			}
 16433  			m.Value = &Response_OfferSnapshot{v}
 16434  			iNdEx = postIndex
 16435  		case 14:
 16436  			if wireType != 2 {
 16437  				return fmt.Errorf("proto: wrong wireType = %d for field LoadSnapshotChunk", wireType)
 16438  			}
 16439  			var msglen int
 16440  			for shift := uint(0); ; shift += 7 {
 16441  				if shift >= 64 {
 16442  					return ErrIntOverflowTypes
 16443  				}
 16444  				if iNdEx >= l {
 16445  					return io.ErrUnexpectedEOF
 16446  				}
 16447  				b := dAtA[iNdEx]
 16448  				iNdEx++
 16449  				msglen |= int(b&0x7F) << shift
 16450  				if b < 0x80 {
 16451  					break
 16452  				}
 16453  			}
 16454  			if msglen < 0 {
 16455  				return ErrInvalidLengthTypes
 16456  			}
 16457  			postIndex := iNdEx + msglen
 16458  			if postIndex < 0 {
 16459  				return ErrInvalidLengthTypes
 16460  			}
 16461  			if postIndex > l {
 16462  				return io.ErrUnexpectedEOF
 16463  			}
 16464  			v := &ResponseLoadSnapshotChunk{}
 16465  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16466  				return err
 16467  			}
 16468  			m.Value = &Response_LoadSnapshotChunk{v}
 16469  			iNdEx = postIndex
 16470  		case 15:
 16471  			if wireType != 2 {
 16472  				return fmt.Errorf("proto: wrong wireType = %d for field ApplySnapshotChunk", wireType)
 16473  			}
 16474  			var msglen int
 16475  			for shift := uint(0); ; shift += 7 {
 16476  				if shift >= 64 {
 16477  					return ErrIntOverflowTypes
 16478  				}
 16479  				if iNdEx >= l {
 16480  					return io.ErrUnexpectedEOF
 16481  				}
 16482  				b := dAtA[iNdEx]
 16483  				iNdEx++
 16484  				msglen |= int(b&0x7F) << shift
 16485  				if b < 0x80 {
 16486  					break
 16487  				}
 16488  			}
 16489  			if msglen < 0 {
 16490  				return ErrInvalidLengthTypes
 16491  			}
 16492  			postIndex := iNdEx + msglen
 16493  			if postIndex < 0 {
 16494  				return ErrInvalidLengthTypes
 16495  			}
 16496  			if postIndex > l {
 16497  				return io.ErrUnexpectedEOF
 16498  			}
 16499  			v := &ResponseApplySnapshotChunk{}
 16500  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16501  				return err
 16502  			}
 16503  			m.Value = &Response_ApplySnapshotChunk{v}
 16504  			iNdEx = postIndex
 16505  		case 16:
 16506  			if wireType != 2 {
 16507  				return fmt.Errorf("proto: wrong wireType = %d for field PrepareProposal", wireType)
 16508  			}
 16509  			var msglen int
 16510  			for shift := uint(0); ; shift += 7 {
 16511  				if shift >= 64 {
 16512  					return ErrIntOverflowTypes
 16513  				}
 16514  				if iNdEx >= l {
 16515  					return io.ErrUnexpectedEOF
 16516  				}
 16517  				b := dAtA[iNdEx]
 16518  				iNdEx++
 16519  				msglen |= int(b&0x7F) << shift
 16520  				if b < 0x80 {
 16521  					break
 16522  				}
 16523  			}
 16524  			if msglen < 0 {
 16525  				return ErrInvalidLengthTypes
 16526  			}
 16527  			postIndex := iNdEx + msglen
 16528  			if postIndex < 0 {
 16529  				return ErrInvalidLengthTypes
 16530  			}
 16531  			if postIndex > l {
 16532  				return io.ErrUnexpectedEOF
 16533  			}
 16534  			v := &ResponsePrepareProposal{}
 16535  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16536  				return err
 16537  			}
 16538  			m.Value = &Response_PrepareProposal{v}
 16539  			iNdEx = postIndex
 16540  		case 17:
 16541  			if wireType != 2 {
 16542  				return fmt.Errorf("proto: wrong wireType = %d for field ProcessProposal", wireType)
 16543  			}
 16544  			var msglen int
 16545  			for shift := uint(0); ; shift += 7 {
 16546  				if shift >= 64 {
 16547  					return ErrIntOverflowTypes
 16548  				}
 16549  				if iNdEx >= l {
 16550  					return io.ErrUnexpectedEOF
 16551  				}
 16552  				b := dAtA[iNdEx]
 16553  				iNdEx++
 16554  				msglen |= int(b&0x7F) << shift
 16555  				if b < 0x80 {
 16556  					break
 16557  				}
 16558  			}
 16559  			if msglen < 0 {
 16560  				return ErrInvalidLengthTypes
 16561  			}
 16562  			postIndex := iNdEx + msglen
 16563  			if postIndex < 0 {
 16564  				return ErrInvalidLengthTypes
 16565  			}
 16566  			if postIndex > l {
 16567  				return io.ErrUnexpectedEOF
 16568  			}
 16569  			v := &ResponseProcessProposal{}
 16570  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16571  				return err
 16572  			}
 16573  			m.Value = &Response_ProcessProposal{v}
 16574  			iNdEx = postIndex
 16575  		case 18:
 16576  			if wireType != 2 {
 16577  				return fmt.Errorf("proto: wrong wireType = %d for field ExtendVote", wireType)
 16578  			}
 16579  			var msglen int
 16580  			for shift := uint(0); ; shift += 7 {
 16581  				if shift >= 64 {
 16582  					return ErrIntOverflowTypes
 16583  				}
 16584  				if iNdEx >= l {
 16585  					return io.ErrUnexpectedEOF
 16586  				}
 16587  				b := dAtA[iNdEx]
 16588  				iNdEx++
 16589  				msglen |= int(b&0x7F) << shift
 16590  				if b < 0x80 {
 16591  					break
 16592  				}
 16593  			}
 16594  			if msglen < 0 {
 16595  				return ErrInvalidLengthTypes
 16596  			}
 16597  			postIndex := iNdEx + msglen
 16598  			if postIndex < 0 {
 16599  				return ErrInvalidLengthTypes
 16600  			}
 16601  			if postIndex > l {
 16602  				return io.ErrUnexpectedEOF
 16603  			}
 16604  			v := &ResponseExtendVote{}
 16605  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16606  				return err
 16607  			}
 16608  			m.Value = &Response_ExtendVote{v}
 16609  			iNdEx = postIndex
 16610  		case 19:
 16611  			if wireType != 2 {
 16612  				return fmt.Errorf("proto: wrong wireType = %d for field VerifyVoteExtension", wireType)
 16613  			}
 16614  			var msglen int
 16615  			for shift := uint(0); ; shift += 7 {
 16616  				if shift >= 64 {
 16617  					return ErrIntOverflowTypes
 16618  				}
 16619  				if iNdEx >= l {
 16620  					return io.ErrUnexpectedEOF
 16621  				}
 16622  				b := dAtA[iNdEx]
 16623  				iNdEx++
 16624  				msglen |= int(b&0x7F) << shift
 16625  				if b < 0x80 {
 16626  					break
 16627  				}
 16628  			}
 16629  			if msglen < 0 {
 16630  				return ErrInvalidLengthTypes
 16631  			}
 16632  			postIndex := iNdEx + msglen
 16633  			if postIndex < 0 {
 16634  				return ErrInvalidLengthTypes
 16635  			}
 16636  			if postIndex > l {
 16637  				return io.ErrUnexpectedEOF
 16638  			}
 16639  			v := &ResponseVerifyVoteExtension{}
 16640  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16641  				return err
 16642  			}
 16643  			m.Value = &Response_VerifyVoteExtension{v}
 16644  			iNdEx = postIndex
 16645  		case 20:
 16646  			if wireType != 2 {
 16647  				return fmt.Errorf("proto: wrong wireType = %d for field FinalizeBlock", wireType)
 16648  			}
 16649  			var msglen int
 16650  			for shift := uint(0); ; shift += 7 {
 16651  				if shift >= 64 {
 16652  					return ErrIntOverflowTypes
 16653  				}
 16654  				if iNdEx >= l {
 16655  					return io.ErrUnexpectedEOF
 16656  				}
 16657  				b := dAtA[iNdEx]
 16658  				iNdEx++
 16659  				msglen |= int(b&0x7F) << shift
 16660  				if b < 0x80 {
 16661  					break
 16662  				}
 16663  			}
 16664  			if msglen < 0 {
 16665  				return ErrInvalidLengthTypes
 16666  			}
 16667  			postIndex := iNdEx + msglen
 16668  			if postIndex < 0 {
 16669  				return ErrInvalidLengthTypes
 16670  			}
 16671  			if postIndex > l {
 16672  				return io.ErrUnexpectedEOF
 16673  			}
 16674  			v := &ResponseFinalizeBlock{}
 16675  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16676  				return err
 16677  			}
 16678  			m.Value = &Response_FinalizeBlock{v}
 16679  			iNdEx = postIndex
 16680  		case 21:
 16681  			if wireType != 2 {
 16682  				return fmt.Errorf("proto: wrong wireType = %d for field BeginBlock", wireType)
 16683  			}
 16684  			var msglen int
 16685  			for shift := uint(0); ; shift += 7 {
 16686  				if shift >= 64 {
 16687  					return ErrIntOverflowTypes
 16688  				}
 16689  				if iNdEx >= l {
 16690  					return io.ErrUnexpectedEOF
 16691  				}
 16692  				b := dAtA[iNdEx]
 16693  				iNdEx++
 16694  				msglen |= int(b&0x7F) << shift
 16695  				if b < 0x80 {
 16696  					break
 16697  				}
 16698  			}
 16699  			if msglen < 0 {
 16700  				return ErrInvalidLengthTypes
 16701  			}
 16702  			postIndex := iNdEx + msglen
 16703  			if postIndex < 0 {
 16704  				return ErrInvalidLengthTypes
 16705  			}
 16706  			if postIndex > l {
 16707  				return io.ErrUnexpectedEOF
 16708  			}
 16709  			v := &ResponseBeginBlock{}
 16710  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16711  				return err
 16712  			}
 16713  			m.Value = &Response_BeginBlock{v}
 16714  			iNdEx = postIndex
 16715  		case 22:
 16716  			if wireType != 2 {
 16717  				return fmt.Errorf("proto: wrong wireType = %d for field DeliverTx", wireType)
 16718  			}
 16719  			var msglen int
 16720  			for shift := uint(0); ; shift += 7 {
 16721  				if shift >= 64 {
 16722  					return ErrIntOverflowTypes
 16723  				}
 16724  				if iNdEx >= l {
 16725  					return io.ErrUnexpectedEOF
 16726  				}
 16727  				b := dAtA[iNdEx]
 16728  				iNdEx++
 16729  				msglen |= int(b&0x7F) << shift
 16730  				if b < 0x80 {
 16731  					break
 16732  				}
 16733  			}
 16734  			if msglen < 0 {
 16735  				return ErrInvalidLengthTypes
 16736  			}
 16737  			postIndex := iNdEx + msglen
 16738  			if postIndex < 0 {
 16739  				return ErrInvalidLengthTypes
 16740  			}
 16741  			if postIndex > l {
 16742  				return io.ErrUnexpectedEOF
 16743  			}
 16744  			v := &ResponseDeliverTx{}
 16745  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16746  				return err
 16747  			}
 16748  			m.Value = &Response_DeliverTx{v}
 16749  			iNdEx = postIndex
 16750  		case 23:
 16751  			if wireType != 2 {
 16752  				return fmt.Errorf("proto: wrong wireType = %d for field EndBlock", wireType)
 16753  			}
 16754  			var msglen int
 16755  			for shift := uint(0); ; shift += 7 {
 16756  				if shift >= 64 {
 16757  					return ErrIntOverflowTypes
 16758  				}
 16759  				if iNdEx >= l {
 16760  					return io.ErrUnexpectedEOF
 16761  				}
 16762  				b := dAtA[iNdEx]
 16763  				iNdEx++
 16764  				msglen |= int(b&0x7F) << shift
 16765  				if b < 0x80 {
 16766  					break
 16767  				}
 16768  			}
 16769  			if msglen < 0 {
 16770  				return ErrInvalidLengthTypes
 16771  			}
 16772  			postIndex := iNdEx + msglen
 16773  			if postIndex < 0 {
 16774  				return ErrInvalidLengthTypes
 16775  			}
 16776  			if postIndex > l {
 16777  				return io.ErrUnexpectedEOF
 16778  			}
 16779  			v := &ResponseEndBlock{}
 16780  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16781  				return err
 16782  			}
 16783  			m.Value = &Response_EndBlock{v}
 16784  			iNdEx = postIndex
 16785  		case 24:
 16786  			if wireType != 2 {
 16787  				return fmt.Errorf("proto: wrong wireType = %d for field LoadLatest", wireType)
 16788  			}
 16789  			var msglen int
 16790  			for shift := uint(0); ; shift += 7 {
 16791  				if shift >= 64 {
 16792  					return ErrIntOverflowTypes
 16793  				}
 16794  				if iNdEx >= l {
 16795  					return io.ErrUnexpectedEOF
 16796  				}
 16797  				b := dAtA[iNdEx]
 16798  				iNdEx++
 16799  				msglen |= int(b&0x7F) << shift
 16800  				if b < 0x80 {
 16801  					break
 16802  				}
 16803  			}
 16804  			if msglen < 0 {
 16805  				return ErrInvalidLengthTypes
 16806  			}
 16807  			postIndex := iNdEx + msglen
 16808  			if postIndex < 0 {
 16809  				return ErrInvalidLengthTypes
 16810  			}
 16811  			if postIndex > l {
 16812  				return io.ErrUnexpectedEOF
 16813  			}
 16814  			v := &ResponseLoadLatest{}
 16815  			if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 16816  				return err
 16817  			}
 16818  			m.Value = &Response_LoadLatest{v}
 16819  			iNdEx = postIndex
 16820  		default:
 16821  			iNdEx = preIndex
 16822  			skippy, err := skipTypes(dAtA[iNdEx:])
 16823  			if err != nil {
 16824  				return err
 16825  			}
 16826  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 16827  				return ErrInvalidLengthTypes
 16828  			}
 16829  			if (iNdEx + skippy) > l {
 16830  				return io.ErrUnexpectedEOF
 16831  			}
 16832  			iNdEx += skippy
 16833  		}
 16834  	}
 16835  
 16836  	if iNdEx > l {
 16837  		return io.ErrUnexpectedEOF
 16838  	}
 16839  	return nil
 16840  }
 16841  func (m *ResponseException) Unmarshal(dAtA []byte) error {
 16842  	l := len(dAtA)
 16843  	iNdEx := 0
 16844  	for iNdEx < l {
 16845  		preIndex := iNdEx
 16846  		var wire uint64
 16847  		for shift := uint(0); ; shift += 7 {
 16848  			if shift >= 64 {
 16849  				return ErrIntOverflowTypes
 16850  			}
 16851  			if iNdEx >= l {
 16852  				return io.ErrUnexpectedEOF
 16853  			}
 16854  			b := dAtA[iNdEx]
 16855  			iNdEx++
 16856  			wire |= uint64(b&0x7F) << shift
 16857  			if b < 0x80 {
 16858  				break
 16859  			}
 16860  		}
 16861  		fieldNum := int32(wire >> 3)
 16862  		wireType := int(wire & 0x7)
 16863  		if wireType == 4 {
 16864  			return fmt.Errorf("proto: ResponseException: wiretype end group for non-group")
 16865  		}
 16866  		if fieldNum <= 0 {
 16867  			return fmt.Errorf("proto: ResponseException: illegal tag %d (wire type %d)", fieldNum, wire)
 16868  		}
 16869  		switch fieldNum {
 16870  		case 1:
 16871  			if wireType != 2 {
 16872  				return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType)
 16873  			}
 16874  			var stringLen uint64
 16875  			for shift := uint(0); ; shift += 7 {
 16876  				if shift >= 64 {
 16877  					return ErrIntOverflowTypes
 16878  				}
 16879  				if iNdEx >= l {
 16880  					return io.ErrUnexpectedEOF
 16881  				}
 16882  				b := dAtA[iNdEx]
 16883  				iNdEx++
 16884  				stringLen |= uint64(b&0x7F) << shift
 16885  				if b < 0x80 {
 16886  					break
 16887  				}
 16888  			}
 16889  			intStringLen := int(stringLen)
 16890  			if intStringLen < 0 {
 16891  				return ErrInvalidLengthTypes
 16892  			}
 16893  			postIndex := iNdEx + intStringLen
 16894  			if postIndex < 0 {
 16895  				return ErrInvalidLengthTypes
 16896  			}
 16897  			if postIndex > l {
 16898  				return io.ErrUnexpectedEOF
 16899  			}
 16900  			m.Error = string(dAtA[iNdEx:postIndex])
 16901  			iNdEx = postIndex
 16902  		default:
 16903  			iNdEx = preIndex
 16904  			skippy, err := skipTypes(dAtA[iNdEx:])
 16905  			if err != nil {
 16906  				return err
 16907  			}
 16908  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 16909  				return ErrInvalidLengthTypes
 16910  			}
 16911  			if (iNdEx + skippy) > l {
 16912  				return io.ErrUnexpectedEOF
 16913  			}
 16914  			iNdEx += skippy
 16915  		}
 16916  	}
 16917  
 16918  	if iNdEx > l {
 16919  		return io.ErrUnexpectedEOF
 16920  	}
 16921  	return nil
 16922  }
 16923  func (m *ResponseEcho) Unmarshal(dAtA []byte) error {
 16924  	l := len(dAtA)
 16925  	iNdEx := 0
 16926  	for iNdEx < l {
 16927  		preIndex := iNdEx
 16928  		var wire uint64
 16929  		for shift := uint(0); ; shift += 7 {
 16930  			if shift >= 64 {
 16931  				return ErrIntOverflowTypes
 16932  			}
 16933  			if iNdEx >= l {
 16934  				return io.ErrUnexpectedEOF
 16935  			}
 16936  			b := dAtA[iNdEx]
 16937  			iNdEx++
 16938  			wire |= uint64(b&0x7F) << shift
 16939  			if b < 0x80 {
 16940  				break
 16941  			}
 16942  		}
 16943  		fieldNum := int32(wire >> 3)
 16944  		wireType := int(wire & 0x7)
 16945  		if wireType == 4 {
 16946  			return fmt.Errorf("proto: ResponseEcho: wiretype end group for non-group")
 16947  		}
 16948  		if fieldNum <= 0 {
 16949  			return fmt.Errorf("proto: ResponseEcho: illegal tag %d (wire type %d)", fieldNum, wire)
 16950  		}
 16951  		switch fieldNum {
 16952  		case 1:
 16953  			if wireType != 2 {
 16954  				return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
 16955  			}
 16956  			var stringLen uint64
 16957  			for shift := uint(0); ; shift += 7 {
 16958  				if shift >= 64 {
 16959  					return ErrIntOverflowTypes
 16960  				}
 16961  				if iNdEx >= l {
 16962  					return io.ErrUnexpectedEOF
 16963  				}
 16964  				b := dAtA[iNdEx]
 16965  				iNdEx++
 16966  				stringLen |= uint64(b&0x7F) << shift
 16967  				if b < 0x80 {
 16968  					break
 16969  				}
 16970  			}
 16971  			intStringLen := int(stringLen)
 16972  			if intStringLen < 0 {
 16973  				return ErrInvalidLengthTypes
 16974  			}
 16975  			postIndex := iNdEx + intStringLen
 16976  			if postIndex < 0 {
 16977  				return ErrInvalidLengthTypes
 16978  			}
 16979  			if postIndex > l {
 16980  				return io.ErrUnexpectedEOF
 16981  			}
 16982  			m.Message = string(dAtA[iNdEx:postIndex])
 16983  			iNdEx = postIndex
 16984  		default:
 16985  			iNdEx = preIndex
 16986  			skippy, err := skipTypes(dAtA[iNdEx:])
 16987  			if err != nil {
 16988  				return err
 16989  			}
 16990  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 16991  				return ErrInvalidLengthTypes
 16992  			}
 16993  			if (iNdEx + skippy) > l {
 16994  				return io.ErrUnexpectedEOF
 16995  			}
 16996  			iNdEx += skippy
 16997  		}
 16998  	}
 16999  
 17000  	if iNdEx > l {
 17001  		return io.ErrUnexpectedEOF
 17002  	}
 17003  	return nil
 17004  }
 17005  func (m *ResponseFlush) Unmarshal(dAtA []byte) error {
 17006  	l := len(dAtA)
 17007  	iNdEx := 0
 17008  	for iNdEx < l {
 17009  		preIndex := iNdEx
 17010  		var wire uint64
 17011  		for shift := uint(0); ; shift += 7 {
 17012  			if shift >= 64 {
 17013  				return ErrIntOverflowTypes
 17014  			}
 17015  			if iNdEx >= l {
 17016  				return io.ErrUnexpectedEOF
 17017  			}
 17018  			b := dAtA[iNdEx]
 17019  			iNdEx++
 17020  			wire |= uint64(b&0x7F) << shift
 17021  			if b < 0x80 {
 17022  				break
 17023  			}
 17024  		}
 17025  		fieldNum := int32(wire >> 3)
 17026  		wireType := int(wire & 0x7)
 17027  		if wireType == 4 {
 17028  			return fmt.Errorf("proto: ResponseFlush: wiretype end group for non-group")
 17029  		}
 17030  		if fieldNum <= 0 {
 17031  			return fmt.Errorf("proto: ResponseFlush: illegal tag %d (wire type %d)", fieldNum, wire)
 17032  		}
 17033  		switch fieldNum {
 17034  		default:
 17035  			iNdEx = preIndex
 17036  			skippy, err := skipTypes(dAtA[iNdEx:])
 17037  			if err != nil {
 17038  				return err
 17039  			}
 17040  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17041  				return ErrInvalidLengthTypes
 17042  			}
 17043  			if (iNdEx + skippy) > l {
 17044  				return io.ErrUnexpectedEOF
 17045  			}
 17046  			iNdEx += skippy
 17047  		}
 17048  	}
 17049  
 17050  	if iNdEx > l {
 17051  		return io.ErrUnexpectedEOF
 17052  	}
 17053  	return nil
 17054  }
 17055  func (m *ResponseInfo) Unmarshal(dAtA []byte) error {
 17056  	l := len(dAtA)
 17057  	iNdEx := 0
 17058  	for iNdEx < l {
 17059  		preIndex := iNdEx
 17060  		var wire uint64
 17061  		for shift := uint(0); ; shift += 7 {
 17062  			if shift >= 64 {
 17063  				return ErrIntOverflowTypes
 17064  			}
 17065  			if iNdEx >= l {
 17066  				return io.ErrUnexpectedEOF
 17067  			}
 17068  			b := dAtA[iNdEx]
 17069  			iNdEx++
 17070  			wire |= uint64(b&0x7F) << shift
 17071  			if b < 0x80 {
 17072  				break
 17073  			}
 17074  		}
 17075  		fieldNum := int32(wire >> 3)
 17076  		wireType := int(wire & 0x7)
 17077  		if wireType == 4 {
 17078  			return fmt.Errorf("proto: ResponseInfo: wiretype end group for non-group")
 17079  		}
 17080  		if fieldNum <= 0 {
 17081  			return fmt.Errorf("proto: ResponseInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 17082  		}
 17083  		switch fieldNum {
 17084  		case 1:
 17085  			if wireType != 2 {
 17086  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 17087  			}
 17088  			var stringLen uint64
 17089  			for shift := uint(0); ; shift += 7 {
 17090  				if shift >= 64 {
 17091  					return ErrIntOverflowTypes
 17092  				}
 17093  				if iNdEx >= l {
 17094  					return io.ErrUnexpectedEOF
 17095  				}
 17096  				b := dAtA[iNdEx]
 17097  				iNdEx++
 17098  				stringLen |= uint64(b&0x7F) << shift
 17099  				if b < 0x80 {
 17100  					break
 17101  				}
 17102  			}
 17103  			intStringLen := int(stringLen)
 17104  			if intStringLen < 0 {
 17105  				return ErrInvalidLengthTypes
 17106  			}
 17107  			postIndex := iNdEx + intStringLen
 17108  			if postIndex < 0 {
 17109  				return ErrInvalidLengthTypes
 17110  			}
 17111  			if postIndex > l {
 17112  				return io.ErrUnexpectedEOF
 17113  			}
 17114  			m.Data = string(dAtA[iNdEx:postIndex])
 17115  			iNdEx = postIndex
 17116  		case 2:
 17117  			if wireType != 2 {
 17118  				return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
 17119  			}
 17120  			var stringLen uint64
 17121  			for shift := uint(0); ; shift += 7 {
 17122  				if shift >= 64 {
 17123  					return ErrIntOverflowTypes
 17124  				}
 17125  				if iNdEx >= l {
 17126  					return io.ErrUnexpectedEOF
 17127  				}
 17128  				b := dAtA[iNdEx]
 17129  				iNdEx++
 17130  				stringLen |= uint64(b&0x7F) << shift
 17131  				if b < 0x80 {
 17132  					break
 17133  				}
 17134  			}
 17135  			intStringLen := int(stringLen)
 17136  			if intStringLen < 0 {
 17137  				return ErrInvalidLengthTypes
 17138  			}
 17139  			postIndex := iNdEx + intStringLen
 17140  			if postIndex < 0 {
 17141  				return ErrInvalidLengthTypes
 17142  			}
 17143  			if postIndex > l {
 17144  				return io.ErrUnexpectedEOF
 17145  			}
 17146  			m.Version = string(dAtA[iNdEx:postIndex])
 17147  			iNdEx = postIndex
 17148  		case 3:
 17149  			if wireType != 0 {
 17150  				return fmt.Errorf("proto: wrong wireType = %d for field AppVersion", wireType)
 17151  			}
 17152  			m.AppVersion = 0
 17153  			for shift := uint(0); ; shift += 7 {
 17154  				if shift >= 64 {
 17155  					return ErrIntOverflowTypes
 17156  				}
 17157  				if iNdEx >= l {
 17158  					return io.ErrUnexpectedEOF
 17159  				}
 17160  				b := dAtA[iNdEx]
 17161  				iNdEx++
 17162  				m.AppVersion |= uint64(b&0x7F) << shift
 17163  				if b < 0x80 {
 17164  					break
 17165  				}
 17166  			}
 17167  		case 4:
 17168  			if wireType != 0 {
 17169  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockHeight", wireType)
 17170  			}
 17171  			m.LastBlockHeight = 0
 17172  			for shift := uint(0); ; shift += 7 {
 17173  				if shift >= 64 {
 17174  					return ErrIntOverflowTypes
 17175  				}
 17176  				if iNdEx >= l {
 17177  					return io.ErrUnexpectedEOF
 17178  				}
 17179  				b := dAtA[iNdEx]
 17180  				iNdEx++
 17181  				m.LastBlockHeight |= int64(b&0x7F) << shift
 17182  				if b < 0x80 {
 17183  					break
 17184  				}
 17185  			}
 17186  		case 5:
 17187  			if wireType != 2 {
 17188  				return fmt.Errorf("proto: wrong wireType = %d for field LastBlockAppHash", wireType)
 17189  			}
 17190  			var byteLen int
 17191  			for shift := uint(0); ; shift += 7 {
 17192  				if shift >= 64 {
 17193  					return ErrIntOverflowTypes
 17194  				}
 17195  				if iNdEx >= l {
 17196  					return io.ErrUnexpectedEOF
 17197  				}
 17198  				b := dAtA[iNdEx]
 17199  				iNdEx++
 17200  				byteLen |= int(b&0x7F) << shift
 17201  				if b < 0x80 {
 17202  					break
 17203  				}
 17204  			}
 17205  			if byteLen < 0 {
 17206  				return ErrInvalidLengthTypes
 17207  			}
 17208  			postIndex := iNdEx + byteLen
 17209  			if postIndex < 0 {
 17210  				return ErrInvalidLengthTypes
 17211  			}
 17212  			if postIndex > l {
 17213  				return io.ErrUnexpectedEOF
 17214  			}
 17215  			m.LastBlockAppHash = append(m.LastBlockAppHash[:0], dAtA[iNdEx:postIndex]...)
 17216  			if m.LastBlockAppHash == nil {
 17217  				m.LastBlockAppHash = []byte{}
 17218  			}
 17219  			iNdEx = postIndex
 17220  		default:
 17221  			iNdEx = preIndex
 17222  			skippy, err := skipTypes(dAtA[iNdEx:])
 17223  			if err != nil {
 17224  				return err
 17225  			}
 17226  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17227  				return ErrInvalidLengthTypes
 17228  			}
 17229  			if (iNdEx + skippy) > l {
 17230  				return io.ErrUnexpectedEOF
 17231  			}
 17232  			iNdEx += skippy
 17233  		}
 17234  	}
 17235  
 17236  	if iNdEx > l {
 17237  		return io.ErrUnexpectedEOF
 17238  	}
 17239  	return nil
 17240  }
 17241  func (m *ResponseInitChain) Unmarshal(dAtA []byte) error {
 17242  	l := len(dAtA)
 17243  	iNdEx := 0
 17244  	for iNdEx < l {
 17245  		preIndex := iNdEx
 17246  		var wire uint64
 17247  		for shift := uint(0); ; shift += 7 {
 17248  			if shift >= 64 {
 17249  				return ErrIntOverflowTypes
 17250  			}
 17251  			if iNdEx >= l {
 17252  				return io.ErrUnexpectedEOF
 17253  			}
 17254  			b := dAtA[iNdEx]
 17255  			iNdEx++
 17256  			wire |= uint64(b&0x7F) << shift
 17257  			if b < 0x80 {
 17258  				break
 17259  			}
 17260  		}
 17261  		fieldNum := int32(wire >> 3)
 17262  		wireType := int(wire & 0x7)
 17263  		if wireType == 4 {
 17264  			return fmt.Errorf("proto: ResponseInitChain: wiretype end group for non-group")
 17265  		}
 17266  		if fieldNum <= 0 {
 17267  			return fmt.Errorf("proto: ResponseInitChain: illegal tag %d (wire type %d)", fieldNum, wire)
 17268  		}
 17269  		switch fieldNum {
 17270  		case 1:
 17271  			if wireType != 2 {
 17272  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusParams", wireType)
 17273  			}
 17274  			var msglen int
 17275  			for shift := uint(0); ; shift += 7 {
 17276  				if shift >= 64 {
 17277  					return ErrIntOverflowTypes
 17278  				}
 17279  				if iNdEx >= l {
 17280  					return io.ErrUnexpectedEOF
 17281  				}
 17282  				b := dAtA[iNdEx]
 17283  				iNdEx++
 17284  				msglen |= int(b&0x7F) << shift
 17285  				if b < 0x80 {
 17286  					break
 17287  				}
 17288  			}
 17289  			if msglen < 0 {
 17290  				return ErrInvalidLengthTypes
 17291  			}
 17292  			postIndex := iNdEx + msglen
 17293  			if postIndex < 0 {
 17294  				return ErrInvalidLengthTypes
 17295  			}
 17296  			if postIndex > l {
 17297  				return io.ErrUnexpectedEOF
 17298  			}
 17299  			if m.ConsensusParams == nil {
 17300  				m.ConsensusParams = &types1.ConsensusParams{}
 17301  			}
 17302  			if err := m.ConsensusParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17303  				return err
 17304  			}
 17305  			iNdEx = postIndex
 17306  		case 2:
 17307  			if wireType != 2 {
 17308  				return fmt.Errorf("proto: wrong wireType = %d for field Validators", wireType)
 17309  			}
 17310  			var msglen int
 17311  			for shift := uint(0); ; shift += 7 {
 17312  				if shift >= 64 {
 17313  					return ErrIntOverflowTypes
 17314  				}
 17315  				if iNdEx >= l {
 17316  					return io.ErrUnexpectedEOF
 17317  				}
 17318  				b := dAtA[iNdEx]
 17319  				iNdEx++
 17320  				msglen |= int(b&0x7F) << shift
 17321  				if b < 0x80 {
 17322  					break
 17323  				}
 17324  			}
 17325  			if msglen < 0 {
 17326  				return ErrInvalidLengthTypes
 17327  			}
 17328  			postIndex := iNdEx + msglen
 17329  			if postIndex < 0 {
 17330  				return ErrInvalidLengthTypes
 17331  			}
 17332  			if postIndex > l {
 17333  				return io.ErrUnexpectedEOF
 17334  			}
 17335  			m.Validators = append(m.Validators, ValidatorUpdate{})
 17336  			if err := m.Validators[len(m.Validators)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17337  				return err
 17338  			}
 17339  			iNdEx = postIndex
 17340  		case 3:
 17341  			if wireType != 2 {
 17342  				return fmt.Errorf("proto: wrong wireType = %d for field AppHash", wireType)
 17343  			}
 17344  			var byteLen int
 17345  			for shift := uint(0); ; shift += 7 {
 17346  				if shift >= 64 {
 17347  					return ErrIntOverflowTypes
 17348  				}
 17349  				if iNdEx >= l {
 17350  					return io.ErrUnexpectedEOF
 17351  				}
 17352  				b := dAtA[iNdEx]
 17353  				iNdEx++
 17354  				byteLen |= int(b&0x7F) << shift
 17355  				if b < 0x80 {
 17356  					break
 17357  				}
 17358  			}
 17359  			if byteLen < 0 {
 17360  				return ErrInvalidLengthTypes
 17361  			}
 17362  			postIndex := iNdEx + byteLen
 17363  			if postIndex < 0 {
 17364  				return ErrInvalidLengthTypes
 17365  			}
 17366  			if postIndex > l {
 17367  				return io.ErrUnexpectedEOF
 17368  			}
 17369  			m.AppHash = append(m.AppHash[:0], dAtA[iNdEx:postIndex]...)
 17370  			if m.AppHash == nil {
 17371  				m.AppHash = []byte{}
 17372  			}
 17373  			iNdEx = postIndex
 17374  		default:
 17375  			iNdEx = preIndex
 17376  			skippy, err := skipTypes(dAtA[iNdEx:])
 17377  			if err != nil {
 17378  				return err
 17379  			}
 17380  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17381  				return ErrInvalidLengthTypes
 17382  			}
 17383  			if (iNdEx + skippy) > l {
 17384  				return io.ErrUnexpectedEOF
 17385  			}
 17386  			iNdEx += skippy
 17387  		}
 17388  	}
 17389  
 17390  	if iNdEx > l {
 17391  		return io.ErrUnexpectedEOF
 17392  	}
 17393  	return nil
 17394  }
 17395  func (m *ResponseQuery) Unmarshal(dAtA []byte) error {
 17396  	l := len(dAtA)
 17397  	iNdEx := 0
 17398  	for iNdEx < l {
 17399  		preIndex := iNdEx
 17400  		var wire uint64
 17401  		for shift := uint(0); ; shift += 7 {
 17402  			if shift >= 64 {
 17403  				return ErrIntOverflowTypes
 17404  			}
 17405  			if iNdEx >= l {
 17406  				return io.ErrUnexpectedEOF
 17407  			}
 17408  			b := dAtA[iNdEx]
 17409  			iNdEx++
 17410  			wire |= uint64(b&0x7F) << shift
 17411  			if b < 0x80 {
 17412  				break
 17413  			}
 17414  		}
 17415  		fieldNum := int32(wire >> 3)
 17416  		wireType := int(wire & 0x7)
 17417  		if wireType == 4 {
 17418  			return fmt.Errorf("proto: ResponseQuery: wiretype end group for non-group")
 17419  		}
 17420  		if fieldNum <= 0 {
 17421  			return fmt.Errorf("proto: ResponseQuery: illegal tag %d (wire type %d)", fieldNum, wire)
 17422  		}
 17423  		switch fieldNum {
 17424  		case 1:
 17425  			if wireType != 0 {
 17426  				return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
 17427  			}
 17428  			m.Code = 0
 17429  			for shift := uint(0); ; shift += 7 {
 17430  				if shift >= 64 {
 17431  					return ErrIntOverflowTypes
 17432  				}
 17433  				if iNdEx >= l {
 17434  					return io.ErrUnexpectedEOF
 17435  				}
 17436  				b := dAtA[iNdEx]
 17437  				iNdEx++
 17438  				m.Code |= uint32(b&0x7F) << shift
 17439  				if b < 0x80 {
 17440  					break
 17441  				}
 17442  			}
 17443  		case 3:
 17444  			if wireType != 2 {
 17445  				return fmt.Errorf("proto: wrong wireType = %d for field Log", wireType)
 17446  			}
 17447  			var stringLen uint64
 17448  			for shift := uint(0); ; shift += 7 {
 17449  				if shift >= 64 {
 17450  					return ErrIntOverflowTypes
 17451  				}
 17452  				if iNdEx >= l {
 17453  					return io.ErrUnexpectedEOF
 17454  				}
 17455  				b := dAtA[iNdEx]
 17456  				iNdEx++
 17457  				stringLen |= uint64(b&0x7F) << shift
 17458  				if b < 0x80 {
 17459  					break
 17460  				}
 17461  			}
 17462  			intStringLen := int(stringLen)
 17463  			if intStringLen < 0 {
 17464  				return ErrInvalidLengthTypes
 17465  			}
 17466  			postIndex := iNdEx + intStringLen
 17467  			if postIndex < 0 {
 17468  				return ErrInvalidLengthTypes
 17469  			}
 17470  			if postIndex > l {
 17471  				return io.ErrUnexpectedEOF
 17472  			}
 17473  			m.Log = string(dAtA[iNdEx:postIndex])
 17474  			iNdEx = postIndex
 17475  		case 4:
 17476  			if wireType != 2 {
 17477  				return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
 17478  			}
 17479  			var stringLen uint64
 17480  			for shift := uint(0); ; shift += 7 {
 17481  				if shift >= 64 {
 17482  					return ErrIntOverflowTypes
 17483  				}
 17484  				if iNdEx >= l {
 17485  					return io.ErrUnexpectedEOF
 17486  				}
 17487  				b := dAtA[iNdEx]
 17488  				iNdEx++
 17489  				stringLen |= uint64(b&0x7F) << shift
 17490  				if b < 0x80 {
 17491  					break
 17492  				}
 17493  			}
 17494  			intStringLen := int(stringLen)
 17495  			if intStringLen < 0 {
 17496  				return ErrInvalidLengthTypes
 17497  			}
 17498  			postIndex := iNdEx + intStringLen
 17499  			if postIndex < 0 {
 17500  				return ErrInvalidLengthTypes
 17501  			}
 17502  			if postIndex > l {
 17503  				return io.ErrUnexpectedEOF
 17504  			}
 17505  			m.Info = string(dAtA[iNdEx:postIndex])
 17506  			iNdEx = postIndex
 17507  		case 5:
 17508  			if wireType != 0 {
 17509  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 17510  			}
 17511  			m.Index = 0
 17512  			for shift := uint(0); ; shift += 7 {
 17513  				if shift >= 64 {
 17514  					return ErrIntOverflowTypes
 17515  				}
 17516  				if iNdEx >= l {
 17517  					return io.ErrUnexpectedEOF
 17518  				}
 17519  				b := dAtA[iNdEx]
 17520  				iNdEx++
 17521  				m.Index |= int64(b&0x7F) << shift
 17522  				if b < 0x80 {
 17523  					break
 17524  				}
 17525  			}
 17526  		case 6:
 17527  			if wireType != 2 {
 17528  				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
 17529  			}
 17530  			var byteLen int
 17531  			for shift := uint(0); ; shift += 7 {
 17532  				if shift >= 64 {
 17533  					return ErrIntOverflowTypes
 17534  				}
 17535  				if iNdEx >= l {
 17536  					return io.ErrUnexpectedEOF
 17537  				}
 17538  				b := dAtA[iNdEx]
 17539  				iNdEx++
 17540  				byteLen |= int(b&0x7F) << shift
 17541  				if b < 0x80 {
 17542  					break
 17543  				}
 17544  			}
 17545  			if byteLen < 0 {
 17546  				return ErrInvalidLengthTypes
 17547  			}
 17548  			postIndex := iNdEx + byteLen
 17549  			if postIndex < 0 {
 17550  				return ErrInvalidLengthTypes
 17551  			}
 17552  			if postIndex > l {
 17553  				return io.ErrUnexpectedEOF
 17554  			}
 17555  			m.Key = append(m.Key[:0], dAtA[iNdEx:postIndex]...)
 17556  			if m.Key == nil {
 17557  				m.Key = []byte{}
 17558  			}
 17559  			iNdEx = postIndex
 17560  		case 7:
 17561  			if wireType != 2 {
 17562  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
 17563  			}
 17564  			var byteLen int
 17565  			for shift := uint(0); ; shift += 7 {
 17566  				if shift >= 64 {
 17567  					return ErrIntOverflowTypes
 17568  				}
 17569  				if iNdEx >= l {
 17570  					return io.ErrUnexpectedEOF
 17571  				}
 17572  				b := dAtA[iNdEx]
 17573  				iNdEx++
 17574  				byteLen |= int(b&0x7F) << shift
 17575  				if b < 0x80 {
 17576  					break
 17577  				}
 17578  			}
 17579  			if byteLen < 0 {
 17580  				return ErrInvalidLengthTypes
 17581  			}
 17582  			postIndex := iNdEx + byteLen
 17583  			if postIndex < 0 {
 17584  				return ErrInvalidLengthTypes
 17585  			}
 17586  			if postIndex > l {
 17587  				return io.ErrUnexpectedEOF
 17588  			}
 17589  			m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...)
 17590  			if m.Value == nil {
 17591  				m.Value = []byte{}
 17592  			}
 17593  			iNdEx = postIndex
 17594  		case 8:
 17595  			if wireType != 2 {
 17596  				return fmt.Errorf("proto: wrong wireType = %d for field ProofOps", wireType)
 17597  			}
 17598  			var msglen int
 17599  			for shift := uint(0); ; shift += 7 {
 17600  				if shift >= 64 {
 17601  					return ErrIntOverflowTypes
 17602  				}
 17603  				if iNdEx >= l {
 17604  					return io.ErrUnexpectedEOF
 17605  				}
 17606  				b := dAtA[iNdEx]
 17607  				iNdEx++
 17608  				msglen |= int(b&0x7F) << shift
 17609  				if b < 0x80 {
 17610  					break
 17611  				}
 17612  			}
 17613  			if msglen < 0 {
 17614  				return ErrInvalidLengthTypes
 17615  			}
 17616  			postIndex := iNdEx + msglen
 17617  			if postIndex < 0 {
 17618  				return ErrInvalidLengthTypes
 17619  			}
 17620  			if postIndex > l {
 17621  				return io.ErrUnexpectedEOF
 17622  			}
 17623  			if m.ProofOps == nil {
 17624  				m.ProofOps = &crypto.ProofOps{}
 17625  			}
 17626  			if err := m.ProofOps.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17627  				return err
 17628  			}
 17629  			iNdEx = postIndex
 17630  		case 9:
 17631  			if wireType != 0 {
 17632  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 17633  			}
 17634  			m.Height = 0
 17635  			for shift := uint(0); ; shift += 7 {
 17636  				if shift >= 64 {
 17637  					return ErrIntOverflowTypes
 17638  				}
 17639  				if iNdEx >= l {
 17640  					return io.ErrUnexpectedEOF
 17641  				}
 17642  				b := dAtA[iNdEx]
 17643  				iNdEx++
 17644  				m.Height |= int64(b&0x7F) << shift
 17645  				if b < 0x80 {
 17646  					break
 17647  				}
 17648  			}
 17649  		case 10:
 17650  			if wireType != 2 {
 17651  				return fmt.Errorf("proto: wrong wireType = %d for field Codespace", wireType)
 17652  			}
 17653  			var stringLen uint64
 17654  			for shift := uint(0); ; shift += 7 {
 17655  				if shift >= 64 {
 17656  					return ErrIntOverflowTypes
 17657  				}
 17658  				if iNdEx >= l {
 17659  					return io.ErrUnexpectedEOF
 17660  				}
 17661  				b := dAtA[iNdEx]
 17662  				iNdEx++
 17663  				stringLen |= uint64(b&0x7F) << shift
 17664  				if b < 0x80 {
 17665  					break
 17666  				}
 17667  			}
 17668  			intStringLen := int(stringLen)
 17669  			if intStringLen < 0 {
 17670  				return ErrInvalidLengthTypes
 17671  			}
 17672  			postIndex := iNdEx + intStringLen
 17673  			if postIndex < 0 {
 17674  				return ErrInvalidLengthTypes
 17675  			}
 17676  			if postIndex > l {
 17677  				return io.ErrUnexpectedEOF
 17678  			}
 17679  			m.Codespace = string(dAtA[iNdEx:postIndex])
 17680  			iNdEx = postIndex
 17681  		default:
 17682  			iNdEx = preIndex
 17683  			skippy, err := skipTypes(dAtA[iNdEx:])
 17684  			if err != nil {
 17685  				return err
 17686  			}
 17687  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17688  				return ErrInvalidLengthTypes
 17689  			}
 17690  			if (iNdEx + skippy) > l {
 17691  				return io.ErrUnexpectedEOF
 17692  			}
 17693  			iNdEx += skippy
 17694  		}
 17695  	}
 17696  
 17697  	if iNdEx > l {
 17698  		return io.ErrUnexpectedEOF
 17699  	}
 17700  	return nil
 17701  }
 17702  func (m *ResponseBeginBlock) Unmarshal(dAtA []byte) error {
 17703  	l := len(dAtA)
 17704  	iNdEx := 0
 17705  	for iNdEx < l {
 17706  		preIndex := iNdEx
 17707  		var wire uint64
 17708  		for shift := uint(0); ; shift += 7 {
 17709  			if shift >= 64 {
 17710  				return ErrIntOverflowTypes
 17711  			}
 17712  			if iNdEx >= l {
 17713  				return io.ErrUnexpectedEOF
 17714  			}
 17715  			b := dAtA[iNdEx]
 17716  			iNdEx++
 17717  			wire |= uint64(b&0x7F) << shift
 17718  			if b < 0x80 {
 17719  				break
 17720  			}
 17721  		}
 17722  		fieldNum := int32(wire >> 3)
 17723  		wireType := int(wire & 0x7)
 17724  		if wireType == 4 {
 17725  			return fmt.Errorf("proto: ResponseBeginBlock: wiretype end group for non-group")
 17726  		}
 17727  		if fieldNum <= 0 {
 17728  			return fmt.Errorf("proto: ResponseBeginBlock: illegal tag %d (wire type %d)", fieldNum, wire)
 17729  		}
 17730  		switch fieldNum {
 17731  		case 1:
 17732  			if wireType != 2 {
 17733  				return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
 17734  			}
 17735  			var msglen int
 17736  			for shift := uint(0); ; shift += 7 {
 17737  				if shift >= 64 {
 17738  					return ErrIntOverflowTypes
 17739  				}
 17740  				if iNdEx >= l {
 17741  					return io.ErrUnexpectedEOF
 17742  				}
 17743  				b := dAtA[iNdEx]
 17744  				iNdEx++
 17745  				msglen |= int(b&0x7F) << shift
 17746  				if b < 0x80 {
 17747  					break
 17748  				}
 17749  			}
 17750  			if msglen < 0 {
 17751  				return ErrInvalidLengthTypes
 17752  			}
 17753  			postIndex := iNdEx + msglen
 17754  			if postIndex < 0 {
 17755  				return ErrInvalidLengthTypes
 17756  			}
 17757  			if postIndex > l {
 17758  				return io.ErrUnexpectedEOF
 17759  			}
 17760  			m.Events = append(m.Events, Event{})
 17761  			if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 17762  				return err
 17763  			}
 17764  			iNdEx = postIndex
 17765  		default:
 17766  			iNdEx = preIndex
 17767  			skippy, err := skipTypes(dAtA[iNdEx:])
 17768  			if err != nil {
 17769  				return err
 17770  			}
 17771  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 17772  				return ErrInvalidLengthTypes
 17773  			}
 17774  			if (iNdEx + skippy) > l {
 17775  				return io.ErrUnexpectedEOF
 17776  			}
 17777  			iNdEx += skippy
 17778  		}
 17779  	}
 17780  
 17781  	if iNdEx > l {
 17782  		return io.ErrUnexpectedEOF
 17783  	}
 17784  	return nil
 17785  }
 17786  func (m *ResponseCheckTx) Unmarshal(dAtA []byte) error {
 17787  	l := len(dAtA)
 17788  	iNdEx := 0
 17789  	for iNdEx < l {
 17790  		preIndex := iNdEx
 17791  		var wire uint64
 17792  		for shift := uint(0); ; shift += 7 {
 17793  			if shift >= 64 {
 17794  				return ErrIntOverflowTypes
 17795  			}
 17796  			if iNdEx >= l {
 17797  				return io.ErrUnexpectedEOF
 17798  			}
 17799  			b := dAtA[iNdEx]
 17800  			iNdEx++
 17801  			wire |= uint64(b&0x7F) << shift
 17802  			if b < 0x80 {
 17803  				break
 17804  			}
 17805  		}
 17806  		fieldNum := int32(wire >> 3)
 17807  		wireType := int(wire & 0x7)
 17808  		if wireType == 4 {
 17809  			return fmt.Errorf("proto: ResponseCheckTx: wiretype end group for non-group")
 17810  		}
 17811  		if fieldNum <= 0 {
 17812  			return fmt.Errorf("proto: ResponseCheckTx: illegal tag %d (wire type %d)", fieldNum, wire)
 17813  		}
 17814  		switch fieldNum {
 17815  		case 1:
 17816  			if wireType != 0 {
 17817  				return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
 17818  			}
 17819  			m.Code = 0
 17820  			for shift := uint(0); ; shift += 7 {
 17821  				if shift >= 64 {
 17822  					return ErrIntOverflowTypes
 17823  				}
 17824  				if iNdEx >= l {
 17825  					return io.ErrUnexpectedEOF
 17826  				}
 17827  				b := dAtA[iNdEx]
 17828  				iNdEx++
 17829  				m.Code |= uint32(b&0x7F) << shift
 17830  				if b < 0x80 {
 17831  					break
 17832  				}
 17833  			}
 17834  		case 2:
 17835  			if wireType != 2 {
 17836  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 17837  			}
 17838  			var byteLen int
 17839  			for shift := uint(0); ; shift += 7 {
 17840  				if shift >= 64 {
 17841  					return ErrIntOverflowTypes
 17842  				}
 17843  				if iNdEx >= l {
 17844  					return io.ErrUnexpectedEOF
 17845  				}
 17846  				b := dAtA[iNdEx]
 17847  				iNdEx++
 17848  				byteLen |= int(b&0x7F) << shift
 17849  				if b < 0x80 {
 17850  					break
 17851  				}
 17852  			}
 17853  			if byteLen < 0 {
 17854  				return ErrInvalidLengthTypes
 17855  			}
 17856  			postIndex := iNdEx + byteLen
 17857  			if postIndex < 0 {
 17858  				return ErrInvalidLengthTypes
 17859  			}
 17860  			if postIndex > l {
 17861  				return io.ErrUnexpectedEOF
 17862  			}
 17863  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
 17864  			if m.Data == nil {
 17865  				m.Data = []byte{}
 17866  			}
 17867  			iNdEx = postIndex
 17868  		case 3:
 17869  			if wireType != 2 {
 17870  				return fmt.Errorf("proto: wrong wireType = %d for field Log", wireType)
 17871  			}
 17872  			var stringLen uint64
 17873  			for shift := uint(0); ; shift += 7 {
 17874  				if shift >= 64 {
 17875  					return ErrIntOverflowTypes
 17876  				}
 17877  				if iNdEx >= l {
 17878  					return io.ErrUnexpectedEOF
 17879  				}
 17880  				b := dAtA[iNdEx]
 17881  				iNdEx++
 17882  				stringLen |= uint64(b&0x7F) << shift
 17883  				if b < 0x80 {
 17884  					break
 17885  				}
 17886  			}
 17887  			intStringLen := int(stringLen)
 17888  			if intStringLen < 0 {
 17889  				return ErrInvalidLengthTypes
 17890  			}
 17891  			postIndex := iNdEx + intStringLen
 17892  			if postIndex < 0 {
 17893  				return ErrInvalidLengthTypes
 17894  			}
 17895  			if postIndex > l {
 17896  				return io.ErrUnexpectedEOF
 17897  			}
 17898  			m.Log = string(dAtA[iNdEx:postIndex])
 17899  			iNdEx = postIndex
 17900  		case 5:
 17901  			if wireType != 0 {
 17902  				return fmt.Errorf("proto: wrong wireType = %d for field GasWanted", wireType)
 17903  			}
 17904  			m.GasWanted = 0
 17905  			for shift := uint(0); ; shift += 7 {
 17906  				if shift >= 64 {
 17907  					return ErrIntOverflowTypes
 17908  				}
 17909  				if iNdEx >= l {
 17910  					return io.ErrUnexpectedEOF
 17911  				}
 17912  				b := dAtA[iNdEx]
 17913  				iNdEx++
 17914  				m.GasWanted |= int64(b&0x7F) << shift
 17915  				if b < 0x80 {
 17916  					break
 17917  				}
 17918  			}
 17919  		case 8:
 17920  			if wireType != 2 {
 17921  				return fmt.Errorf("proto: wrong wireType = %d for field Codespace", wireType)
 17922  			}
 17923  			var stringLen uint64
 17924  			for shift := uint(0); ; shift += 7 {
 17925  				if shift >= 64 {
 17926  					return ErrIntOverflowTypes
 17927  				}
 17928  				if iNdEx >= l {
 17929  					return io.ErrUnexpectedEOF
 17930  				}
 17931  				b := dAtA[iNdEx]
 17932  				iNdEx++
 17933  				stringLen |= uint64(b&0x7F) << shift
 17934  				if b < 0x80 {
 17935  					break
 17936  				}
 17937  			}
 17938  			intStringLen := int(stringLen)
 17939  			if intStringLen < 0 {
 17940  				return ErrInvalidLengthTypes
 17941  			}
 17942  			postIndex := iNdEx + intStringLen
 17943  			if postIndex < 0 {
 17944  				return ErrInvalidLengthTypes
 17945  			}
 17946  			if postIndex > l {
 17947  				return io.ErrUnexpectedEOF
 17948  			}
 17949  			m.Codespace = string(dAtA[iNdEx:postIndex])
 17950  			iNdEx = postIndex
 17951  		case 9:
 17952  			if wireType != 2 {
 17953  				return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
 17954  			}
 17955  			var stringLen uint64
 17956  			for shift := uint(0); ; shift += 7 {
 17957  				if shift >= 64 {
 17958  					return ErrIntOverflowTypes
 17959  				}
 17960  				if iNdEx >= l {
 17961  					return io.ErrUnexpectedEOF
 17962  				}
 17963  				b := dAtA[iNdEx]
 17964  				iNdEx++
 17965  				stringLen |= uint64(b&0x7F) << shift
 17966  				if b < 0x80 {
 17967  					break
 17968  				}
 17969  			}
 17970  			intStringLen := int(stringLen)
 17971  			if intStringLen < 0 {
 17972  				return ErrInvalidLengthTypes
 17973  			}
 17974  			postIndex := iNdEx + intStringLen
 17975  			if postIndex < 0 {
 17976  				return ErrInvalidLengthTypes
 17977  			}
 17978  			if postIndex > l {
 17979  				return io.ErrUnexpectedEOF
 17980  			}
 17981  			m.Sender = string(dAtA[iNdEx:postIndex])
 17982  			iNdEx = postIndex
 17983  		case 10:
 17984  			if wireType != 0 {
 17985  				return fmt.Errorf("proto: wrong wireType = %d for field Priority", wireType)
 17986  			}
 17987  			m.Priority = 0
 17988  			for shift := uint(0); ; shift += 7 {
 17989  				if shift >= 64 {
 17990  					return ErrIntOverflowTypes
 17991  				}
 17992  				if iNdEx >= l {
 17993  					return io.ErrUnexpectedEOF
 17994  				}
 17995  				b := dAtA[iNdEx]
 17996  				iNdEx++
 17997  				m.Priority |= int64(b&0x7F) << shift
 17998  				if b < 0x80 {
 17999  					break
 18000  				}
 18001  			}
 18002  		default:
 18003  			iNdEx = preIndex
 18004  			skippy, err := skipTypes(dAtA[iNdEx:])
 18005  			if err != nil {
 18006  				return err
 18007  			}
 18008  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18009  				return ErrInvalidLengthTypes
 18010  			}
 18011  			if (iNdEx + skippy) > l {
 18012  				return io.ErrUnexpectedEOF
 18013  			}
 18014  			iNdEx += skippy
 18015  		}
 18016  	}
 18017  
 18018  	if iNdEx > l {
 18019  		return io.ErrUnexpectedEOF
 18020  	}
 18021  	return nil
 18022  }
 18023  func (m *ResponseDeliverTx) Unmarshal(dAtA []byte) error {
 18024  	l := len(dAtA)
 18025  	iNdEx := 0
 18026  	for iNdEx < l {
 18027  		preIndex := iNdEx
 18028  		var wire uint64
 18029  		for shift := uint(0); ; shift += 7 {
 18030  			if shift >= 64 {
 18031  				return ErrIntOverflowTypes
 18032  			}
 18033  			if iNdEx >= l {
 18034  				return io.ErrUnexpectedEOF
 18035  			}
 18036  			b := dAtA[iNdEx]
 18037  			iNdEx++
 18038  			wire |= uint64(b&0x7F) << shift
 18039  			if b < 0x80 {
 18040  				break
 18041  			}
 18042  		}
 18043  		fieldNum := int32(wire >> 3)
 18044  		wireType := int(wire & 0x7)
 18045  		if wireType == 4 {
 18046  			return fmt.Errorf("proto: ResponseDeliverTx: wiretype end group for non-group")
 18047  		}
 18048  		if fieldNum <= 0 {
 18049  			return fmt.Errorf("proto: ResponseDeliverTx: illegal tag %d (wire type %d)", fieldNum, wire)
 18050  		}
 18051  		switch fieldNum {
 18052  		case 1:
 18053  			if wireType != 0 {
 18054  				return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
 18055  			}
 18056  			m.Code = 0
 18057  			for shift := uint(0); ; shift += 7 {
 18058  				if shift >= 64 {
 18059  					return ErrIntOverflowTypes
 18060  				}
 18061  				if iNdEx >= l {
 18062  					return io.ErrUnexpectedEOF
 18063  				}
 18064  				b := dAtA[iNdEx]
 18065  				iNdEx++
 18066  				m.Code |= uint32(b&0x7F) << shift
 18067  				if b < 0x80 {
 18068  					break
 18069  				}
 18070  			}
 18071  		case 2:
 18072  			if wireType != 2 {
 18073  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 18074  			}
 18075  			var byteLen int
 18076  			for shift := uint(0); ; shift += 7 {
 18077  				if shift >= 64 {
 18078  					return ErrIntOverflowTypes
 18079  				}
 18080  				if iNdEx >= l {
 18081  					return io.ErrUnexpectedEOF
 18082  				}
 18083  				b := dAtA[iNdEx]
 18084  				iNdEx++
 18085  				byteLen |= int(b&0x7F) << shift
 18086  				if b < 0x80 {
 18087  					break
 18088  				}
 18089  			}
 18090  			if byteLen < 0 {
 18091  				return ErrInvalidLengthTypes
 18092  			}
 18093  			postIndex := iNdEx + byteLen
 18094  			if postIndex < 0 {
 18095  				return ErrInvalidLengthTypes
 18096  			}
 18097  			if postIndex > l {
 18098  				return io.ErrUnexpectedEOF
 18099  			}
 18100  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
 18101  			if m.Data == nil {
 18102  				m.Data = []byte{}
 18103  			}
 18104  			iNdEx = postIndex
 18105  		case 3:
 18106  			if wireType != 2 {
 18107  				return fmt.Errorf("proto: wrong wireType = %d for field Log", wireType)
 18108  			}
 18109  			var stringLen uint64
 18110  			for shift := uint(0); ; shift += 7 {
 18111  				if shift >= 64 {
 18112  					return ErrIntOverflowTypes
 18113  				}
 18114  				if iNdEx >= l {
 18115  					return io.ErrUnexpectedEOF
 18116  				}
 18117  				b := dAtA[iNdEx]
 18118  				iNdEx++
 18119  				stringLen |= uint64(b&0x7F) << shift
 18120  				if b < 0x80 {
 18121  					break
 18122  				}
 18123  			}
 18124  			intStringLen := int(stringLen)
 18125  			if intStringLen < 0 {
 18126  				return ErrInvalidLengthTypes
 18127  			}
 18128  			postIndex := iNdEx + intStringLen
 18129  			if postIndex < 0 {
 18130  				return ErrInvalidLengthTypes
 18131  			}
 18132  			if postIndex > l {
 18133  				return io.ErrUnexpectedEOF
 18134  			}
 18135  			m.Log = string(dAtA[iNdEx:postIndex])
 18136  			iNdEx = postIndex
 18137  		case 4:
 18138  			if wireType != 2 {
 18139  				return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
 18140  			}
 18141  			var stringLen uint64
 18142  			for shift := uint(0); ; shift += 7 {
 18143  				if shift >= 64 {
 18144  					return ErrIntOverflowTypes
 18145  				}
 18146  				if iNdEx >= l {
 18147  					return io.ErrUnexpectedEOF
 18148  				}
 18149  				b := dAtA[iNdEx]
 18150  				iNdEx++
 18151  				stringLen |= uint64(b&0x7F) << shift
 18152  				if b < 0x80 {
 18153  					break
 18154  				}
 18155  			}
 18156  			intStringLen := int(stringLen)
 18157  			if intStringLen < 0 {
 18158  				return ErrInvalidLengthTypes
 18159  			}
 18160  			postIndex := iNdEx + intStringLen
 18161  			if postIndex < 0 {
 18162  				return ErrInvalidLengthTypes
 18163  			}
 18164  			if postIndex > l {
 18165  				return io.ErrUnexpectedEOF
 18166  			}
 18167  			m.Info = string(dAtA[iNdEx:postIndex])
 18168  			iNdEx = postIndex
 18169  		case 5:
 18170  			if wireType != 0 {
 18171  				return fmt.Errorf("proto: wrong wireType = %d for field GasWanted", wireType)
 18172  			}
 18173  			m.GasWanted = 0
 18174  			for shift := uint(0); ; shift += 7 {
 18175  				if shift >= 64 {
 18176  					return ErrIntOverflowTypes
 18177  				}
 18178  				if iNdEx >= l {
 18179  					return io.ErrUnexpectedEOF
 18180  				}
 18181  				b := dAtA[iNdEx]
 18182  				iNdEx++
 18183  				m.GasWanted |= int64(b&0x7F) << shift
 18184  				if b < 0x80 {
 18185  					break
 18186  				}
 18187  			}
 18188  		case 6:
 18189  			if wireType != 0 {
 18190  				return fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType)
 18191  			}
 18192  			m.GasUsed = 0
 18193  			for shift := uint(0); ; shift += 7 {
 18194  				if shift >= 64 {
 18195  					return ErrIntOverflowTypes
 18196  				}
 18197  				if iNdEx >= l {
 18198  					return io.ErrUnexpectedEOF
 18199  				}
 18200  				b := dAtA[iNdEx]
 18201  				iNdEx++
 18202  				m.GasUsed |= int64(b&0x7F) << shift
 18203  				if b < 0x80 {
 18204  					break
 18205  				}
 18206  			}
 18207  		case 7:
 18208  			if wireType != 2 {
 18209  				return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
 18210  			}
 18211  			var msglen int
 18212  			for shift := uint(0); ; shift += 7 {
 18213  				if shift >= 64 {
 18214  					return ErrIntOverflowTypes
 18215  				}
 18216  				if iNdEx >= l {
 18217  					return io.ErrUnexpectedEOF
 18218  				}
 18219  				b := dAtA[iNdEx]
 18220  				iNdEx++
 18221  				msglen |= int(b&0x7F) << shift
 18222  				if b < 0x80 {
 18223  					break
 18224  				}
 18225  			}
 18226  			if msglen < 0 {
 18227  				return ErrInvalidLengthTypes
 18228  			}
 18229  			postIndex := iNdEx + msglen
 18230  			if postIndex < 0 {
 18231  				return ErrInvalidLengthTypes
 18232  			}
 18233  			if postIndex > l {
 18234  				return io.ErrUnexpectedEOF
 18235  			}
 18236  			m.Events = append(m.Events, Event{})
 18237  			if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18238  				return err
 18239  			}
 18240  			iNdEx = postIndex
 18241  		case 8:
 18242  			if wireType != 2 {
 18243  				return fmt.Errorf("proto: wrong wireType = %d for field Codespace", wireType)
 18244  			}
 18245  			var stringLen uint64
 18246  			for shift := uint(0); ; shift += 7 {
 18247  				if shift >= 64 {
 18248  					return ErrIntOverflowTypes
 18249  				}
 18250  				if iNdEx >= l {
 18251  					return io.ErrUnexpectedEOF
 18252  				}
 18253  				b := dAtA[iNdEx]
 18254  				iNdEx++
 18255  				stringLen |= uint64(b&0x7F) << shift
 18256  				if b < 0x80 {
 18257  					break
 18258  				}
 18259  			}
 18260  			intStringLen := int(stringLen)
 18261  			if intStringLen < 0 {
 18262  				return ErrInvalidLengthTypes
 18263  			}
 18264  			postIndex := iNdEx + intStringLen
 18265  			if postIndex < 0 {
 18266  				return ErrInvalidLengthTypes
 18267  			}
 18268  			if postIndex > l {
 18269  				return io.ErrUnexpectedEOF
 18270  			}
 18271  			m.Codespace = string(dAtA[iNdEx:postIndex])
 18272  			iNdEx = postIndex
 18273  		default:
 18274  			iNdEx = preIndex
 18275  			skippy, err := skipTypes(dAtA[iNdEx:])
 18276  			if err != nil {
 18277  				return err
 18278  			}
 18279  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18280  				return ErrInvalidLengthTypes
 18281  			}
 18282  			if (iNdEx + skippy) > l {
 18283  				return io.ErrUnexpectedEOF
 18284  			}
 18285  			iNdEx += skippy
 18286  		}
 18287  	}
 18288  
 18289  	if iNdEx > l {
 18290  		return io.ErrUnexpectedEOF
 18291  	}
 18292  	return nil
 18293  }
 18294  func (m *ResponseEndBlock) Unmarshal(dAtA []byte) error {
 18295  	l := len(dAtA)
 18296  	iNdEx := 0
 18297  	for iNdEx < l {
 18298  		preIndex := iNdEx
 18299  		var wire uint64
 18300  		for shift := uint(0); ; shift += 7 {
 18301  			if shift >= 64 {
 18302  				return ErrIntOverflowTypes
 18303  			}
 18304  			if iNdEx >= l {
 18305  				return io.ErrUnexpectedEOF
 18306  			}
 18307  			b := dAtA[iNdEx]
 18308  			iNdEx++
 18309  			wire |= uint64(b&0x7F) << shift
 18310  			if b < 0x80 {
 18311  				break
 18312  			}
 18313  		}
 18314  		fieldNum := int32(wire >> 3)
 18315  		wireType := int(wire & 0x7)
 18316  		if wireType == 4 {
 18317  			return fmt.Errorf("proto: ResponseEndBlock: wiretype end group for non-group")
 18318  		}
 18319  		if fieldNum <= 0 {
 18320  			return fmt.Errorf("proto: ResponseEndBlock: illegal tag %d (wire type %d)", fieldNum, wire)
 18321  		}
 18322  		switch fieldNum {
 18323  		case 1:
 18324  			if wireType != 2 {
 18325  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorUpdates", wireType)
 18326  			}
 18327  			var msglen int
 18328  			for shift := uint(0); ; shift += 7 {
 18329  				if shift >= 64 {
 18330  					return ErrIntOverflowTypes
 18331  				}
 18332  				if iNdEx >= l {
 18333  					return io.ErrUnexpectedEOF
 18334  				}
 18335  				b := dAtA[iNdEx]
 18336  				iNdEx++
 18337  				msglen |= int(b&0x7F) << shift
 18338  				if b < 0x80 {
 18339  					break
 18340  				}
 18341  			}
 18342  			if msglen < 0 {
 18343  				return ErrInvalidLengthTypes
 18344  			}
 18345  			postIndex := iNdEx + msglen
 18346  			if postIndex < 0 {
 18347  				return ErrInvalidLengthTypes
 18348  			}
 18349  			if postIndex > l {
 18350  				return io.ErrUnexpectedEOF
 18351  			}
 18352  			m.ValidatorUpdates = append(m.ValidatorUpdates, ValidatorUpdate{})
 18353  			if err := m.ValidatorUpdates[len(m.ValidatorUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18354  				return err
 18355  			}
 18356  			iNdEx = postIndex
 18357  		case 2:
 18358  			if wireType != 2 {
 18359  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusParamUpdates", wireType)
 18360  			}
 18361  			var msglen int
 18362  			for shift := uint(0); ; shift += 7 {
 18363  				if shift >= 64 {
 18364  					return ErrIntOverflowTypes
 18365  				}
 18366  				if iNdEx >= l {
 18367  					return io.ErrUnexpectedEOF
 18368  				}
 18369  				b := dAtA[iNdEx]
 18370  				iNdEx++
 18371  				msglen |= int(b&0x7F) << shift
 18372  				if b < 0x80 {
 18373  					break
 18374  				}
 18375  			}
 18376  			if msglen < 0 {
 18377  				return ErrInvalidLengthTypes
 18378  			}
 18379  			postIndex := iNdEx + msglen
 18380  			if postIndex < 0 {
 18381  				return ErrInvalidLengthTypes
 18382  			}
 18383  			if postIndex > l {
 18384  				return io.ErrUnexpectedEOF
 18385  			}
 18386  			if m.ConsensusParamUpdates == nil {
 18387  				m.ConsensusParamUpdates = &ConsensusParams{}
 18388  			}
 18389  			if err := m.ConsensusParamUpdates.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18390  				return err
 18391  			}
 18392  			iNdEx = postIndex
 18393  		case 3:
 18394  			if wireType != 2 {
 18395  				return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
 18396  			}
 18397  			var msglen int
 18398  			for shift := uint(0); ; shift += 7 {
 18399  				if shift >= 64 {
 18400  					return ErrIntOverflowTypes
 18401  				}
 18402  				if iNdEx >= l {
 18403  					return io.ErrUnexpectedEOF
 18404  				}
 18405  				b := dAtA[iNdEx]
 18406  				iNdEx++
 18407  				msglen |= int(b&0x7F) << shift
 18408  				if b < 0x80 {
 18409  					break
 18410  				}
 18411  			}
 18412  			if msglen < 0 {
 18413  				return ErrInvalidLengthTypes
 18414  			}
 18415  			postIndex := iNdEx + msglen
 18416  			if postIndex < 0 {
 18417  				return ErrInvalidLengthTypes
 18418  			}
 18419  			if postIndex > l {
 18420  				return io.ErrUnexpectedEOF
 18421  			}
 18422  			m.Events = append(m.Events, Event{})
 18423  			if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18424  				return err
 18425  			}
 18426  			iNdEx = postIndex
 18427  		default:
 18428  			iNdEx = preIndex
 18429  			skippy, err := skipTypes(dAtA[iNdEx:])
 18430  			if err != nil {
 18431  				return err
 18432  			}
 18433  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18434  				return ErrInvalidLengthTypes
 18435  			}
 18436  			if (iNdEx + skippy) > l {
 18437  				return io.ErrUnexpectedEOF
 18438  			}
 18439  			iNdEx += skippy
 18440  		}
 18441  	}
 18442  
 18443  	if iNdEx > l {
 18444  		return io.ErrUnexpectedEOF
 18445  	}
 18446  	return nil
 18447  }
 18448  func (m *ResponseCommit) Unmarshal(dAtA []byte) error {
 18449  	l := len(dAtA)
 18450  	iNdEx := 0
 18451  	for iNdEx < l {
 18452  		preIndex := iNdEx
 18453  		var wire uint64
 18454  		for shift := uint(0); ; shift += 7 {
 18455  			if shift >= 64 {
 18456  				return ErrIntOverflowTypes
 18457  			}
 18458  			if iNdEx >= l {
 18459  				return io.ErrUnexpectedEOF
 18460  			}
 18461  			b := dAtA[iNdEx]
 18462  			iNdEx++
 18463  			wire |= uint64(b&0x7F) << shift
 18464  			if b < 0x80 {
 18465  				break
 18466  			}
 18467  		}
 18468  		fieldNum := int32(wire >> 3)
 18469  		wireType := int(wire & 0x7)
 18470  		if wireType == 4 {
 18471  			return fmt.Errorf("proto: ResponseCommit: wiretype end group for non-group")
 18472  		}
 18473  		if fieldNum <= 0 {
 18474  			return fmt.Errorf("proto: ResponseCommit: illegal tag %d (wire type %d)", fieldNum, wire)
 18475  		}
 18476  		switch fieldNum {
 18477  		case 3:
 18478  			if wireType != 0 {
 18479  				return fmt.Errorf("proto: wrong wireType = %d for field RetainHeight", wireType)
 18480  			}
 18481  			m.RetainHeight = 0
 18482  			for shift := uint(0); ; shift += 7 {
 18483  				if shift >= 64 {
 18484  					return ErrIntOverflowTypes
 18485  				}
 18486  				if iNdEx >= l {
 18487  					return io.ErrUnexpectedEOF
 18488  				}
 18489  				b := dAtA[iNdEx]
 18490  				iNdEx++
 18491  				m.RetainHeight |= int64(b&0x7F) << shift
 18492  				if b < 0x80 {
 18493  					break
 18494  				}
 18495  			}
 18496  		default:
 18497  			iNdEx = preIndex
 18498  			skippy, err := skipTypes(dAtA[iNdEx:])
 18499  			if err != nil {
 18500  				return err
 18501  			}
 18502  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18503  				return ErrInvalidLengthTypes
 18504  			}
 18505  			if (iNdEx + skippy) > l {
 18506  				return io.ErrUnexpectedEOF
 18507  			}
 18508  			iNdEx += skippy
 18509  		}
 18510  	}
 18511  
 18512  	if iNdEx > l {
 18513  		return io.ErrUnexpectedEOF
 18514  	}
 18515  	return nil
 18516  }
 18517  func (m *ResponseListSnapshots) Unmarshal(dAtA []byte) error {
 18518  	l := len(dAtA)
 18519  	iNdEx := 0
 18520  	for iNdEx < l {
 18521  		preIndex := iNdEx
 18522  		var wire uint64
 18523  		for shift := uint(0); ; shift += 7 {
 18524  			if shift >= 64 {
 18525  				return ErrIntOverflowTypes
 18526  			}
 18527  			if iNdEx >= l {
 18528  				return io.ErrUnexpectedEOF
 18529  			}
 18530  			b := dAtA[iNdEx]
 18531  			iNdEx++
 18532  			wire |= uint64(b&0x7F) << shift
 18533  			if b < 0x80 {
 18534  				break
 18535  			}
 18536  		}
 18537  		fieldNum := int32(wire >> 3)
 18538  		wireType := int(wire & 0x7)
 18539  		if wireType == 4 {
 18540  			return fmt.Errorf("proto: ResponseListSnapshots: wiretype end group for non-group")
 18541  		}
 18542  		if fieldNum <= 0 {
 18543  			return fmt.Errorf("proto: ResponseListSnapshots: illegal tag %d (wire type %d)", fieldNum, wire)
 18544  		}
 18545  		switch fieldNum {
 18546  		case 1:
 18547  			if wireType != 2 {
 18548  				return fmt.Errorf("proto: wrong wireType = %d for field Snapshots", wireType)
 18549  			}
 18550  			var msglen int
 18551  			for shift := uint(0); ; shift += 7 {
 18552  				if shift >= 64 {
 18553  					return ErrIntOverflowTypes
 18554  				}
 18555  				if iNdEx >= l {
 18556  					return io.ErrUnexpectedEOF
 18557  				}
 18558  				b := dAtA[iNdEx]
 18559  				iNdEx++
 18560  				msglen |= int(b&0x7F) << shift
 18561  				if b < 0x80 {
 18562  					break
 18563  				}
 18564  			}
 18565  			if msglen < 0 {
 18566  				return ErrInvalidLengthTypes
 18567  			}
 18568  			postIndex := iNdEx + msglen
 18569  			if postIndex < 0 {
 18570  				return ErrInvalidLengthTypes
 18571  			}
 18572  			if postIndex > l {
 18573  				return io.ErrUnexpectedEOF
 18574  			}
 18575  			m.Snapshots = append(m.Snapshots, &Snapshot{})
 18576  			if err := m.Snapshots[len(m.Snapshots)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18577  				return err
 18578  			}
 18579  			iNdEx = postIndex
 18580  		default:
 18581  			iNdEx = preIndex
 18582  			skippy, err := skipTypes(dAtA[iNdEx:])
 18583  			if err != nil {
 18584  				return err
 18585  			}
 18586  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18587  				return ErrInvalidLengthTypes
 18588  			}
 18589  			if (iNdEx + skippy) > l {
 18590  				return io.ErrUnexpectedEOF
 18591  			}
 18592  			iNdEx += skippy
 18593  		}
 18594  	}
 18595  
 18596  	if iNdEx > l {
 18597  		return io.ErrUnexpectedEOF
 18598  	}
 18599  	return nil
 18600  }
 18601  func (m *ResponseOfferSnapshot) Unmarshal(dAtA []byte) error {
 18602  	l := len(dAtA)
 18603  	iNdEx := 0
 18604  	for iNdEx < l {
 18605  		preIndex := iNdEx
 18606  		var wire uint64
 18607  		for shift := uint(0); ; shift += 7 {
 18608  			if shift >= 64 {
 18609  				return ErrIntOverflowTypes
 18610  			}
 18611  			if iNdEx >= l {
 18612  				return io.ErrUnexpectedEOF
 18613  			}
 18614  			b := dAtA[iNdEx]
 18615  			iNdEx++
 18616  			wire |= uint64(b&0x7F) << shift
 18617  			if b < 0x80 {
 18618  				break
 18619  			}
 18620  		}
 18621  		fieldNum := int32(wire >> 3)
 18622  		wireType := int(wire & 0x7)
 18623  		if wireType == 4 {
 18624  			return fmt.Errorf("proto: ResponseOfferSnapshot: wiretype end group for non-group")
 18625  		}
 18626  		if fieldNum <= 0 {
 18627  			return fmt.Errorf("proto: ResponseOfferSnapshot: illegal tag %d (wire type %d)", fieldNum, wire)
 18628  		}
 18629  		switch fieldNum {
 18630  		case 1:
 18631  			if wireType != 0 {
 18632  				return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
 18633  			}
 18634  			m.Result = 0
 18635  			for shift := uint(0); ; shift += 7 {
 18636  				if shift >= 64 {
 18637  					return ErrIntOverflowTypes
 18638  				}
 18639  				if iNdEx >= l {
 18640  					return io.ErrUnexpectedEOF
 18641  				}
 18642  				b := dAtA[iNdEx]
 18643  				iNdEx++
 18644  				m.Result |= ResponseOfferSnapshot_Result(b&0x7F) << shift
 18645  				if b < 0x80 {
 18646  					break
 18647  				}
 18648  			}
 18649  		default:
 18650  			iNdEx = preIndex
 18651  			skippy, err := skipTypes(dAtA[iNdEx:])
 18652  			if err != nil {
 18653  				return err
 18654  			}
 18655  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18656  				return ErrInvalidLengthTypes
 18657  			}
 18658  			if (iNdEx + skippy) > l {
 18659  				return io.ErrUnexpectedEOF
 18660  			}
 18661  			iNdEx += skippy
 18662  		}
 18663  	}
 18664  
 18665  	if iNdEx > l {
 18666  		return io.ErrUnexpectedEOF
 18667  	}
 18668  	return nil
 18669  }
 18670  func (m *ResponseLoadSnapshotChunk) Unmarshal(dAtA []byte) error {
 18671  	l := len(dAtA)
 18672  	iNdEx := 0
 18673  	for iNdEx < l {
 18674  		preIndex := iNdEx
 18675  		var wire uint64
 18676  		for shift := uint(0); ; shift += 7 {
 18677  			if shift >= 64 {
 18678  				return ErrIntOverflowTypes
 18679  			}
 18680  			if iNdEx >= l {
 18681  				return io.ErrUnexpectedEOF
 18682  			}
 18683  			b := dAtA[iNdEx]
 18684  			iNdEx++
 18685  			wire |= uint64(b&0x7F) << shift
 18686  			if b < 0x80 {
 18687  				break
 18688  			}
 18689  		}
 18690  		fieldNum := int32(wire >> 3)
 18691  		wireType := int(wire & 0x7)
 18692  		if wireType == 4 {
 18693  			return fmt.Errorf("proto: ResponseLoadSnapshotChunk: wiretype end group for non-group")
 18694  		}
 18695  		if fieldNum <= 0 {
 18696  			return fmt.Errorf("proto: ResponseLoadSnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire)
 18697  		}
 18698  		switch fieldNum {
 18699  		case 1:
 18700  			if wireType != 2 {
 18701  				return fmt.Errorf("proto: wrong wireType = %d for field Chunk", wireType)
 18702  			}
 18703  			var byteLen int
 18704  			for shift := uint(0); ; shift += 7 {
 18705  				if shift >= 64 {
 18706  					return ErrIntOverflowTypes
 18707  				}
 18708  				if iNdEx >= l {
 18709  					return io.ErrUnexpectedEOF
 18710  				}
 18711  				b := dAtA[iNdEx]
 18712  				iNdEx++
 18713  				byteLen |= int(b&0x7F) << shift
 18714  				if b < 0x80 {
 18715  					break
 18716  				}
 18717  			}
 18718  			if byteLen < 0 {
 18719  				return ErrInvalidLengthTypes
 18720  			}
 18721  			postIndex := iNdEx + byteLen
 18722  			if postIndex < 0 {
 18723  				return ErrInvalidLengthTypes
 18724  			}
 18725  			if postIndex > l {
 18726  				return io.ErrUnexpectedEOF
 18727  			}
 18728  			m.Chunk = append(m.Chunk[:0], dAtA[iNdEx:postIndex]...)
 18729  			if m.Chunk == nil {
 18730  				m.Chunk = []byte{}
 18731  			}
 18732  			iNdEx = postIndex
 18733  		default:
 18734  			iNdEx = preIndex
 18735  			skippy, err := skipTypes(dAtA[iNdEx:])
 18736  			if err != nil {
 18737  				return err
 18738  			}
 18739  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18740  				return ErrInvalidLengthTypes
 18741  			}
 18742  			if (iNdEx + skippy) > l {
 18743  				return io.ErrUnexpectedEOF
 18744  			}
 18745  			iNdEx += skippy
 18746  		}
 18747  	}
 18748  
 18749  	if iNdEx > l {
 18750  		return io.ErrUnexpectedEOF
 18751  	}
 18752  	return nil
 18753  }
 18754  func (m *ResponseApplySnapshotChunk) Unmarshal(dAtA []byte) error {
 18755  	l := len(dAtA)
 18756  	iNdEx := 0
 18757  	for iNdEx < l {
 18758  		preIndex := iNdEx
 18759  		var wire uint64
 18760  		for shift := uint(0); ; shift += 7 {
 18761  			if shift >= 64 {
 18762  				return ErrIntOverflowTypes
 18763  			}
 18764  			if iNdEx >= l {
 18765  				return io.ErrUnexpectedEOF
 18766  			}
 18767  			b := dAtA[iNdEx]
 18768  			iNdEx++
 18769  			wire |= uint64(b&0x7F) << shift
 18770  			if b < 0x80 {
 18771  				break
 18772  			}
 18773  		}
 18774  		fieldNum := int32(wire >> 3)
 18775  		wireType := int(wire & 0x7)
 18776  		if wireType == 4 {
 18777  			return fmt.Errorf("proto: ResponseApplySnapshotChunk: wiretype end group for non-group")
 18778  		}
 18779  		if fieldNum <= 0 {
 18780  			return fmt.Errorf("proto: ResponseApplySnapshotChunk: illegal tag %d (wire type %d)", fieldNum, wire)
 18781  		}
 18782  		switch fieldNum {
 18783  		case 1:
 18784  			if wireType != 0 {
 18785  				return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
 18786  			}
 18787  			m.Result = 0
 18788  			for shift := uint(0); ; shift += 7 {
 18789  				if shift >= 64 {
 18790  					return ErrIntOverflowTypes
 18791  				}
 18792  				if iNdEx >= l {
 18793  					return io.ErrUnexpectedEOF
 18794  				}
 18795  				b := dAtA[iNdEx]
 18796  				iNdEx++
 18797  				m.Result |= ResponseApplySnapshotChunk_Result(b&0x7F) << shift
 18798  				if b < 0x80 {
 18799  					break
 18800  				}
 18801  			}
 18802  		case 2:
 18803  			if wireType == 0 {
 18804  				var v uint32
 18805  				for shift := uint(0); ; shift += 7 {
 18806  					if shift >= 64 {
 18807  						return ErrIntOverflowTypes
 18808  					}
 18809  					if iNdEx >= l {
 18810  						return io.ErrUnexpectedEOF
 18811  					}
 18812  					b := dAtA[iNdEx]
 18813  					iNdEx++
 18814  					v |= uint32(b&0x7F) << shift
 18815  					if b < 0x80 {
 18816  						break
 18817  					}
 18818  				}
 18819  				m.RefetchChunks = append(m.RefetchChunks, v)
 18820  			} else if wireType == 2 {
 18821  				var packedLen int
 18822  				for shift := uint(0); ; shift += 7 {
 18823  					if shift >= 64 {
 18824  						return ErrIntOverflowTypes
 18825  					}
 18826  					if iNdEx >= l {
 18827  						return io.ErrUnexpectedEOF
 18828  					}
 18829  					b := dAtA[iNdEx]
 18830  					iNdEx++
 18831  					packedLen |= int(b&0x7F) << shift
 18832  					if b < 0x80 {
 18833  						break
 18834  					}
 18835  				}
 18836  				if packedLen < 0 {
 18837  					return ErrInvalidLengthTypes
 18838  				}
 18839  				postIndex := iNdEx + packedLen
 18840  				if postIndex < 0 {
 18841  					return ErrInvalidLengthTypes
 18842  				}
 18843  				if postIndex > l {
 18844  					return io.ErrUnexpectedEOF
 18845  				}
 18846  				var elementCount int
 18847  				var count int
 18848  				for _, integer := range dAtA[iNdEx:postIndex] {
 18849  					if integer < 128 {
 18850  						count++
 18851  					}
 18852  				}
 18853  				elementCount = count
 18854  				if elementCount != 0 && len(m.RefetchChunks) == 0 {
 18855  					m.RefetchChunks = make([]uint32, 0, elementCount)
 18856  				}
 18857  				for iNdEx < postIndex {
 18858  					var v uint32
 18859  					for shift := uint(0); ; shift += 7 {
 18860  						if shift >= 64 {
 18861  							return ErrIntOverflowTypes
 18862  						}
 18863  						if iNdEx >= l {
 18864  							return io.ErrUnexpectedEOF
 18865  						}
 18866  						b := dAtA[iNdEx]
 18867  						iNdEx++
 18868  						v |= uint32(b&0x7F) << shift
 18869  						if b < 0x80 {
 18870  							break
 18871  						}
 18872  					}
 18873  					m.RefetchChunks = append(m.RefetchChunks, v)
 18874  				}
 18875  			} else {
 18876  				return fmt.Errorf("proto: wrong wireType = %d for field RefetchChunks", wireType)
 18877  			}
 18878  		case 3:
 18879  			if wireType != 2 {
 18880  				return fmt.Errorf("proto: wrong wireType = %d for field RejectSenders", wireType)
 18881  			}
 18882  			var stringLen uint64
 18883  			for shift := uint(0); ; shift += 7 {
 18884  				if shift >= 64 {
 18885  					return ErrIntOverflowTypes
 18886  				}
 18887  				if iNdEx >= l {
 18888  					return io.ErrUnexpectedEOF
 18889  				}
 18890  				b := dAtA[iNdEx]
 18891  				iNdEx++
 18892  				stringLen |= uint64(b&0x7F) << shift
 18893  				if b < 0x80 {
 18894  					break
 18895  				}
 18896  			}
 18897  			intStringLen := int(stringLen)
 18898  			if intStringLen < 0 {
 18899  				return ErrInvalidLengthTypes
 18900  			}
 18901  			postIndex := iNdEx + intStringLen
 18902  			if postIndex < 0 {
 18903  				return ErrInvalidLengthTypes
 18904  			}
 18905  			if postIndex > l {
 18906  				return io.ErrUnexpectedEOF
 18907  			}
 18908  			m.RejectSenders = append(m.RejectSenders, string(dAtA[iNdEx:postIndex]))
 18909  			iNdEx = postIndex
 18910  		default:
 18911  			iNdEx = preIndex
 18912  			skippy, err := skipTypes(dAtA[iNdEx:])
 18913  			if err != nil {
 18914  				return err
 18915  			}
 18916  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 18917  				return ErrInvalidLengthTypes
 18918  			}
 18919  			if (iNdEx + skippy) > l {
 18920  				return io.ErrUnexpectedEOF
 18921  			}
 18922  			iNdEx += skippy
 18923  		}
 18924  	}
 18925  
 18926  	if iNdEx > l {
 18927  		return io.ErrUnexpectedEOF
 18928  	}
 18929  	return nil
 18930  }
 18931  func (m *ResponsePrepareProposal) Unmarshal(dAtA []byte) error {
 18932  	l := len(dAtA)
 18933  	iNdEx := 0
 18934  	for iNdEx < l {
 18935  		preIndex := iNdEx
 18936  		var wire uint64
 18937  		for shift := uint(0); ; shift += 7 {
 18938  			if shift >= 64 {
 18939  				return ErrIntOverflowTypes
 18940  			}
 18941  			if iNdEx >= l {
 18942  				return io.ErrUnexpectedEOF
 18943  			}
 18944  			b := dAtA[iNdEx]
 18945  			iNdEx++
 18946  			wire |= uint64(b&0x7F) << shift
 18947  			if b < 0x80 {
 18948  				break
 18949  			}
 18950  		}
 18951  		fieldNum := int32(wire >> 3)
 18952  		wireType := int(wire & 0x7)
 18953  		if wireType == 4 {
 18954  			return fmt.Errorf("proto: ResponsePrepareProposal: wiretype end group for non-group")
 18955  		}
 18956  		if fieldNum <= 0 {
 18957  			return fmt.Errorf("proto: ResponsePrepareProposal: illegal tag %d (wire type %d)", fieldNum, wire)
 18958  		}
 18959  		switch fieldNum {
 18960  		case 1:
 18961  			if wireType != 2 {
 18962  				return fmt.Errorf("proto: wrong wireType = %d for field TxRecords", wireType)
 18963  			}
 18964  			var msglen int
 18965  			for shift := uint(0); ; shift += 7 {
 18966  				if shift >= 64 {
 18967  					return ErrIntOverflowTypes
 18968  				}
 18969  				if iNdEx >= l {
 18970  					return io.ErrUnexpectedEOF
 18971  				}
 18972  				b := dAtA[iNdEx]
 18973  				iNdEx++
 18974  				msglen |= int(b&0x7F) << shift
 18975  				if b < 0x80 {
 18976  					break
 18977  				}
 18978  			}
 18979  			if msglen < 0 {
 18980  				return ErrInvalidLengthTypes
 18981  			}
 18982  			postIndex := iNdEx + msglen
 18983  			if postIndex < 0 {
 18984  				return ErrInvalidLengthTypes
 18985  			}
 18986  			if postIndex > l {
 18987  				return io.ErrUnexpectedEOF
 18988  			}
 18989  			m.TxRecords = append(m.TxRecords, &TxRecord{})
 18990  			if err := m.TxRecords[len(m.TxRecords)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 18991  				return err
 18992  			}
 18993  			iNdEx = postIndex
 18994  		case 2:
 18995  			if wireType != 2 {
 18996  				return fmt.Errorf("proto: wrong wireType = %d for field AppHash", wireType)
 18997  			}
 18998  			var byteLen int
 18999  			for shift := uint(0); ; shift += 7 {
 19000  				if shift >= 64 {
 19001  					return ErrIntOverflowTypes
 19002  				}
 19003  				if iNdEx >= l {
 19004  					return io.ErrUnexpectedEOF
 19005  				}
 19006  				b := dAtA[iNdEx]
 19007  				iNdEx++
 19008  				byteLen |= int(b&0x7F) << shift
 19009  				if b < 0x80 {
 19010  					break
 19011  				}
 19012  			}
 19013  			if byteLen < 0 {
 19014  				return ErrInvalidLengthTypes
 19015  			}
 19016  			postIndex := iNdEx + byteLen
 19017  			if postIndex < 0 {
 19018  				return ErrInvalidLengthTypes
 19019  			}
 19020  			if postIndex > l {
 19021  				return io.ErrUnexpectedEOF
 19022  			}
 19023  			m.AppHash = append(m.AppHash[:0], dAtA[iNdEx:postIndex]...)
 19024  			if m.AppHash == nil {
 19025  				m.AppHash = []byte{}
 19026  			}
 19027  			iNdEx = postIndex
 19028  		case 3:
 19029  			if wireType != 2 {
 19030  				return fmt.Errorf("proto: wrong wireType = %d for field TxResults", wireType)
 19031  			}
 19032  			var msglen int
 19033  			for shift := uint(0); ; shift += 7 {
 19034  				if shift >= 64 {
 19035  					return ErrIntOverflowTypes
 19036  				}
 19037  				if iNdEx >= l {
 19038  					return io.ErrUnexpectedEOF
 19039  				}
 19040  				b := dAtA[iNdEx]
 19041  				iNdEx++
 19042  				msglen |= int(b&0x7F) << shift
 19043  				if b < 0x80 {
 19044  					break
 19045  				}
 19046  			}
 19047  			if msglen < 0 {
 19048  				return ErrInvalidLengthTypes
 19049  			}
 19050  			postIndex := iNdEx + msglen
 19051  			if postIndex < 0 {
 19052  				return ErrInvalidLengthTypes
 19053  			}
 19054  			if postIndex > l {
 19055  				return io.ErrUnexpectedEOF
 19056  			}
 19057  			m.TxResults = append(m.TxResults, &ExecTxResult{})
 19058  			if err := m.TxResults[len(m.TxResults)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19059  				return err
 19060  			}
 19061  			iNdEx = postIndex
 19062  		case 4:
 19063  			if wireType != 2 {
 19064  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorUpdates", wireType)
 19065  			}
 19066  			var msglen int
 19067  			for shift := uint(0); ; shift += 7 {
 19068  				if shift >= 64 {
 19069  					return ErrIntOverflowTypes
 19070  				}
 19071  				if iNdEx >= l {
 19072  					return io.ErrUnexpectedEOF
 19073  				}
 19074  				b := dAtA[iNdEx]
 19075  				iNdEx++
 19076  				msglen |= int(b&0x7F) << shift
 19077  				if b < 0x80 {
 19078  					break
 19079  				}
 19080  			}
 19081  			if msglen < 0 {
 19082  				return ErrInvalidLengthTypes
 19083  			}
 19084  			postIndex := iNdEx + msglen
 19085  			if postIndex < 0 {
 19086  				return ErrInvalidLengthTypes
 19087  			}
 19088  			if postIndex > l {
 19089  				return io.ErrUnexpectedEOF
 19090  			}
 19091  			m.ValidatorUpdates = append(m.ValidatorUpdates, &ValidatorUpdate{})
 19092  			if err := m.ValidatorUpdates[len(m.ValidatorUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19093  				return err
 19094  			}
 19095  			iNdEx = postIndex
 19096  		case 5:
 19097  			if wireType != 2 {
 19098  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusParamUpdates", wireType)
 19099  			}
 19100  			var msglen int
 19101  			for shift := uint(0); ; shift += 7 {
 19102  				if shift >= 64 {
 19103  					return ErrIntOverflowTypes
 19104  				}
 19105  				if iNdEx >= l {
 19106  					return io.ErrUnexpectedEOF
 19107  				}
 19108  				b := dAtA[iNdEx]
 19109  				iNdEx++
 19110  				msglen |= int(b&0x7F) << shift
 19111  				if b < 0x80 {
 19112  					break
 19113  				}
 19114  			}
 19115  			if msglen < 0 {
 19116  				return ErrInvalidLengthTypes
 19117  			}
 19118  			postIndex := iNdEx + msglen
 19119  			if postIndex < 0 {
 19120  				return ErrInvalidLengthTypes
 19121  			}
 19122  			if postIndex > l {
 19123  				return io.ErrUnexpectedEOF
 19124  			}
 19125  			if m.ConsensusParamUpdates == nil {
 19126  				m.ConsensusParamUpdates = &types1.ConsensusParams{}
 19127  			}
 19128  			if err := m.ConsensusParamUpdates.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19129  				return err
 19130  			}
 19131  			iNdEx = postIndex
 19132  		default:
 19133  			iNdEx = preIndex
 19134  			skippy, err := skipTypes(dAtA[iNdEx:])
 19135  			if err != nil {
 19136  				return err
 19137  			}
 19138  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19139  				return ErrInvalidLengthTypes
 19140  			}
 19141  			if (iNdEx + skippy) > l {
 19142  				return io.ErrUnexpectedEOF
 19143  			}
 19144  			iNdEx += skippy
 19145  		}
 19146  	}
 19147  
 19148  	if iNdEx > l {
 19149  		return io.ErrUnexpectedEOF
 19150  	}
 19151  	return nil
 19152  }
 19153  func (m *ResponseProcessProposal) Unmarshal(dAtA []byte) error {
 19154  	l := len(dAtA)
 19155  	iNdEx := 0
 19156  	for iNdEx < l {
 19157  		preIndex := iNdEx
 19158  		var wire uint64
 19159  		for shift := uint(0); ; shift += 7 {
 19160  			if shift >= 64 {
 19161  				return ErrIntOverflowTypes
 19162  			}
 19163  			if iNdEx >= l {
 19164  				return io.ErrUnexpectedEOF
 19165  			}
 19166  			b := dAtA[iNdEx]
 19167  			iNdEx++
 19168  			wire |= uint64(b&0x7F) << shift
 19169  			if b < 0x80 {
 19170  				break
 19171  			}
 19172  		}
 19173  		fieldNum := int32(wire >> 3)
 19174  		wireType := int(wire & 0x7)
 19175  		if wireType == 4 {
 19176  			return fmt.Errorf("proto: ResponseProcessProposal: wiretype end group for non-group")
 19177  		}
 19178  		if fieldNum <= 0 {
 19179  			return fmt.Errorf("proto: ResponseProcessProposal: illegal tag %d (wire type %d)", fieldNum, wire)
 19180  		}
 19181  		switch fieldNum {
 19182  		case 1:
 19183  			if wireType != 0 {
 19184  				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
 19185  			}
 19186  			m.Status = 0
 19187  			for shift := uint(0); ; shift += 7 {
 19188  				if shift >= 64 {
 19189  					return ErrIntOverflowTypes
 19190  				}
 19191  				if iNdEx >= l {
 19192  					return io.ErrUnexpectedEOF
 19193  				}
 19194  				b := dAtA[iNdEx]
 19195  				iNdEx++
 19196  				m.Status |= ResponseProcessProposal_ProposalStatus(b&0x7F) << shift
 19197  				if b < 0x80 {
 19198  					break
 19199  				}
 19200  			}
 19201  		case 2:
 19202  			if wireType != 2 {
 19203  				return fmt.Errorf("proto: wrong wireType = %d for field AppHash", wireType)
 19204  			}
 19205  			var byteLen int
 19206  			for shift := uint(0); ; shift += 7 {
 19207  				if shift >= 64 {
 19208  					return ErrIntOverflowTypes
 19209  				}
 19210  				if iNdEx >= l {
 19211  					return io.ErrUnexpectedEOF
 19212  				}
 19213  				b := dAtA[iNdEx]
 19214  				iNdEx++
 19215  				byteLen |= int(b&0x7F) << shift
 19216  				if b < 0x80 {
 19217  					break
 19218  				}
 19219  			}
 19220  			if byteLen < 0 {
 19221  				return ErrInvalidLengthTypes
 19222  			}
 19223  			postIndex := iNdEx + byteLen
 19224  			if postIndex < 0 {
 19225  				return ErrInvalidLengthTypes
 19226  			}
 19227  			if postIndex > l {
 19228  				return io.ErrUnexpectedEOF
 19229  			}
 19230  			m.AppHash = append(m.AppHash[:0], dAtA[iNdEx:postIndex]...)
 19231  			if m.AppHash == nil {
 19232  				m.AppHash = []byte{}
 19233  			}
 19234  			iNdEx = postIndex
 19235  		case 3:
 19236  			if wireType != 2 {
 19237  				return fmt.Errorf("proto: wrong wireType = %d for field TxResults", wireType)
 19238  			}
 19239  			var msglen int
 19240  			for shift := uint(0); ; shift += 7 {
 19241  				if shift >= 64 {
 19242  					return ErrIntOverflowTypes
 19243  				}
 19244  				if iNdEx >= l {
 19245  					return io.ErrUnexpectedEOF
 19246  				}
 19247  				b := dAtA[iNdEx]
 19248  				iNdEx++
 19249  				msglen |= int(b&0x7F) << shift
 19250  				if b < 0x80 {
 19251  					break
 19252  				}
 19253  			}
 19254  			if msglen < 0 {
 19255  				return ErrInvalidLengthTypes
 19256  			}
 19257  			postIndex := iNdEx + msglen
 19258  			if postIndex < 0 {
 19259  				return ErrInvalidLengthTypes
 19260  			}
 19261  			if postIndex > l {
 19262  				return io.ErrUnexpectedEOF
 19263  			}
 19264  			m.TxResults = append(m.TxResults, &ExecTxResult{})
 19265  			if err := m.TxResults[len(m.TxResults)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19266  				return err
 19267  			}
 19268  			iNdEx = postIndex
 19269  		case 4:
 19270  			if wireType != 2 {
 19271  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorUpdates", wireType)
 19272  			}
 19273  			var msglen int
 19274  			for shift := uint(0); ; shift += 7 {
 19275  				if shift >= 64 {
 19276  					return ErrIntOverflowTypes
 19277  				}
 19278  				if iNdEx >= l {
 19279  					return io.ErrUnexpectedEOF
 19280  				}
 19281  				b := dAtA[iNdEx]
 19282  				iNdEx++
 19283  				msglen |= int(b&0x7F) << shift
 19284  				if b < 0x80 {
 19285  					break
 19286  				}
 19287  			}
 19288  			if msglen < 0 {
 19289  				return ErrInvalidLengthTypes
 19290  			}
 19291  			postIndex := iNdEx + msglen
 19292  			if postIndex < 0 {
 19293  				return ErrInvalidLengthTypes
 19294  			}
 19295  			if postIndex > l {
 19296  				return io.ErrUnexpectedEOF
 19297  			}
 19298  			m.ValidatorUpdates = append(m.ValidatorUpdates, &ValidatorUpdate{})
 19299  			if err := m.ValidatorUpdates[len(m.ValidatorUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19300  				return err
 19301  			}
 19302  			iNdEx = postIndex
 19303  		case 5:
 19304  			if wireType != 2 {
 19305  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusParamUpdates", wireType)
 19306  			}
 19307  			var msglen int
 19308  			for shift := uint(0); ; shift += 7 {
 19309  				if shift >= 64 {
 19310  					return ErrIntOverflowTypes
 19311  				}
 19312  				if iNdEx >= l {
 19313  					return io.ErrUnexpectedEOF
 19314  				}
 19315  				b := dAtA[iNdEx]
 19316  				iNdEx++
 19317  				msglen |= int(b&0x7F) << shift
 19318  				if b < 0x80 {
 19319  					break
 19320  				}
 19321  			}
 19322  			if msglen < 0 {
 19323  				return ErrInvalidLengthTypes
 19324  			}
 19325  			postIndex := iNdEx + msglen
 19326  			if postIndex < 0 {
 19327  				return ErrInvalidLengthTypes
 19328  			}
 19329  			if postIndex > l {
 19330  				return io.ErrUnexpectedEOF
 19331  			}
 19332  			if m.ConsensusParamUpdates == nil {
 19333  				m.ConsensusParamUpdates = &types1.ConsensusParams{}
 19334  			}
 19335  			if err := m.ConsensusParamUpdates.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19336  				return err
 19337  			}
 19338  			iNdEx = postIndex
 19339  		default:
 19340  			iNdEx = preIndex
 19341  			skippy, err := skipTypes(dAtA[iNdEx:])
 19342  			if err != nil {
 19343  				return err
 19344  			}
 19345  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19346  				return ErrInvalidLengthTypes
 19347  			}
 19348  			if (iNdEx + skippy) > l {
 19349  				return io.ErrUnexpectedEOF
 19350  			}
 19351  			iNdEx += skippy
 19352  		}
 19353  	}
 19354  
 19355  	if iNdEx > l {
 19356  		return io.ErrUnexpectedEOF
 19357  	}
 19358  	return nil
 19359  }
 19360  func (m *ResponseExtendVote) Unmarshal(dAtA []byte) error {
 19361  	l := len(dAtA)
 19362  	iNdEx := 0
 19363  	for iNdEx < l {
 19364  		preIndex := iNdEx
 19365  		var wire uint64
 19366  		for shift := uint(0); ; shift += 7 {
 19367  			if shift >= 64 {
 19368  				return ErrIntOverflowTypes
 19369  			}
 19370  			if iNdEx >= l {
 19371  				return io.ErrUnexpectedEOF
 19372  			}
 19373  			b := dAtA[iNdEx]
 19374  			iNdEx++
 19375  			wire |= uint64(b&0x7F) << shift
 19376  			if b < 0x80 {
 19377  				break
 19378  			}
 19379  		}
 19380  		fieldNum := int32(wire >> 3)
 19381  		wireType := int(wire & 0x7)
 19382  		if wireType == 4 {
 19383  			return fmt.Errorf("proto: ResponseExtendVote: wiretype end group for non-group")
 19384  		}
 19385  		if fieldNum <= 0 {
 19386  			return fmt.Errorf("proto: ResponseExtendVote: illegal tag %d (wire type %d)", fieldNum, wire)
 19387  		}
 19388  		switch fieldNum {
 19389  		case 1:
 19390  			if wireType != 2 {
 19391  				return fmt.Errorf("proto: wrong wireType = %d for field VoteExtension", wireType)
 19392  			}
 19393  			var byteLen int
 19394  			for shift := uint(0); ; shift += 7 {
 19395  				if shift >= 64 {
 19396  					return ErrIntOverflowTypes
 19397  				}
 19398  				if iNdEx >= l {
 19399  					return io.ErrUnexpectedEOF
 19400  				}
 19401  				b := dAtA[iNdEx]
 19402  				iNdEx++
 19403  				byteLen |= int(b&0x7F) << shift
 19404  				if b < 0x80 {
 19405  					break
 19406  				}
 19407  			}
 19408  			if byteLen < 0 {
 19409  				return ErrInvalidLengthTypes
 19410  			}
 19411  			postIndex := iNdEx + byteLen
 19412  			if postIndex < 0 {
 19413  				return ErrInvalidLengthTypes
 19414  			}
 19415  			if postIndex > l {
 19416  				return io.ErrUnexpectedEOF
 19417  			}
 19418  			m.VoteExtension = append(m.VoteExtension[:0], dAtA[iNdEx:postIndex]...)
 19419  			if m.VoteExtension == nil {
 19420  				m.VoteExtension = []byte{}
 19421  			}
 19422  			iNdEx = postIndex
 19423  		default:
 19424  			iNdEx = preIndex
 19425  			skippy, err := skipTypes(dAtA[iNdEx:])
 19426  			if err != nil {
 19427  				return err
 19428  			}
 19429  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19430  				return ErrInvalidLengthTypes
 19431  			}
 19432  			if (iNdEx + skippy) > l {
 19433  				return io.ErrUnexpectedEOF
 19434  			}
 19435  			iNdEx += skippy
 19436  		}
 19437  	}
 19438  
 19439  	if iNdEx > l {
 19440  		return io.ErrUnexpectedEOF
 19441  	}
 19442  	return nil
 19443  }
 19444  func (m *ResponseVerifyVoteExtension) Unmarshal(dAtA []byte) error {
 19445  	l := len(dAtA)
 19446  	iNdEx := 0
 19447  	for iNdEx < l {
 19448  		preIndex := iNdEx
 19449  		var wire uint64
 19450  		for shift := uint(0); ; shift += 7 {
 19451  			if shift >= 64 {
 19452  				return ErrIntOverflowTypes
 19453  			}
 19454  			if iNdEx >= l {
 19455  				return io.ErrUnexpectedEOF
 19456  			}
 19457  			b := dAtA[iNdEx]
 19458  			iNdEx++
 19459  			wire |= uint64(b&0x7F) << shift
 19460  			if b < 0x80 {
 19461  				break
 19462  			}
 19463  		}
 19464  		fieldNum := int32(wire >> 3)
 19465  		wireType := int(wire & 0x7)
 19466  		if wireType == 4 {
 19467  			return fmt.Errorf("proto: ResponseVerifyVoteExtension: wiretype end group for non-group")
 19468  		}
 19469  		if fieldNum <= 0 {
 19470  			return fmt.Errorf("proto: ResponseVerifyVoteExtension: illegal tag %d (wire type %d)", fieldNum, wire)
 19471  		}
 19472  		switch fieldNum {
 19473  		case 1:
 19474  			if wireType != 0 {
 19475  				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
 19476  			}
 19477  			m.Status = 0
 19478  			for shift := uint(0); ; shift += 7 {
 19479  				if shift >= 64 {
 19480  					return ErrIntOverflowTypes
 19481  				}
 19482  				if iNdEx >= l {
 19483  					return io.ErrUnexpectedEOF
 19484  				}
 19485  				b := dAtA[iNdEx]
 19486  				iNdEx++
 19487  				m.Status |= ResponseVerifyVoteExtension_VerifyStatus(b&0x7F) << shift
 19488  				if b < 0x80 {
 19489  					break
 19490  				}
 19491  			}
 19492  		default:
 19493  			iNdEx = preIndex
 19494  			skippy, err := skipTypes(dAtA[iNdEx:])
 19495  			if err != nil {
 19496  				return err
 19497  			}
 19498  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19499  				return ErrInvalidLengthTypes
 19500  			}
 19501  			if (iNdEx + skippy) > l {
 19502  				return io.ErrUnexpectedEOF
 19503  			}
 19504  			iNdEx += skippy
 19505  		}
 19506  	}
 19507  
 19508  	if iNdEx > l {
 19509  		return io.ErrUnexpectedEOF
 19510  	}
 19511  	return nil
 19512  }
 19513  func (m *ResponseFinalizeBlock) Unmarshal(dAtA []byte) error {
 19514  	l := len(dAtA)
 19515  	iNdEx := 0
 19516  	for iNdEx < l {
 19517  		preIndex := iNdEx
 19518  		var wire uint64
 19519  		for shift := uint(0); ; shift += 7 {
 19520  			if shift >= 64 {
 19521  				return ErrIntOverflowTypes
 19522  			}
 19523  			if iNdEx >= l {
 19524  				return io.ErrUnexpectedEOF
 19525  			}
 19526  			b := dAtA[iNdEx]
 19527  			iNdEx++
 19528  			wire |= uint64(b&0x7F) << shift
 19529  			if b < 0x80 {
 19530  				break
 19531  			}
 19532  		}
 19533  		fieldNum := int32(wire >> 3)
 19534  		wireType := int(wire & 0x7)
 19535  		if wireType == 4 {
 19536  			return fmt.Errorf("proto: ResponseFinalizeBlock: wiretype end group for non-group")
 19537  		}
 19538  		if fieldNum <= 0 {
 19539  			return fmt.Errorf("proto: ResponseFinalizeBlock: illegal tag %d (wire type %d)", fieldNum, wire)
 19540  		}
 19541  		switch fieldNum {
 19542  		case 1:
 19543  			if wireType != 2 {
 19544  				return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
 19545  			}
 19546  			var msglen int
 19547  			for shift := uint(0); ; shift += 7 {
 19548  				if shift >= 64 {
 19549  					return ErrIntOverflowTypes
 19550  				}
 19551  				if iNdEx >= l {
 19552  					return io.ErrUnexpectedEOF
 19553  				}
 19554  				b := dAtA[iNdEx]
 19555  				iNdEx++
 19556  				msglen |= int(b&0x7F) << shift
 19557  				if b < 0x80 {
 19558  					break
 19559  				}
 19560  			}
 19561  			if msglen < 0 {
 19562  				return ErrInvalidLengthTypes
 19563  			}
 19564  			postIndex := iNdEx + msglen
 19565  			if postIndex < 0 {
 19566  				return ErrInvalidLengthTypes
 19567  			}
 19568  			if postIndex > l {
 19569  				return io.ErrUnexpectedEOF
 19570  			}
 19571  			m.Events = append(m.Events, Event{})
 19572  			if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19573  				return err
 19574  			}
 19575  			iNdEx = postIndex
 19576  		case 2:
 19577  			if wireType != 2 {
 19578  				return fmt.Errorf("proto: wrong wireType = %d for field TxResults", wireType)
 19579  			}
 19580  			var msglen int
 19581  			for shift := uint(0); ; shift += 7 {
 19582  				if shift >= 64 {
 19583  					return ErrIntOverflowTypes
 19584  				}
 19585  				if iNdEx >= l {
 19586  					return io.ErrUnexpectedEOF
 19587  				}
 19588  				b := dAtA[iNdEx]
 19589  				iNdEx++
 19590  				msglen |= int(b&0x7F) << shift
 19591  				if b < 0x80 {
 19592  					break
 19593  				}
 19594  			}
 19595  			if msglen < 0 {
 19596  				return ErrInvalidLengthTypes
 19597  			}
 19598  			postIndex := iNdEx + msglen
 19599  			if postIndex < 0 {
 19600  				return ErrInvalidLengthTypes
 19601  			}
 19602  			if postIndex > l {
 19603  				return io.ErrUnexpectedEOF
 19604  			}
 19605  			m.TxResults = append(m.TxResults, &ExecTxResult{})
 19606  			if err := m.TxResults[len(m.TxResults)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19607  				return err
 19608  			}
 19609  			iNdEx = postIndex
 19610  		case 3:
 19611  			if wireType != 2 {
 19612  				return fmt.Errorf("proto: wrong wireType = %d for field ValidatorUpdates", wireType)
 19613  			}
 19614  			var msglen int
 19615  			for shift := uint(0); ; shift += 7 {
 19616  				if shift >= 64 {
 19617  					return ErrIntOverflowTypes
 19618  				}
 19619  				if iNdEx >= l {
 19620  					return io.ErrUnexpectedEOF
 19621  				}
 19622  				b := dAtA[iNdEx]
 19623  				iNdEx++
 19624  				msglen |= int(b&0x7F) << shift
 19625  				if b < 0x80 {
 19626  					break
 19627  				}
 19628  			}
 19629  			if msglen < 0 {
 19630  				return ErrInvalidLengthTypes
 19631  			}
 19632  			postIndex := iNdEx + msglen
 19633  			if postIndex < 0 {
 19634  				return ErrInvalidLengthTypes
 19635  			}
 19636  			if postIndex > l {
 19637  				return io.ErrUnexpectedEOF
 19638  			}
 19639  			m.ValidatorUpdates = append(m.ValidatorUpdates, ValidatorUpdate{})
 19640  			if err := m.ValidatorUpdates[len(m.ValidatorUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19641  				return err
 19642  			}
 19643  			iNdEx = postIndex
 19644  		case 4:
 19645  			if wireType != 2 {
 19646  				return fmt.Errorf("proto: wrong wireType = %d for field ConsensusParamUpdates", wireType)
 19647  			}
 19648  			var msglen int
 19649  			for shift := uint(0); ; shift += 7 {
 19650  				if shift >= 64 {
 19651  					return ErrIntOverflowTypes
 19652  				}
 19653  				if iNdEx >= l {
 19654  					return io.ErrUnexpectedEOF
 19655  				}
 19656  				b := dAtA[iNdEx]
 19657  				iNdEx++
 19658  				msglen |= int(b&0x7F) << shift
 19659  				if b < 0x80 {
 19660  					break
 19661  				}
 19662  			}
 19663  			if msglen < 0 {
 19664  				return ErrInvalidLengthTypes
 19665  			}
 19666  			postIndex := iNdEx + msglen
 19667  			if postIndex < 0 {
 19668  				return ErrInvalidLengthTypes
 19669  			}
 19670  			if postIndex > l {
 19671  				return io.ErrUnexpectedEOF
 19672  			}
 19673  			if m.ConsensusParamUpdates == nil {
 19674  				m.ConsensusParamUpdates = &types1.ConsensusParams{}
 19675  			}
 19676  			if err := m.ConsensusParamUpdates.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19677  				return err
 19678  			}
 19679  			iNdEx = postIndex
 19680  		case 5:
 19681  			if wireType != 2 {
 19682  				return fmt.Errorf("proto: wrong wireType = %d for field AppHash", wireType)
 19683  			}
 19684  			var byteLen int
 19685  			for shift := uint(0); ; shift += 7 {
 19686  				if shift >= 64 {
 19687  					return ErrIntOverflowTypes
 19688  				}
 19689  				if iNdEx >= l {
 19690  					return io.ErrUnexpectedEOF
 19691  				}
 19692  				b := dAtA[iNdEx]
 19693  				iNdEx++
 19694  				byteLen |= int(b&0x7F) << shift
 19695  				if b < 0x80 {
 19696  					break
 19697  				}
 19698  			}
 19699  			if byteLen < 0 {
 19700  				return ErrInvalidLengthTypes
 19701  			}
 19702  			postIndex := iNdEx + byteLen
 19703  			if postIndex < 0 {
 19704  				return ErrInvalidLengthTypes
 19705  			}
 19706  			if postIndex > l {
 19707  				return io.ErrUnexpectedEOF
 19708  			}
 19709  			m.AppHash = append(m.AppHash[:0], dAtA[iNdEx:postIndex]...)
 19710  			if m.AppHash == nil {
 19711  				m.AppHash = []byte{}
 19712  			}
 19713  			iNdEx = postIndex
 19714  		default:
 19715  			iNdEx = preIndex
 19716  			skippy, err := skipTypes(dAtA[iNdEx:])
 19717  			if err != nil {
 19718  				return err
 19719  			}
 19720  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19721  				return ErrInvalidLengthTypes
 19722  			}
 19723  			if (iNdEx + skippy) > l {
 19724  				return io.ErrUnexpectedEOF
 19725  			}
 19726  			iNdEx += skippy
 19727  		}
 19728  	}
 19729  
 19730  	if iNdEx > l {
 19731  		return io.ErrUnexpectedEOF
 19732  	}
 19733  	return nil
 19734  }
 19735  func (m *ResponseLoadLatest) Unmarshal(dAtA []byte) error {
 19736  	l := len(dAtA)
 19737  	iNdEx := 0
 19738  	for iNdEx < l {
 19739  		preIndex := iNdEx
 19740  		var wire uint64
 19741  		for shift := uint(0); ; shift += 7 {
 19742  			if shift >= 64 {
 19743  				return ErrIntOverflowTypes
 19744  			}
 19745  			if iNdEx >= l {
 19746  				return io.ErrUnexpectedEOF
 19747  			}
 19748  			b := dAtA[iNdEx]
 19749  			iNdEx++
 19750  			wire |= uint64(b&0x7F) << shift
 19751  			if b < 0x80 {
 19752  				break
 19753  			}
 19754  		}
 19755  		fieldNum := int32(wire >> 3)
 19756  		wireType := int(wire & 0x7)
 19757  		if wireType == 4 {
 19758  			return fmt.Errorf("proto: ResponseLoadLatest: wiretype end group for non-group")
 19759  		}
 19760  		if fieldNum <= 0 {
 19761  			return fmt.Errorf("proto: ResponseLoadLatest: illegal tag %d (wire type %d)", fieldNum, wire)
 19762  		}
 19763  		switch fieldNum {
 19764  		default:
 19765  			iNdEx = preIndex
 19766  			skippy, err := skipTypes(dAtA[iNdEx:])
 19767  			if err != nil {
 19768  				return err
 19769  			}
 19770  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19771  				return ErrInvalidLengthTypes
 19772  			}
 19773  			if (iNdEx + skippy) > l {
 19774  				return io.ErrUnexpectedEOF
 19775  			}
 19776  			iNdEx += skippy
 19777  		}
 19778  	}
 19779  
 19780  	if iNdEx > l {
 19781  		return io.ErrUnexpectedEOF
 19782  	}
 19783  	return nil
 19784  }
 19785  func (m *CommitInfo) Unmarshal(dAtA []byte) error {
 19786  	l := len(dAtA)
 19787  	iNdEx := 0
 19788  	for iNdEx < l {
 19789  		preIndex := iNdEx
 19790  		var wire uint64
 19791  		for shift := uint(0); ; shift += 7 {
 19792  			if shift >= 64 {
 19793  				return ErrIntOverflowTypes
 19794  			}
 19795  			if iNdEx >= l {
 19796  				return io.ErrUnexpectedEOF
 19797  			}
 19798  			b := dAtA[iNdEx]
 19799  			iNdEx++
 19800  			wire |= uint64(b&0x7F) << shift
 19801  			if b < 0x80 {
 19802  				break
 19803  			}
 19804  		}
 19805  		fieldNum := int32(wire >> 3)
 19806  		wireType := int(wire & 0x7)
 19807  		if wireType == 4 {
 19808  			return fmt.Errorf("proto: CommitInfo: wiretype end group for non-group")
 19809  		}
 19810  		if fieldNum <= 0 {
 19811  			return fmt.Errorf("proto: CommitInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 19812  		}
 19813  		switch fieldNum {
 19814  		case 1:
 19815  			if wireType != 0 {
 19816  				return fmt.Errorf("proto: wrong wireType = %d for field Round", wireType)
 19817  			}
 19818  			m.Round = 0
 19819  			for shift := uint(0); ; shift += 7 {
 19820  				if shift >= 64 {
 19821  					return ErrIntOverflowTypes
 19822  				}
 19823  				if iNdEx >= l {
 19824  					return io.ErrUnexpectedEOF
 19825  				}
 19826  				b := dAtA[iNdEx]
 19827  				iNdEx++
 19828  				m.Round |= int32(b&0x7F) << shift
 19829  				if b < 0x80 {
 19830  					break
 19831  				}
 19832  			}
 19833  		case 2:
 19834  			if wireType != 2 {
 19835  				return fmt.Errorf("proto: wrong wireType = %d for field Votes", wireType)
 19836  			}
 19837  			var msglen int
 19838  			for shift := uint(0); ; shift += 7 {
 19839  				if shift >= 64 {
 19840  					return ErrIntOverflowTypes
 19841  				}
 19842  				if iNdEx >= l {
 19843  					return io.ErrUnexpectedEOF
 19844  				}
 19845  				b := dAtA[iNdEx]
 19846  				iNdEx++
 19847  				msglen |= int(b&0x7F) << shift
 19848  				if b < 0x80 {
 19849  					break
 19850  				}
 19851  			}
 19852  			if msglen < 0 {
 19853  				return ErrInvalidLengthTypes
 19854  			}
 19855  			postIndex := iNdEx + msglen
 19856  			if postIndex < 0 {
 19857  				return ErrInvalidLengthTypes
 19858  			}
 19859  			if postIndex > l {
 19860  				return io.ErrUnexpectedEOF
 19861  			}
 19862  			m.Votes = append(m.Votes, VoteInfo{})
 19863  			if err := m.Votes[len(m.Votes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19864  				return err
 19865  			}
 19866  			iNdEx = postIndex
 19867  		default:
 19868  			iNdEx = preIndex
 19869  			skippy, err := skipTypes(dAtA[iNdEx:])
 19870  			if err != nil {
 19871  				return err
 19872  			}
 19873  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19874  				return ErrInvalidLengthTypes
 19875  			}
 19876  			if (iNdEx + skippy) > l {
 19877  				return io.ErrUnexpectedEOF
 19878  			}
 19879  			iNdEx += skippy
 19880  		}
 19881  	}
 19882  
 19883  	if iNdEx > l {
 19884  		return io.ErrUnexpectedEOF
 19885  	}
 19886  	return nil
 19887  }
 19888  func (m *LastCommitInfo) Unmarshal(dAtA []byte) error {
 19889  	l := len(dAtA)
 19890  	iNdEx := 0
 19891  	for iNdEx < l {
 19892  		preIndex := iNdEx
 19893  		var wire uint64
 19894  		for shift := uint(0); ; shift += 7 {
 19895  			if shift >= 64 {
 19896  				return ErrIntOverflowTypes
 19897  			}
 19898  			if iNdEx >= l {
 19899  				return io.ErrUnexpectedEOF
 19900  			}
 19901  			b := dAtA[iNdEx]
 19902  			iNdEx++
 19903  			wire |= uint64(b&0x7F) << shift
 19904  			if b < 0x80 {
 19905  				break
 19906  			}
 19907  		}
 19908  		fieldNum := int32(wire >> 3)
 19909  		wireType := int(wire & 0x7)
 19910  		if wireType == 4 {
 19911  			return fmt.Errorf("proto: LastCommitInfo: wiretype end group for non-group")
 19912  		}
 19913  		if fieldNum <= 0 {
 19914  			return fmt.Errorf("proto: LastCommitInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 19915  		}
 19916  		switch fieldNum {
 19917  		case 1:
 19918  			if wireType != 0 {
 19919  				return fmt.Errorf("proto: wrong wireType = %d for field Round", wireType)
 19920  			}
 19921  			m.Round = 0
 19922  			for shift := uint(0); ; shift += 7 {
 19923  				if shift >= 64 {
 19924  					return ErrIntOverflowTypes
 19925  				}
 19926  				if iNdEx >= l {
 19927  					return io.ErrUnexpectedEOF
 19928  				}
 19929  				b := dAtA[iNdEx]
 19930  				iNdEx++
 19931  				m.Round |= int32(b&0x7F) << shift
 19932  				if b < 0x80 {
 19933  					break
 19934  				}
 19935  			}
 19936  		case 2:
 19937  			if wireType != 2 {
 19938  				return fmt.Errorf("proto: wrong wireType = %d for field Votes", wireType)
 19939  			}
 19940  			var msglen int
 19941  			for shift := uint(0); ; shift += 7 {
 19942  				if shift >= 64 {
 19943  					return ErrIntOverflowTypes
 19944  				}
 19945  				if iNdEx >= l {
 19946  					return io.ErrUnexpectedEOF
 19947  				}
 19948  				b := dAtA[iNdEx]
 19949  				iNdEx++
 19950  				msglen |= int(b&0x7F) << shift
 19951  				if b < 0x80 {
 19952  					break
 19953  				}
 19954  			}
 19955  			if msglen < 0 {
 19956  				return ErrInvalidLengthTypes
 19957  			}
 19958  			postIndex := iNdEx + msglen
 19959  			if postIndex < 0 {
 19960  				return ErrInvalidLengthTypes
 19961  			}
 19962  			if postIndex > l {
 19963  				return io.ErrUnexpectedEOF
 19964  			}
 19965  			m.Votes = append(m.Votes, VoteInfo{})
 19966  			if err := m.Votes[len(m.Votes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 19967  				return err
 19968  			}
 19969  			iNdEx = postIndex
 19970  		default:
 19971  			iNdEx = preIndex
 19972  			skippy, err := skipTypes(dAtA[iNdEx:])
 19973  			if err != nil {
 19974  				return err
 19975  			}
 19976  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 19977  				return ErrInvalidLengthTypes
 19978  			}
 19979  			if (iNdEx + skippy) > l {
 19980  				return io.ErrUnexpectedEOF
 19981  			}
 19982  			iNdEx += skippy
 19983  		}
 19984  	}
 19985  
 19986  	if iNdEx > l {
 19987  		return io.ErrUnexpectedEOF
 19988  	}
 19989  	return nil
 19990  }
 19991  func (m *ExtendedCommitInfo) Unmarshal(dAtA []byte) error {
 19992  	l := len(dAtA)
 19993  	iNdEx := 0
 19994  	for iNdEx < l {
 19995  		preIndex := iNdEx
 19996  		var wire uint64
 19997  		for shift := uint(0); ; shift += 7 {
 19998  			if shift >= 64 {
 19999  				return ErrIntOverflowTypes
 20000  			}
 20001  			if iNdEx >= l {
 20002  				return io.ErrUnexpectedEOF
 20003  			}
 20004  			b := dAtA[iNdEx]
 20005  			iNdEx++
 20006  			wire |= uint64(b&0x7F) << shift
 20007  			if b < 0x80 {
 20008  				break
 20009  			}
 20010  		}
 20011  		fieldNum := int32(wire >> 3)
 20012  		wireType := int(wire & 0x7)
 20013  		if wireType == 4 {
 20014  			return fmt.Errorf("proto: ExtendedCommitInfo: wiretype end group for non-group")
 20015  		}
 20016  		if fieldNum <= 0 {
 20017  			return fmt.Errorf("proto: ExtendedCommitInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 20018  		}
 20019  		switch fieldNum {
 20020  		case 1:
 20021  			if wireType != 0 {
 20022  				return fmt.Errorf("proto: wrong wireType = %d for field Round", wireType)
 20023  			}
 20024  			m.Round = 0
 20025  			for shift := uint(0); ; shift += 7 {
 20026  				if shift >= 64 {
 20027  					return ErrIntOverflowTypes
 20028  				}
 20029  				if iNdEx >= l {
 20030  					return io.ErrUnexpectedEOF
 20031  				}
 20032  				b := dAtA[iNdEx]
 20033  				iNdEx++
 20034  				m.Round |= int32(b&0x7F) << shift
 20035  				if b < 0x80 {
 20036  					break
 20037  				}
 20038  			}
 20039  		case 2:
 20040  			if wireType != 2 {
 20041  				return fmt.Errorf("proto: wrong wireType = %d for field Votes", wireType)
 20042  			}
 20043  			var msglen int
 20044  			for shift := uint(0); ; shift += 7 {
 20045  				if shift >= 64 {
 20046  					return ErrIntOverflowTypes
 20047  				}
 20048  				if iNdEx >= l {
 20049  					return io.ErrUnexpectedEOF
 20050  				}
 20051  				b := dAtA[iNdEx]
 20052  				iNdEx++
 20053  				msglen |= int(b&0x7F) << shift
 20054  				if b < 0x80 {
 20055  					break
 20056  				}
 20057  			}
 20058  			if msglen < 0 {
 20059  				return ErrInvalidLengthTypes
 20060  			}
 20061  			postIndex := iNdEx + msglen
 20062  			if postIndex < 0 {
 20063  				return ErrInvalidLengthTypes
 20064  			}
 20065  			if postIndex > l {
 20066  				return io.ErrUnexpectedEOF
 20067  			}
 20068  			m.Votes = append(m.Votes, ExtendedVoteInfo{})
 20069  			if err := m.Votes[len(m.Votes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20070  				return err
 20071  			}
 20072  			iNdEx = postIndex
 20073  		default:
 20074  			iNdEx = preIndex
 20075  			skippy, err := skipTypes(dAtA[iNdEx:])
 20076  			if err != nil {
 20077  				return err
 20078  			}
 20079  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20080  				return ErrInvalidLengthTypes
 20081  			}
 20082  			if (iNdEx + skippy) > l {
 20083  				return io.ErrUnexpectedEOF
 20084  			}
 20085  			iNdEx += skippy
 20086  		}
 20087  	}
 20088  
 20089  	if iNdEx > l {
 20090  		return io.ErrUnexpectedEOF
 20091  	}
 20092  	return nil
 20093  }
 20094  func (m *Event) Unmarshal(dAtA []byte) error {
 20095  	l := len(dAtA)
 20096  	iNdEx := 0
 20097  	for iNdEx < l {
 20098  		preIndex := iNdEx
 20099  		var wire uint64
 20100  		for shift := uint(0); ; shift += 7 {
 20101  			if shift >= 64 {
 20102  				return ErrIntOverflowTypes
 20103  			}
 20104  			if iNdEx >= l {
 20105  				return io.ErrUnexpectedEOF
 20106  			}
 20107  			b := dAtA[iNdEx]
 20108  			iNdEx++
 20109  			wire |= uint64(b&0x7F) << shift
 20110  			if b < 0x80 {
 20111  				break
 20112  			}
 20113  		}
 20114  		fieldNum := int32(wire >> 3)
 20115  		wireType := int(wire & 0x7)
 20116  		if wireType == 4 {
 20117  			return fmt.Errorf("proto: Event: wiretype end group for non-group")
 20118  		}
 20119  		if fieldNum <= 0 {
 20120  			return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire)
 20121  		}
 20122  		switch fieldNum {
 20123  		case 1:
 20124  			if wireType != 2 {
 20125  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
 20126  			}
 20127  			var stringLen uint64
 20128  			for shift := uint(0); ; shift += 7 {
 20129  				if shift >= 64 {
 20130  					return ErrIntOverflowTypes
 20131  				}
 20132  				if iNdEx >= l {
 20133  					return io.ErrUnexpectedEOF
 20134  				}
 20135  				b := dAtA[iNdEx]
 20136  				iNdEx++
 20137  				stringLen |= uint64(b&0x7F) << shift
 20138  				if b < 0x80 {
 20139  					break
 20140  				}
 20141  			}
 20142  			intStringLen := int(stringLen)
 20143  			if intStringLen < 0 {
 20144  				return ErrInvalidLengthTypes
 20145  			}
 20146  			postIndex := iNdEx + intStringLen
 20147  			if postIndex < 0 {
 20148  				return ErrInvalidLengthTypes
 20149  			}
 20150  			if postIndex > l {
 20151  				return io.ErrUnexpectedEOF
 20152  			}
 20153  			m.Type = string(dAtA[iNdEx:postIndex])
 20154  			iNdEx = postIndex
 20155  		case 2:
 20156  			if wireType != 2 {
 20157  				return fmt.Errorf("proto: wrong wireType = %d for field Attributes", wireType)
 20158  			}
 20159  			var msglen int
 20160  			for shift := uint(0); ; shift += 7 {
 20161  				if shift >= 64 {
 20162  					return ErrIntOverflowTypes
 20163  				}
 20164  				if iNdEx >= l {
 20165  					return io.ErrUnexpectedEOF
 20166  				}
 20167  				b := dAtA[iNdEx]
 20168  				iNdEx++
 20169  				msglen |= int(b&0x7F) << shift
 20170  				if b < 0x80 {
 20171  					break
 20172  				}
 20173  			}
 20174  			if msglen < 0 {
 20175  				return ErrInvalidLengthTypes
 20176  			}
 20177  			postIndex := iNdEx + msglen
 20178  			if postIndex < 0 {
 20179  				return ErrInvalidLengthTypes
 20180  			}
 20181  			if postIndex > l {
 20182  				return io.ErrUnexpectedEOF
 20183  			}
 20184  			m.Attributes = append(m.Attributes, EventAttribute{})
 20185  			if err := m.Attributes[len(m.Attributes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20186  				return err
 20187  			}
 20188  			iNdEx = postIndex
 20189  		default:
 20190  			iNdEx = preIndex
 20191  			skippy, err := skipTypes(dAtA[iNdEx:])
 20192  			if err != nil {
 20193  				return err
 20194  			}
 20195  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20196  				return ErrInvalidLengthTypes
 20197  			}
 20198  			if (iNdEx + skippy) > l {
 20199  				return io.ErrUnexpectedEOF
 20200  			}
 20201  			iNdEx += skippy
 20202  		}
 20203  	}
 20204  
 20205  	if iNdEx > l {
 20206  		return io.ErrUnexpectedEOF
 20207  	}
 20208  	return nil
 20209  }
 20210  func (m *EventAttribute) Unmarshal(dAtA []byte) error {
 20211  	l := len(dAtA)
 20212  	iNdEx := 0
 20213  	for iNdEx < l {
 20214  		preIndex := iNdEx
 20215  		var wire uint64
 20216  		for shift := uint(0); ; shift += 7 {
 20217  			if shift >= 64 {
 20218  				return ErrIntOverflowTypes
 20219  			}
 20220  			if iNdEx >= l {
 20221  				return io.ErrUnexpectedEOF
 20222  			}
 20223  			b := dAtA[iNdEx]
 20224  			iNdEx++
 20225  			wire |= uint64(b&0x7F) << shift
 20226  			if b < 0x80 {
 20227  				break
 20228  			}
 20229  		}
 20230  		fieldNum := int32(wire >> 3)
 20231  		wireType := int(wire & 0x7)
 20232  		if wireType == 4 {
 20233  			return fmt.Errorf("proto: EventAttribute: wiretype end group for non-group")
 20234  		}
 20235  		if fieldNum <= 0 {
 20236  			return fmt.Errorf("proto: EventAttribute: illegal tag %d (wire type %d)", fieldNum, wire)
 20237  		}
 20238  		switch fieldNum {
 20239  		case 1:
 20240  			if wireType != 2 {
 20241  				return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
 20242  			}
 20243  			var byteLen int
 20244  			for shift := uint(0); ; shift += 7 {
 20245  				if shift >= 64 {
 20246  					return ErrIntOverflowTypes
 20247  				}
 20248  				if iNdEx >= l {
 20249  					return io.ErrUnexpectedEOF
 20250  				}
 20251  				b := dAtA[iNdEx]
 20252  				iNdEx++
 20253  				byteLen |= int(b&0x7F) << shift
 20254  				if b < 0x80 {
 20255  					break
 20256  				}
 20257  			}
 20258  			if byteLen < 0 {
 20259  				return ErrInvalidLengthTypes
 20260  			}
 20261  			postIndex := iNdEx + byteLen
 20262  			if postIndex < 0 {
 20263  				return ErrInvalidLengthTypes
 20264  			}
 20265  			if postIndex > l {
 20266  				return io.ErrUnexpectedEOF
 20267  			}
 20268  			m.Key = append(m.Key[:0], dAtA[iNdEx:postIndex]...)
 20269  			if m.Key == nil {
 20270  				m.Key = []byte{}
 20271  			}
 20272  			iNdEx = postIndex
 20273  		case 2:
 20274  			if wireType != 2 {
 20275  				return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
 20276  			}
 20277  			var byteLen int
 20278  			for shift := uint(0); ; shift += 7 {
 20279  				if shift >= 64 {
 20280  					return ErrIntOverflowTypes
 20281  				}
 20282  				if iNdEx >= l {
 20283  					return io.ErrUnexpectedEOF
 20284  				}
 20285  				b := dAtA[iNdEx]
 20286  				iNdEx++
 20287  				byteLen |= int(b&0x7F) << shift
 20288  				if b < 0x80 {
 20289  					break
 20290  				}
 20291  			}
 20292  			if byteLen < 0 {
 20293  				return ErrInvalidLengthTypes
 20294  			}
 20295  			postIndex := iNdEx + byteLen
 20296  			if postIndex < 0 {
 20297  				return ErrInvalidLengthTypes
 20298  			}
 20299  			if postIndex > l {
 20300  				return io.ErrUnexpectedEOF
 20301  			}
 20302  			m.Value = append(m.Value[:0], dAtA[iNdEx:postIndex]...)
 20303  			if m.Value == nil {
 20304  				m.Value = []byte{}
 20305  			}
 20306  			iNdEx = postIndex
 20307  		case 3:
 20308  			if wireType != 0 {
 20309  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 20310  			}
 20311  			var v int
 20312  			for shift := uint(0); ; shift += 7 {
 20313  				if shift >= 64 {
 20314  					return ErrIntOverflowTypes
 20315  				}
 20316  				if iNdEx >= l {
 20317  					return io.ErrUnexpectedEOF
 20318  				}
 20319  				b := dAtA[iNdEx]
 20320  				iNdEx++
 20321  				v |= int(b&0x7F) << shift
 20322  				if b < 0x80 {
 20323  					break
 20324  				}
 20325  			}
 20326  			m.Index = bool(v != 0)
 20327  		default:
 20328  			iNdEx = preIndex
 20329  			skippy, err := skipTypes(dAtA[iNdEx:])
 20330  			if err != nil {
 20331  				return err
 20332  			}
 20333  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20334  				return ErrInvalidLengthTypes
 20335  			}
 20336  			if (iNdEx + skippy) > l {
 20337  				return io.ErrUnexpectedEOF
 20338  			}
 20339  			iNdEx += skippy
 20340  		}
 20341  	}
 20342  
 20343  	if iNdEx > l {
 20344  		return io.ErrUnexpectedEOF
 20345  	}
 20346  	return nil
 20347  }
 20348  func (m *ExecTxResult) Unmarshal(dAtA []byte) error {
 20349  	l := len(dAtA)
 20350  	iNdEx := 0
 20351  	for iNdEx < l {
 20352  		preIndex := iNdEx
 20353  		var wire uint64
 20354  		for shift := uint(0); ; shift += 7 {
 20355  			if shift >= 64 {
 20356  				return ErrIntOverflowTypes
 20357  			}
 20358  			if iNdEx >= l {
 20359  				return io.ErrUnexpectedEOF
 20360  			}
 20361  			b := dAtA[iNdEx]
 20362  			iNdEx++
 20363  			wire |= uint64(b&0x7F) << shift
 20364  			if b < 0x80 {
 20365  				break
 20366  			}
 20367  		}
 20368  		fieldNum := int32(wire >> 3)
 20369  		wireType := int(wire & 0x7)
 20370  		if wireType == 4 {
 20371  			return fmt.Errorf("proto: ExecTxResult: wiretype end group for non-group")
 20372  		}
 20373  		if fieldNum <= 0 {
 20374  			return fmt.Errorf("proto: ExecTxResult: illegal tag %d (wire type %d)", fieldNum, wire)
 20375  		}
 20376  		switch fieldNum {
 20377  		case 1:
 20378  			if wireType != 0 {
 20379  				return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
 20380  			}
 20381  			m.Code = 0
 20382  			for shift := uint(0); ; shift += 7 {
 20383  				if shift >= 64 {
 20384  					return ErrIntOverflowTypes
 20385  				}
 20386  				if iNdEx >= l {
 20387  					return io.ErrUnexpectedEOF
 20388  				}
 20389  				b := dAtA[iNdEx]
 20390  				iNdEx++
 20391  				m.Code |= uint32(b&0x7F) << shift
 20392  				if b < 0x80 {
 20393  					break
 20394  				}
 20395  			}
 20396  		case 2:
 20397  			if wireType != 2 {
 20398  				return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
 20399  			}
 20400  			var byteLen int
 20401  			for shift := uint(0); ; shift += 7 {
 20402  				if shift >= 64 {
 20403  					return ErrIntOverflowTypes
 20404  				}
 20405  				if iNdEx >= l {
 20406  					return io.ErrUnexpectedEOF
 20407  				}
 20408  				b := dAtA[iNdEx]
 20409  				iNdEx++
 20410  				byteLen |= int(b&0x7F) << shift
 20411  				if b < 0x80 {
 20412  					break
 20413  				}
 20414  			}
 20415  			if byteLen < 0 {
 20416  				return ErrInvalidLengthTypes
 20417  			}
 20418  			postIndex := iNdEx + byteLen
 20419  			if postIndex < 0 {
 20420  				return ErrInvalidLengthTypes
 20421  			}
 20422  			if postIndex > l {
 20423  				return io.ErrUnexpectedEOF
 20424  			}
 20425  			m.Data = append(m.Data[:0], dAtA[iNdEx:postIndex]...)
 20426  			if m.Data == nil {
 20427  				m.Data = []byte{}
 20428  			}
 20429  			iNdEx = postIndex
 20430  		case 3:
 20431  			if wireType != 2 {
 20432  				return fmt.Errorf("proto: wrong wireType = %d for field Log", wireType)
 20433  			}
 20434  			var stringLen uint64
 20435  			for shift := uint(0); ; shift += 7 {
 20436  				if shift >= 64 {
 20437  					return ErrIntOverflowTypes
 20438  				}
 20439  				if iNdEx >= l {
 20440  					return io.ErrUnexpectedEOF
 20441  				}
 20442  				b := dAtA[iNdEx]
 20443  				iNdEx++
 20444  				stringLen |= uint64(b&0x7F) << shift
 20445  				if b < 0x80 {
 20446  					break
 20447  				}
 20448  			}
 20449  			intStringLen := int(stringLen)
 20450  			if intStringLen < 0 {
 20451  				return ErrInvalidLengthTypes
 20452  			}
 20453  			postIndex := iNdEx + intStringLen
 20454  			if postIndex < 0 {
 20455  				return ErrInvalidLengthTypes
 20456  			}
 20457  			if postIndex > l {
 20458  				return io.ErrUnexpectedEOF
 20459  			}
 20460  			m.Log = string(dAtA[iNdEx:postIndex])
 20461  			iNdEx = postIndex
 20462  		case 4:
 20463  			if wireType != 2 {
 20464  				return fmt.Errorf("proto: wrong wireType = %d for field Info", wireType)
 20465  			}
 20466  			var stringLen uint64
 20467  			for shift := uint(0); ; shift += 7 {
 20468  				if shift >= 64 {
 20469  					return ErrIntOverflowTypes
 20470  				}
 20471  				if iNdEx >= l {
 20472  					return io.ErrUnexpectedEOF
 20473  				}
 20474  				b := dAtA[iNdEx]
 20475  				iNdEx++
 20476  				stringLen |= uint64(b&0x7F) << shift
 20477  				if b < 0x80 {
 20478  					break
 20479  				}
 20480  			}
 20481  			intStringLen := int(stringLen)
 20482  			if intStringLen < 0 {
 20483  				return ErrInvalidLengthTypes
 20484  			}
 20485  			postIndex := iNdEx + intStringLen
 20486  			if postIndex < 0 {
 20487  				return ErrInvalidLengthTypes
 20488  			}
 20489  			if postIndex > l {
 20490  				return io.ErrUnexpectedEOF
 20491  			}
 20492  			m.Info = string(dAtA[iNdEx:postIndex])
 20493  			iNdEx = postIndex
 20494  		case 5:
 20495  			if wireType != 0 {
 20496  				return fmt.Errorf("proto: wrong wireType = %d for field GasWanted", wireType)
 20497  			}
 20498  			m.GasWanted = 0
 20499  			for shift := uint(0); ; shift += 7 {
 20500  				if shift >= 64 {
 20501  					return ErrIntOverflowTypes
 20502  				}
 20503  				if iNdEx >= l {
 20504  					return io.ErrUnexpectedEOF
 20505  				}
 20506  				b := dAtA[iNdEx]
 20507  				iNdEx++
 20508  				m.GasWanted |= int64(b&0x7F) << shift
 20509  				if b < 0x80 {
 20510  					break
 20511  				}
 20512  			}
 20513  		case 6:
 20514  			if wireType != 0 {
 20515  				return fmt.Errorf("proto: wrong wireType = %d for field GasUsed", wireType)
 20516  			}
 20517  			m.GasUsed = 0
 20518  			for shift := uint(0); ; shift += 7 {
 20519  				if shift >= 64 {
 20520  					return ErrIntOverflowTypes
 20521  				}
 20522  				if iNdEx >= l {
 20523  					return io.ErrUnexpectedEOF
 20524  				}
 20525  				b := dAtA[iNdEx]
 20526  				iNdEx++
 20527  				m.GasUsed |= int64(b&0x7F) << shift
 20528  				if b < 0x80 {
 20529  					break
 20530  				}
 20531  			}
 20532  		case 7:
 20533  			if wireType != 2 {
 20534  				return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType)
 20535  			}
 20536  			var msglen int
 20537  			for shift := uint(0); ; shift += 7 {
 20538  				if shift >= 64 {
 20539  					return ErrIntOverflowTypes
 20540  				}
 20541  				if iNdEx >= l {
 20542  					return io.ErrUnexpectedEOF
 20543  				}
 20544  				b := dAtA[iNdEx]
 20545  				iNdEx++
 20546  				msglen |= int(b&0x7F) << shift
 20547  				if b < 0x80 {
 20548  					break
 20549  				}
 20550  			}
 20551  			if msglen < 0 {
 20552  				return ErrInvalidLengthTypes
 20553  			}
 20554  			postIndex := iNdEx + msglen
 20555  			if postIndex < 0 {
 20556  				return ErrInvalidLengthTypes
 20557  			}
 20558  			if postIndex > l {
 20559  				return io.ErrUnexpectedEOF
 20560  			}
 20561  			m.Events = append(m.Events, Event{})
 20562  			if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20563  				return err
 20564  			}
 20565  			iNdEx = postIndex
 20566  		case 8:
 20567  			if wireType != 2 {
 20568  				return fmt.Errorf("proto: wrong wireType = %d for field Codespace", wireType)
 20569  			}
 20570  			var stringLen uint64
 20571  			for shift := uint(0); ; shift += 7 {
 20572  				if shift >= 64 {
 20573  					return ErrIntOverflowTypes
 20574  				}
 20575  				if iNdEx >= l {
 20576  					return io.ErrUnexpectedEOF
 20577  				}
 20578  				b := dAtA[iNdEx]
 20579  				iNdEx++
 20580  				stringLen |= uint64(b&0x7F) << shift
 20581  				if b < 0x80 {
 20582  					break
 20583  				}
 20584  			}
 20585  			intStringLen := int(stringLen)
 20586  			if intStringLen < 0 {
 20587  				return ErrInvalidLengthTypes
 20588  			}
 20589  			postIndex := iNdEx + intStringLen
 20590  			if postIndex < 0 {
 20591  				return ErrInvalidLengthTypes
 20592  			}
 20593  			if postIndex > l {
 20594  				return io.ErrUnexpectedEOF
 20595  			}
 20596  			m.Codespace = string(dAtA[iNdEx:postIndex])
 20597  			iNdEx = postIndex
 20598  		default:
 20599  			iNdEx = preIndex
 20600  			skippy, err := skipTypes(dAtA[iNdEx:])
 20601  			if err != nil {
 20602  				return err
 20603  			}
 20604  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20605  				return ErrInvalidLengthTypes
 20606  			}
 20607  			if (iNdEx + skippy) > l {
 20608  				return io.ErrUnexpectedEOF
 20609  			}
 20610  			iNdEx += skippy
 20611  		}
 20612  	}
 20613  
 20614  	if iNdEx > l {
 20615  		return io.ErrUnexpectedEOF
 20616  	}
 20617  	return nil
 20618  }
 20619  func (m *TxResult) Unmarshal(dAtA []byte) error {
 20620  	l := len(dAtA)
 20621  	iNdEx := 0
 20622  	for iNdEx < l {
 20623  		preIndex := iNdEx
 20624  		var wire uint64
 20625  		for shift := uint(0); ; shift += 7 {
 20626  			if shift >= 64 {
 20627  				return ErrIntOverflowTypes
 20628  			}
 20629  			if iNdEx >= l {
 20630  				return io.ErrUnexpectedEOF
 20631  			}
 20632  			b := dAtA[iNdEx]
 20633  			iNdEx++
 20634  			wire |= uint64(b&0x7F) << shift
 20635  			if b < 0x80 {
 20636  				break
 20637  			}
 20638  		}
 20639  		fieldNum := int32(wire >> 3)
 20640  		wireType := int(wire & 0x7)
 20641  		if wireType == 4 {
 20642  			return fmt.Errorf("proto: TxResult: wiretype end group for non-group")
 20643  		}
 20644  		if fieldNum <= 0 {
 20645  			return fmt.Errorf("proto: TxResult: illegal tag %d (wire type %d)", fieldNum, wire)
 20646  		}
 20647  		switch fieldNum {
 20648  		case 1:
 20649  			if wireType != 0 {
 20650  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 20651  			}
 20652  			m.Height = 0
 20653  			for shift := uint(0); ; shift += 7 {
 20654  				if shift >= 64 {
 20655  					return ErrIntOverflowTypes
 20656  				}
 20657  				if iNdEx >= l {
 20658  					return io.ErrUnexpectedEOF
 20659  				}
 20660  				b := dAtA[iNdEx]
 20661  				iNdEx++
 20662  				m.Height |= int64(b&0x7F) << shift
 20663  				if b < 0x80 {
 20664  					break
 20665  				}
 20666  			}
 20667  		case 2:
 20668  			if wireType != 0 {
 20669  				return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
 20670  			}
 20671  			m.Index = 0
 20672  			for shift := uint(0); ; shift += 7 {
 20673  				if shift >= 64 {
 20674  					return ErrIntOverflowTypes
 20675  				}
 20676  				if iNdEx >= l {
 20677  					return io.ErrUnexpectedEOF
 20678  				}
 20679  				b := dAtA[iNdEx]
 20680  				iNdEx++
 20681  				m.Index |= uint32(b&0x7F) << shift
 20682  				if b < 0x80 {
 20683  					break
 20684  				}
 20685  			}
 20686  		case 3:
 20687  			if wireType != 2 {
 20688  				return fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType)
 20689  			}
 20690  			var byteLen int
 20691  			for shift := uint(0); ; shift += 7 {
 20692  				if shift >= 64 {
 20693  					return ErrIntOverflowTypes
 20694  				}
 20695  				if iNdEx >= l {
 20696  					return io.ErrUnexpectedEOF
 20697  				}
 20698  				b := dAtA[iNdEx]
 20699  				iNdEx++
 20700  				byteLen |= int(b&0x7F) << shift
 20701  				if b < 0x80 {
 20702  					break
 20703  				}
 20704  			}
 20705  			if byteLen < 0 {
 20706  				return ErrInvalidLengthTypes
 20707  			}
 20708  			postIndex := iNdEx + byteLen
 20709  			if postIndex < 0 {
 20710  				return ErrInvalidLengthTypes
 20711  			}
 20712  			if postIndex > l {
 20713  				return io.ErrUnexpectedEOF
 20714  			}
 20715  			m.Tx = append(m.Tx[:0], dAtA[iNdEx:postIndex]...)
 20716  			if m.Tx == nil {
 20717  				m.Tx = []byte{}
 20718  			}
 20719  			iNdEx = postIndex
 20720  		case 4:
 20721  			if wireType != 2 {
 20722  				return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
 20723  			}
 20724  			var msglen int
 20725  			for shift := uint(0); ; shift += 7 {
 20726  				if shift >= 64 {
 20727  					return ErrIntOverflowTypes
 20728  				}
 20729  				if iNdEx >= l {
 20730  					return io.ErrUnexpectedEOF
 20731  				}
 20732  				b := dAtA[iNdEx]
 20733  				iNdEx++
 20734  				msglen |= int(b&0x7F) << shift
 20735  				if b < 0x80 {
 20736  					break
 20737  				}
 20738  			}
 20739  			if msglen < 0 {
 20740  				return ErrInvalidLengthTypes
 20741  			}
 20742  			postIndex := iNdEx + msglen
 20743  			if postIndex < 0 {
 20744  				return ErrInvalidLengthTypes
 20745  			}
 20746  			if postIndex > l {
 20747  				return io.ErrUnexpectedEOF
 20748  			}
 20749  			if err := m.Result.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 20750  				return err
 20751  			}
 20752  			iNdEx = postIndex
 20753  		default:
 20754  			iNdEx = preIndex
 20755  			skippy, err := skipTypes(dAtA[iNdEx:])
 20756  			if err != nil {
 20757  				return err
 20758  			}
 20759  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20760  				return ErrInvalidLengthTypes
 20761  			}
 20762  			if (iNdEx + skippy) > l {
 20763  				return io.ErrUnexpectedEOF
 20764  			}
 20765  			iNdEx += skippy
 20766  		}
 20767  	}
 20768  
 20769  	if iNdEx > l {
 20770  		return io.ErrUnexpectedEOF
 20771  	}
 20772  	return nil
 20773  }
 20774  func (m *TxRecord) Unmarshal(dAtA []byte) error {
 20775  	l := len(dAtA)
 20776  	iNdEx := 0
 20777  	for iNdEx < l {
 20778  		preIndex := iNdEx
 20779  		var wire uint64
 20780  		for shift := uint(0); ; shift += 7 {
 20781  			if shift >= 64 {
 20782  				return ErrIntOverflowTypes
 20783  			}
 20784  			if iNdEx >= l {
 20785  				return io.ErrUnexpectedEOF
 20786  			}
 20787  			b := dAtA[iNdEx]
 20788  			iNdEx++
 20789  			wire |= uint64(b&0x7F) << shift
 20790  			if b < 0x80 {
 20791  				break
 20792  			}
 20793  		}
 20794  		fieldNum := int32(wire >> 3)
 20795  		wireType := int(wire & 0x7)
 20796  		if wireType == 4 {
 20797  			return fmt.Errorf("proto: TxRecord: wiretype end group for non-group")
 20798  		}
 20799  		if fieldNum <= 0 {
 20800  			return fmt.Errorf("proto: TxRecord: illegal tag %d (wire type %d)", fieldNum, wire)
 20801  		}
 20802  		switch fieldNum {
 20803  		case 1:
 20804  			if wireType != 0 {
 20805  				return fmt.Errorf("proto: wrong wireType = %d for field Action", wireType)
 20806  			}
 20807  			m.Action = 0
 20808  			for shift := uint(0); ; shift += 7 {
 20809  				if shift >= 64 {
 20810  					return ErrIntOverflowTypes
 20811  				}
 20812  				if iNdEx >= l {
 20813  					return io.ErrUnexpectedEOF
 20814  				}
 20815  				b := dAtA[iNdEx]
 20816  				iNdEx++
 20817  				m.Action |= TxRecord_TxAction(b&0x7F) << shift
 20818  				if b < 0x80 {
 20819  					break
 20820  				}
 20821  			}
 20822  		case 2:
 20823  			if wireType != 2 {
 20824  				return fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType)
 20825  			}
 20826  			var byteLen int
 20827  			for shift := uint(0); ; shift += 7 {
 20828  				if shift >= 64 {
 20829  					return ErrIntOverflowTypes
 20830  				}
 20831  				if iNdEx >= l {
 20832  					return io.ErrUnexpectedEOF
 20833  				}
 20834  				b := dAtA[iNdEx]
 20835  				iNdEx++
 20836  				byteLen |= int(b&0x7F) << shift
 20837  				if b < 0x80 {
 20838  					break
 20839  				}
 20840  			}
 20841  			if byteLen < 0 {
 20842  				return ErrInvalidLengthTypes
 20843  			}
 20844  			postIndex := iNdEx + byteLen
 20845  			if postIndex < 0 {
 20846  				return ErrInvalidLengthTypes
 20847  			}
 20848  			if postIndex > l {
 20849  				return io.ErrUnexpectedEOF
 20850  			}
 20851  			m.Tx = append(m.Tx[:0], dAtA[iNdEx:postIndex]...)
 20852  			if m.Tx == nil {
 20853  				m.Tx = []byte{}
 20854  			}
 20855  			iNdEx = postIndex
 20856  		default:
 20857  			iNdEx = preIndex
 20858  			skippy, err := skipTypes(dAtA[iNdEx:])
 20859  			if err != nil {
 20860  				return err
 20861  			}
 20862  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20863  				return ErrInvalidLengthTypes
 20864  			}
 20865  			if (iNdEx + skippy) > l {
 20866  				return io.ErrUnexpectedEOF
 20867  			}
 20868  			iNdEx += skippy
 20869  		}
 20870  	}
 20871  
 20872  	if iNdEx > l {
 20873  		return io.ErrUnexpectedEOF
 20874  	}
 20875  	return nil
 20876  }
 20877  func (m *BlockParams) Unmarshal(dAtA []byte) error {
 20878  	l := len(dAtA)
 20879  	iNdEx := 0
 20880  	for iNdEx < l {
 20881  		preIndex := iNdEx
 20882  		var wire uint64
 20883  		for shift := uint(0); ; shift += 7 {
 20884  			if shift >= 64 {
 20885  				return ErrIntOverflowTypes
 20886  			}
 20887  			if iNdEx >= l {
 20888  				return io.ErrUnexpectedEOF
 20889  			}
 20890  			b := dAtA[iNdEx]
 20891  			iNdEx++
 20892  			wire |= uint64(b&0x7F) << shift
 20893  			if b < 0x80 {
 20894  				break
 20895  			}
 20896  		}
 20897  		fieldNum := int32(wire >> 3)
 20898  		wireType := int(wire & 0x7)
 20899  		if wireType == 4 {
 20900  			return fmt.Errorf("proto: BlockParams: wiretype end group for non-group")
 20901  		}
 20902  		if fieldNum <= 0 {
 20903  			return fmt.Errorf("proto: BlockParams: illegal tag %d (wire type %d)", fieldNum, wire)
 20904  		}
 20905  		switch fieldNum {
 20906  		case 1:
 20907  			if wireType != 0 {
 20908  				return fmt.Errorf("proto: wrong wireType = %d for field MaxBytes", wireType)
 20909  			}
 20910  			m.MaxBytes = 0
 20911  			for shift := uint(0); ; shift += 7 {
 20912  				if shift >= 64 {
 20913  					return ErrIntOverflowTypes
 20914  				}
 20915  				if iNdEx >= l {
 20916  					return io.ErrUnexpectedEOF
 20917  				}
 20918  				b := dAtA[iNdEx]
 20919  				iNdEx++
 20920  				m.MaxBytes |= int64(b&0x7F) << shift
 20921  				if b < 0x80 {
 20922  					break
 20923  				}
 20924  			}
 20925  		case 2:
 20926  			if wireType != 0 {
 20927  				return fmt.Errorf("proto: wrong wireType = %d for field MaxGas", wireType)
 20928  			}
 20929  			m.MaxGas = 0
 20930  			for shift := uint(0); ; shift += 7 {
 20931  				if shift >= 64 {
 20932  					return ErrIntOverflowTypes
 20933  				}
 20934  				if iNdEx >= l {
 20935  					return io.ErrUnexpectedEOF
 20936  				}
 20937  				b := dAtA[iNdEx]
 20938  				iNdEx++
 20939  				m.MaxGas |= int64(b&0x7F) << shift
 20940  				if b < 0x80 {
 20941  					break
 20942  				}
 20943  			}
 20944  		default:
 20945  			iNdEx = preIndex
 20946  			skippy, err := skipTypes(dAtA[iNdEx:])
 20947  			if err != nil {
 20948  				return err
 20949  			}
 20950  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 20951  				return ErrInvalidLengthTypes
 20952  			}
 20953  			if (iNdEx + skippy) > l {
 20954  				return io.ErrUnexpectedEOF
 20955  			}
 20956  			iNdEx += skippy
 20957  		}
 20958  	}
 20959  
 20960  	if iNdEx > l {
 20961  		return io.ErrUnexpectedEOF
 20962  	}
 20963  	return nil
 20964  }
 20965  func (m *ConsensusParams) Unmarshal(dAtA []byte) error {
 20966  	l := len(dAtA)
 20967  	iNdEx := 0
 20968  	for iNdEx < l {
 20969  		preIndex := iNdEx
 20970  		var wire uint64
 20971  		for shift := uint(0); ; shift += 7 {
 20972  			if shift >= 64 {
 20973  				return ErrIntOverflowTypes
 20974  			}
 20975  			if iNdEx >= l {
 20976  				return io.ErrUnexpectedEOF
 20977  			}
 20978  			b := dAtA[iNdEx]
 20979  			iNdEx++
 20980  			wire |= uint64(b&0x7F) << shift
 20981  			if b < 0x80 {
 20982  				break
 20983  			}
 20984  		}
 20985  		fieldNum := int32(wire >> 3)
 20986  		wireType := int(wire & 0x7)
 20987  		if wireType == 4 {
 20988  			return fmt.Errorf("proto: ConsensusParams: wiretype end group for non-group")
 20989  		}
 20990  		if fieldNum <= 0 {
 20991  			return fmt.Errorf("proto: ConsensusParams: illegal tag %d (wire type %d)", fieldNum, wire)
 20992  		}
 20993  		switch fieldNum {
 20994  		case 1:
 20995  			if wireType != 2 {
 20996  				return fmt.Errorf("proto: wrong wireType = %d for field Block", wireType)
 20997  			}
 20998  			var msglen int
 20999  			for shift := uint(0); ; shift += 7 {
 21000  				if shift >= 64 {
 21001  					return ErrIntOverflowTypes
 21002  				}
 21003  				if iNdEx >= l {
 21004  					return io.ErrUnexpectedEOF
 21005  				}
 21006  				b := dAtA[iNdEx]
 21007  				iNdEx++
 21008  				msglen |= int(b&0x7F) << shift
 21009  				if b < 0x80 {
 21010  					break
 21011  				}
 21012  			}
 21013  			if msglen < 0 {
 21014  				return ErrInvalidLengthTypes
 21015  			}
 21016  			postIndex := iNdEx + msglen
 21017  			if postIndex < 0 {
 21018  				return ErrInvalidLengthTypes
 21019  			}
 21020  			if postIndex > l {
 21021  				return io.ErrUnexpectedEOF
 21022  			}
 21023  			if m.Block == nil {
 21024  				m.Block = &BlockParams{}
 21025  			}
 21026  			if err := m.Block.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21027  				return err
 21028  			}
 21029  			iNdEx = postIndex
 21030  		case 2:
 21031  			if wireType != 2 {
 21032  				return fmt.Errorf("proto: wrong wireType = %d for field Evidence", wireType)
 21033  			}
 21034  			var msglen int
 21035  			for shift := uint(0); ; shift += 7 {
 21036  				if shift >= 64 {
 21037  					return ErrIntOverflowTypes
 21038  				}
 21039  				if iNdEx >= l {
 21040  					return io.ErrUnexpectedEOF
 21041  				}
 21042  				b := dAtA[iNdEx]
 21043  				iNdEx++
 21044  				msglen |= int(b&0x7F) << shift
 21045  				if b < 0x80 {
 21046  					break
 21047  				}
 21048  			}
 21049  			if msglen < 0 {
 21050  				return ErrInvalidLengthTypes
 21051  			}
 21052  			postIndex := iNdEx + msglen
 21053  			if postIndex < 0 {
 21054  				return ErrInvalidLengthTypes
 21055  			}
 21056  			if postIndex > l {
 21057  				return io.ErrUnexpectedEOF
 21058  			}
 21059  			if m.Evidence == nil {
 21060  				m.Evidence = &types1.EvidenceParams{}
 21061  			}
 21062  			if err := m.Evidence.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21063  				return err
 21064  			}
 21065  			iNdEx = postIndex
 21066  		case 3:
 21067  			if wireType != 2 {
 21068  				return fmt.Errorf("proto: wrong wireType = %d for field Validator", wireType)
 21069  			}
 21070  			var msglen int
 21071  			for shift := uint(0); ; shift += 7 {
 21072  				if shift >= 64 {
 21073  					return ErrIntOverflowTypes
 21074  				}
 21075  				if iNdEx >= l {
 21076  					return io.ErrUnexpectedEOF
 21077  				}
 21078  				b := dAtA[iNdEx]
 21079  				iNdEx++
 21080  				msglen |= int(b&0x7F) << shift
 21081  				if b < 0x80 {
 21082  					break
 21083  				}
 21084  			}
 21085  			if msglen < 0 {
 21086  				return ErrInvalidLengthTypes
 21087  			}
 21088  			postIndex := iNdEx + msglen
 21089  			if postIndex < 0 {
 21090  				return ErrInvalidLengthTypes
 21091  			}
 21092  			if postIndex > l {
 21093  				return io.ErrUnexpectedEOF
 21094  			}
 21095  			if m.Validator == nil {
 21096  				m.Validator = &types1.ValidatorParams{}
 21097  			}
 21098  			if err := m.Validator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21099  				return err
 21100  			}
 21101  			iNdEx = postIndex
 21102  		case 4:
 21103  			if wireType != 2 {
 21104  				return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
 21105  			}
 21106  			var msglen int
 21107  			for shift := uint(0); ; shift += 7 {
 21108  				if shift >= 64 {
 21109  					return ErrIntOverflowTypes
 21110  				}
 21111  				if iNdEx >= l {
 21112  					return io.ErrUnexpectedEOF
 21113  				}
 21114  				b := dAtA[iNdEx]
 21115  				iNdEx++
 21116  				msglen |= int(b&0x7F) << shift
 21117  				if b < 0x80 {
 21118  					break
 21119  				}
 21120  			}
 21121  			if msglen < 0 {
 21122  				return ErrInvalidLengthTypes
 21123  			}
 21124  			postIndex := iNdEx + msglen
 21125  			if postIndex < 0 {
 21126  				return ErrInvalidLengthTypes
 21127  			}
 21128  			if postIndex > l {
 21129  				return io.ErrUnexpectedEOF
 21130  			}
 21131  			if m.Version == nil {
 21132  				m.Version = &types1.VersionParams{}
 21133  			}
 21134  			if err := m.Version.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21135  				return err
 21136  			}
 21137  			iNdEx = postIndex
 21138  		default:
 21139  			iNdEx = preIndex
 21140  			skippy, err := skipTypes(dAtA[iNdEx:])
 21141  			if err != nil {
 21142  				return err
 21143  			}
 21144  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21145  				return ErrInvalidLengthTypes
 21146  			}
 21147  			if (iNdEx + skippy) > l {
 21148  				return io.ErrUnexpectedEOF
 21149  			}
 21150  			iNdEx += skippy
 21151  		}
 21152  	}
 21153  
 21154  	if iNdEx > l {
 21155  		return io.ErrUnexpectedEOF
 21156  	}
 21157  	return nil
 21158  }
 21159  func (m *Validator) Unmarshal(dAtA []byte) error {
 21160  	l := len(dAtA)
 21161  	iNdEx := 0
 21162  	for iNdEx < l {
 21163  		preIndex := iNdEx
 21164  		var wire uint64
 21165  		for shift := uint(0); ; shift += 7 {
 21166  			if shift >= 64 {
 21167  				return ErrIntOverflowTypes
 21168  			}
 21169  			if iNdEx >= l {
 21170  				return io.ErrUnexpectedEOF
 21171  			}
 21172  			b := dAtA[iNdEx]
 21173  			iNdEx++
 21174  			wire |= uint64(b&0x7F) << shift
 21175  			if b < 0x80 {
 21176  				break
 21177  			}
 21178  		}
 21179  		fieldNum := int32(wire >> 3)
 21180  		wireType := int(wire & 0x7)
 21181  		if wireType == 4 {
 21182  			return fmt.Errorf("proto: Validator: wiretype end group for non-group")
 21183  		}
 21184  		if fieldNum <= 0 {
 21185  			return fmt.Errorf("proto: Validator: illegal tag %d (wire type %d)", fieldNum, wire)
 21186  		}
 21187  		switch fieldNum {
 21188  		case 1:
 21189  			if wireType != 2 {
 21190  				return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType)
 21191  			}
 21192  			var byteLen int
 21193  			for shift := uint(0); ; shift += 7 {
 21194  				if shift >= 64 {
 21195  					return ErrIntOverflowTypes
 21196  				}
 21197  				if iNdEx >= l {
 21198  					return io.ErrUnexpectedEOF
 21199  				}
 21200  				b := dAtA[iNdEx]
 21201  				iNdEx++
 21202  				byteLen |= int(b&0x7F) << shift
 21203  				if b < 0x80 {
 21204  					break
 21205  				}
 21206  			}
 21207  			if byteLen < 0 {
 21208  				return ErrInvalidLengthTypes
 21209  			}
 21210  			postIndex := iNdEx + byteLen
 21211  			if postIndex < 0 {
 21212  				return ErrInvalidLengthTypes
 21213  			}
 21214  			if postIndex > l {
 21215  				return io.ErrUnexpectedEOF
 21216  			}
 21217  			m.Address = append(m.Address[:0], dAtA[iNdEx:postIndex]...)
 21218  			if m.Address == nil {
 21219  				m.Address = []byte{}
 21220  			}
 21221  			iNdEx = postIndex
 21222  		case 3:
 21223  			if wireType != 0 {
 21224  				return fmt.Errorf("proto: wrong wireType = %d for field Power", wireType)
 21225  			}
 21226  			m.Power = 0
 21227  			for shift := uint(0); ; shift += 7 {
 21228  				if shift >= 64 {
 21229  					return ErrIntOverflowTypes
 21230  				}
 21231  				if iNdEx >= l {
 21232  					return io.ErrUnexpectedEOF
 21233  				}
 21234  				b := dAtA[iNdEx]
 21235  				iNdEx++
 21236  				m.Power |= int64(b&0x7F) << shift
 21237  				if b < 0x80 {
 21238  					break
 21239  				}
 21240  			}
 21241  		default:
 21242  			iNdEx = preIndex
 21243  			skippy, err := skipTypes(dAtA[iNdEx:])
 21244  			if err != nil {
 21245  				return err
 21246  			}
 21247  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21248  				return ErrInvalidLengthTypes
 21249  			}
 21250  			if (iNdEx + skippy) > l {
 21251  				return io.ErrUnexpectedEOF
 21252  			}
 21253  			iNdEx += skippy
 21254  		}
 21255  	}
 21256  
 21257  	if iNdEx > l {
 21258  		return io.ErrUnexpectedEOF
 21259  	}
 21260  	return nil
 21261  }
 21262  func (m *ValidatorUpdate) Unmarshal(dAtA []byte) error {
 21263  	l := len(dAtA)
 21264  	iNdEx := 0
 21265  	for iNdEx < l {
 21266  		preIndex := iNdEx
 21267  		var wire uint64
 21268  		for shift := uint(0); ; shift += 7 {
 21269  			if shift >= 64 {
 21270  				return ErrIntOverflowTypes
 21271  			}
 21272  			if iNdEx >= l {
 21273  				return io.ErrUnexpectedEOF
 21274  			}
 21275  			b := dAtA[iNdEx]
 21276  			iNdEx++
 21277  			wire |= uint64(b&0x7F) << shift
 21278  			if b < 0x80 {
 21279  				break
 21280  			}
 21281  		}
 21282  		fieldNum := int32(wire >> 3)
 21283  		wireType := int(wire & 0x7)
 21284  		if wireType == 4 {
 21285  			return fmt.Errorf("proto: ValidatorUpdate: wiretype end group for non-group")
 21286  		}
 21287  		if fieldNum <= 0 {
 21288  			return fmt.Errorf("proto: ValidatorUpdate: illegal tag %d (wire type %d)", fieldNum, wire)
 21289  		}
 21290  		switch fieldNum {
 21291  		case 1:
 21292  			if wireType != 2 {
 21293  				return fmt.Errorf("proto: wrong wireType = %d for field PubKey", wireType)
 21294  			}
 21295  			var msglen int
 21296  			for shift := uint(0); ; shift += 7 {
 21297  				if shift >= 64 {
 21298  					return ErrIntOverflowTypes
 21299  				}
 21300  				if iNdEx >= l {
 21301  					return io.ErrUnexpectedEOF
 21302  				}
 21303  				b := dAtA[iNdEx]
 21304  				iNdEx++
 21305  				msglen |= int(b&0x7F) << shift
 21306  				if b < 0x80 {
 21307  					break
 21308  				}
 21309  			}
 21310  			if msglen < 0 {
 21311  				return ErrInvalidLengthTypes
 21312  			}
 21313  			postIndex := iNdEx + msglen
 21314  			if postIndex < 0 {
 21315  				return ErrInvalidLengthTypes
 21316  			}
 21317  			if postIndex > l {
 21318  				return io.ErrUnexpectedEOF
 21319  			}
 21320  			if err := m.PubKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21321  				return err
 21322  			}
 21323  			iNdEx = postIndex
 21324  		case 2:
 21325  			if wireType != 0 {
 21326  				return fmt.Errorf("proto: wrong wireType = %d for field Power", wireType)
 21327  			}
 21328  			m.Power = 0
 21329  			for shift := uint(0); ; shift += 7 {
 21330  				if shift >= 64 {
 21331  					return ErrIntOverflowTypes
 21332  				}
 21333  				if iNdEx >= l {
 21334  					return io.ErrUnexpectedEOF
 21335  				}
 21336  				b := dAtA[iNdEx]
 21337  				iNdEx++
 21338  				m.Power |= int64(b&0x7F) << shift
 21339  				if b < 0x80 {
 21340  					break
 21341  				}
 21342  			}
 21343  		default:
 21344  			iNdEx = preIndex
 21345  			skippy, err := skipTypes(dAtA[iNdEx:])
 21346  			if err != nil {
 21347  				return err
 21348  			}
 21349  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21350  				return ErrInvalidLengthTypes
 21351  			}
 21352  			if (iNdEx + skippy) > l {
 21353  				return io.ErrUnexpectedEOF
 21354  			}
 21355  			iNdEx += skippy
 21356  		}
 21357  	}
 21358  
 21359  	if iNdEx > l {
 21360  		return io.ErrUnexpectedEOF
 21361  	}
 21362  	return nil
 21363  }
 21364  func (m *VoteInfo) Unmarshal(dAtA []byte) error {
 21365  	l := len(dAtA)
 21366  	iNdEx := 0
 21367  	for iNdEx < l {
 21368  		preIndex := iNdEx
 21369  		var wire uint64
 21370  		for shift := uint(0); ; shift += 7 {
 21371  			if shift >= 64 {
 21372  				return ErrIntOverflowTypes
 21373  			}
 21374  			if iNdEx >= l {
 21375  				return io.ErrUnexpectedEOF
 21376  			}
 21377  			b := dAtA[iNdEx]
 21378  			iNdEx++
 21379  			wire |= uint64(b&0x7F) << shift
 21380  			if b < 0x80 {
 21381  				break
 21382  			}
 21383  		}
 21384  		fieldNum := int32(wire >> 3)
 21385  		wireType := int(wire & 0x7)
 21386  		if wireType == 4 {
 21387  			return fmt.Errorf("proto: VoteInfo: wiretype end group for non-group")
 21388  		}
 21389  		if fieldNum <= 0 {
 21390  			return fmt.Errorf("proto: VoteInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 21391  		}
 21392  		switch fieldNum {
 21393  		case 1:
 21394  			if wireType != 2 {
 21395  				return fmt.Errorf("proto: wrong wireType = %d for field Validator", wireType)
 21396  			}
 21397  			var msglen int
 21398  			for shift := uint(0); ; shift += 7 {
 21399  				if shift >= 64 {
 21400  					return ErrIntOverflowTypes
 21401  				}
 21402  				if iNdEx >= l {
 21403  					return io.ErrUnexpectedEOF
 21404  				}
 21405  				b := dAtA[iNdEx]
 21406  				iNdEx++
 21407  				msglen |= int(b&0x7F) << shift
 21408  				if b < 0x80 {
 21409  					break
 21410  				}
 21411  			}
 21412  			if msglen < 0 {
 21413  				return ErrInvalidLengthTypes
 21414  			}
 21415  			postIndex := iNdEx + msglen
 21416  			if postIndex < 0 {
 21417  				return ErrInvalidLengthTypes
 21418  			}
 21419  			if postIndex > l {
 21420  				return io.ErrUnexpectedEOF
 21421  			}
 21422  			if err := m.Validator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21423  				return err
 21424  			}
 21425  			iNdEx = postIndex
 21426  		case 2:
 21427  			if wireType != 0 {
 21428  				return fmt.Errorf("proto: wrong wireType = %d for field SignedLastBlock", wireType)
 21429  			}
 21430  			var v int
 21431  			for shift := uint(0); ; shift += 7 {
 21432  				if shift >= 64 {
 21433  					return ErrIntOverflowTypes
 21434  				}
 21435  				if iNdEx >= l {
 21436  					return io.ErrUnexpectedEOF
 21437  				}
 21438  				b := dAtA[iNdEx]
 21439  				iNdEx++
 21440  				v |= int(b&0x7F) << shift
 21441  				if b < 0x80 {
 21442  					break
 21443  				}
 21444  			}
 21445  			m.SignedLastBlock = bool(v != 0)
 21446  		default:
 21447  			iNdEx = preIndex
 21448  			skippy, err := skipTypes(dAtA[iNdEx:])
 21449  			if err != nil {
 21450  				return err
 21451  			}
 21452  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21453  				return ErrInvalidLengthTypes
 21454  			}
 21455  			if (iNdEx + skippy) > l {
 21456  				return io.ErrUnexpectedEOF
 21457  			}
 21458  			iNdEx += skippy
 21459  		}
 21460  	}
 21461  
 21462  	if iNdEx > l {
 21463  		return io.ErrUnexpectedEOF
 21464  	}
 21465  	return nil
 21466  }
 21467  func (m *ExtendedVoteInfo) Unmarshal(dAtA []byte) error {
 21468  	l := len(dAtA)
 21469  	iNdEx := 0
 21470  	for iNdEx < l {
 21471  		preIndex := iNdEx
 21472  		var wire uint64
 21473  		for shift := uint(0); ; shift += 7 {
 21474  			if shift >= 64 {
 21475  				return ErrIntOverflowTypes
 21476  			}
 21477  			if iNdEx >= l {
 21478  				return io.ErrUnexpectedEOF
 21479  			}
 21480  			b := dAtA[iNdEx]
 21481  			iNdEx++
 21482  			wire |= uint64(b&0x7F) << shift
 21483  			if b < 0x80 {
 21484  				break
 21485  			}
 21486  		}
 21487  		fieldNum := int32(wire >> 3)
 21488  		wireType := int(wire & 0x7)
 21489  		if wireType == 4 {
 21490  			return fmt.Errorf("proto: ExtendedVoteInfo: wiretype end group for non-group")
 21491  		}
 21492  		if fieldNum <= 0 {
 21493  			return fmt.Errorf("proto: ExtendedVoteInfo: illegal tag %d (wire type %d)", fieldNum, wire)
 21494  		}
 21495  		switch fieldNum {
 21496  		case 1:
 21497  			if wireType != 2 {
 21498  				return fmt.Errorf("proto: wrong wireType = %d for field Validator", wireType)
 21499  			}
 21500  			var msglen int
 21501  			for shift := uint(0); ; shift += 7 {
 21502  				if shift >= 64 {
 21503  					return ErrIntOverflowTypes
 21504  				}
 21505  				if iNdEx >= l {
 21506  					return io.ErrUnexpectedEOF
 21507  				}
 21508  				b := dAtA[iNdEx]
 21509  				iNdEx++
 21510  				msglen |= int(b&0x7F) << shift
 21511  				if b < 0x80 {
 21512  					break
 21513  				}
 21514  			}
 21515  			if msglen < 0 {
 21516  				return ErrInvalidLengthTypes
 21517  			}
 21518  			postIndex := iNdEx + msglen
 21519  			if postIndex < 0 {
 21520  				return ErrInvalidLengthTypes
 21521  			}
 21522  			if postIndex > l {
 21523  				return io.ErrUnexpectedEOF
 21524  			}
 21525  			if err := m.Validator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21526  				return err
 21527  			}
 21528  			iNdEx = postIndex
 21529  		case 2:
 21530  			if wireType != 0 {
 21531  				return fmt.Errorf("proto: wrong wireType = %d for field SignedLastBlock", wireType)
 21532  			}
 21533  			var v int
 21534  			for shift := uint(0); ; shift += 7 {
 21535  				if shift >= 64 {
 21536  					return ErrIntOverflowTypes
 21537  				}
 21538  				if iNdEx >= l {
 21539  					return io.ErrUnexpectedEOF
 21540  				}
 21541  				b := dAtA[iNdEx]
 21542  				iNdEx++
 21543  				v |= int(b&0x7F) << shift
 21544  				if b < 0x80 {
 21545  					break
 21546  				}
 21547  			}
 21548  			m.SignedLastBlock = bool(v != 0)
 21549  		case 3:
 21550  			if wireType != 2 {
 21551  				return fmt.Errorf("proto: wrong wireType = %d for field VoteExtension", wireType)
 21552  			}
 21553  			var byteLen int
 21554  			for shift := uint(0); ; shift += 7 {
 21555  				if shift >= 64 {
 21556  					return ErrIntOverflowTypes
 21557  				}
 21558  				if iNdEx >= l {
 21559  					return io.ErrUnexpectedEOF
 21560  				}
 21561  				b := dAtA[iNdEx]
 21562  				iNdEx++
 21563  				byteLen |= int(b&0x7F) << shift
 21564  				if b < 0x80 {
 21565  					break
 21566  				}
 21567  			}
 21568  			if byteLen < 0 {
 21569  				return ErrInvalidLengthTypes
 21570  			}
 21571  			postIndex := iNdEx + byteLen
 21572  			if postIndex < 0 {
 21573  				return ErrInvalidLengthTypes
 21574  			}
 21575  			if postIndex > l {
 21576  				return io.ErrUnexpectedEOF
 21577  			}
 21578  			m.VoteExtension = append(m.VoteExtension[:0], dAtA[iNdEx:postIndex]...)
 21579  			if m.VoteExtension == nil {
 21580  				m.VoteExtension = []byte{}
 21581  			}
 21582  			iNdEx = postIndex
 21583  		default:
 21584  			iNdEx = preIndex
 21585  			skippy, err := skipTypes(dAtA[iNdEx:])
 21586  			if err != nil {
 21587  				return err
 21588  			}
 21589  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21590  				return ErrInvalidLengthTypes
 21591  			}
 21592  			if (iNdEx + skippy) > l {
 21593  				return io.ErrUnexpectedEOF
 21594  			}
 21595  			iNdEx += skippy
 21596  		}
 21597  	}
 21598  
 21599  	if iNdEx > l {
 21600  		return io.ErrUnexpectedEOF
 21601  	}
 21602  	return nil
 21603  }
 21604  func (m *Misbehavior) Unmarshal(dAtA []byte) error {
 21605  	l := len(dAtA)
 21606  	iNdEx := 0
 21607  	for iNdEx < l {
 21608  		preIndex := iNdEx
 21609  		var wire uint64
 21610  		for shift := uint(0); ; shift += 7 {
 21611  			if shift >= 64 {
 21612  				return ErrIntOverflowTypes
 21613  			}
 21614  			if iNdEx >= l {
 21615  				return io.ErrUnexpectedEOF
 21616  			}
 21617  			b := dAtA[iNdEx]
 21618  			iNdEx++
 21619  			wire |= uint64(b&0x7F) << shift
 21620  			if b < 0x80 {
 21621  				break
 21622  			}
 21623  		}
 21624  		fieldNum := int32(wire >> 3)
 21625  		wireType := int(wire & 0x7)
 21626  		if wireType == 4 {
 21627  			return fmt.Errorf("proto: Misbehavior: wiretype end group for non-group")
 21628  		}
 21629  		if fieldNum <= 0 {
 21630  			return fmt.Errorf("proto: Misbehavior: illegal tag %d (wire type %d)", fieldNum, wire)
 21631  		}
 21632  		switch fieldNum {
 21633  		case 1:
 21634  			if wireType != 0 {
 21635  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
 21636  			}
 21637  			m.Type = 0
 21638  			for shift := uint(0); ; shift += 7 {
 21639  				if shift >= 64 {
 21640  					return ErrIntOverflowTypes
 21641  				}
 21642  				if iNdEx >= l {
 21643  					return io.ErrUnexpectedEOF
 21644  				}
 21645  				b := dAtA[iNdEx]
 21646  				iNdEx++
 21647  				m.Type |= MisbehaviorType(b&0x7F) << shift
 21648  				if b < 0x80 {
 21649  					break
 21650  				}
 21651  			}
 21652  		case 2:
 21653  			if wireType != 2 {
 21654  				return fmt.Errorf("proto: wrong wireType = %d for field Validator", wireType)
 21655  			}
 21656  			var msglen int
 21657  			for shift := uint(0); ; shift += 7 {
 21658  				if shift >= 64 {
 21659  					return ErrIntOverflowTypes
 21660  				}
 21661  				if iNdEx >= l {
 21662  					return io.ErrUnexpectedEOF
 21663  				}
 21664  				b := dAtA[iNdEx]
 21665  				iNdEx++
 21666  				msglen |= int(b&0x7F) << shift
 21667  				if b < 0x80 {
 21668  					break
 21669  				}
 21670  			}
 21671  			if msglen < 0 {
 21672  				return ErrInvalidLengthTypes
 21673  			}
 21674  			postIndex := iNdEx + msglen
 21675  			if postIndex < 0 {
 21676  				return ErrInvalidLengthTypes
 21677  			}
 21678  			if postIndex > l {
 21679  				return io.ErrUnexpectedEOF
 21680  			}
 21681  			if err := m.Validator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21682  				return err
 21683  			}
 21684  			iNdEx = postIndex
 21685  		case 3:
 21686  			if wireType != 0 {
 21687  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 21688  			}
 21689  			m.Height = 0
 21690  			for shift := uint(0); ; shift += 7 {
 21691  				if shift >= 64 {
 21692  					return ErrIntOverflowTypes
 21693  				}
 21694  				if iNdEx >= l {
 21695  					return io.ErrUnexpectedEOF
 21696  				}
 21697  				b := dAtA[iNdEx]
 21698  				iNdEx++
 21699  				m.Height |= int64(b&0x7F) << shift
 21700  				if b < 0x80 {
 21701  					break
 21702  				}
 21703  			}
 21704  		case 4:
 21705  			if wireType != 2 {
 21706  				return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
 21707  			}
 21708  			var msglen int
 21709  			for shift := uint(0); ; shift += 7 {
 21710  				if shift >= 64 {
 21711  					return ErrIntOverflowTypes
 21712  				}
 21713  				if iNdEx >= l {
 21714  					return io.ErrUnexpectedEOF
 21715  				}
 21716  				b := dAtA[iNdEx]
 21717  				iNdEx++
 21718  				msglen |= int(b&0x7F) << shift
 21719  				if b < 0x80 {
 21720  					break
 21721  				}
 21722  			}
 21723  			if msglen < 0 {
 21724  				return ErrInvalidLengthTypes
 21725  			}
 21726  			postIndex := iNdEx + msglen
 21727  			if postIndex < 0 {
 21728  				return ErrInvalidLengthTypes
 21729  			}
 21730  			if postIndex > l {
 21731  				return io.ErrUnexpectedEOF
 21732  			}
 21733  			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil {
 21734  				return err
 21735  			}
 21736  			iNdEx = postIndex
 21737  		case 5:
 21738  			if wireType != 0 {
 21739  				return fmt.Errorf("proto: wrong wireType = %d for field TotalVotingPower", wireType)
 21740  			}
 21741  			m.TotalVotingPower = 0
 21742  			for shift := uint(0); ; shift += 7 {
 21743  				if shift >= 64 {
 21744  					return ErrIntOverflowTypes
 21745  				}
 21746  				if iNdEx >= l {
 21747  					return io.ErrUnexpectedEOF
 21748  				}
 21749  				b := dAtA[iNdEx]
 21750  				iNdEx++
 21751  				m.TotalVotingPower |= int64(b&0x7F) << shift
 21752  				if b < 0x80 {
 21753  					break
 21754  				}
 21755  			}
 21756  		default:
 21757  			iNdEx = preIndex
 21758  			skippy, err := skipTypes(dAtA[iNdEx:])
 21759  			if err != nil {
 21760  				return err
 21761  			}
 21762  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21763  				return ErrInvalidLengthTypes
 21764  			}
 21765  			if (iNdEx + skippy) > l {
 21766  				return io.ErrUnexpectedEOF
 21767  			}
 21768  			iNdEx += skippy
 21769  		}
 21770  	}
 21771  
 21772  	if iNdEx > l {
 21773  		return io.ErrUnexpectedEOF
 21774  	}
 21775  	return nil
 21776  }
 21777  func (m *Evidence) Unmarshal(dAtA []byte) error {
 21778  	l := len(dAtA)
 21779  	iNdEx := 0
 21780  	for iNdEx < l {
 21781  		preIndex := iNdEx
 21782  		var wire uint64
 21783  		for shift := uint(0); ; shift += 7 {
 21784  			if shift >= 64 {
 21785  				return ErrIntOverflowTypes
 21786  			}
 21787  			if iNdEx >= l {
 21788  				return io.ErrUnexpectedEOF
 21789  			}
 21790  			b := dAtA[iNdEx]
 21791  			iNdEx++
 21792  			wire |= uint64(b&0x7F) << shift
 21793  			if b < 0x80 {
 21794  				break
 21795  			}
 21796  		}
 21797  		fieldNum := int32(wire >> 3)
 21798  		wireType := int(wire & 0x7)
 21799  		if wireType == 4 {
 21800  			return fmt.Errorf("proto: Evidence: wiretype end group for non-group")
 21801  		}
 21802  		if fieldNum <= 0 {
 21803  			return fmt.Errorf("proto: Evidence: illegal tag %d (wire type %d)", fieldNum, wire)
 21804  		}
 21805  		switch fieldNum {
 21806  		case 1:
 21807  			if wireType != 0 {
 21808  				return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
 21809  			}
 21810  			m.Type = 0
 21811  			for shift := uint(0); ; shift += 7 {
 21812  				if shift >= 64 {
 21813  					return ErrIntOverflowTypes
 21814  				}
 21815  				if iNdEx >= l {
 21816  					return io.ErrUnexpectedEOF
 21817  				}
 21818  				b := dAtA[iNdEx]
 21819  				iNdEx++
 21820  				m.Type |= MisbehaviorType(b&0x7F) << shift
 21821  				if b < 0x80 {
 21822  					break
 21823  				}
 21824  			}
 21825  		case 2:
 21826  			if wireType != 2 {
 21827  				return fmt.Errorf("proto: wrong wireType = %d for field Validator", wireType)
 21828  			}
 21829  			var msglen int
 21830  			for shift := uint(0); ; shift += 7 {
 21831  				if shift >= 64 {
 21832  					return ErrIntOverflowTypes
 21833  				}
 21834  				if iNdEx >= l {
 21835  					return io.ErrUnexpectedEOF
 21836  				}
 21837  				b := dAtA[iNdEx]
 21838  				iNdEx++
 21839  				msglen |= int(b&0x7F) << shift
 21840  				if b < 0x80 {
 21841  					break
 21842  				}
 21843  			}
 21844  			if msglen < 0 {
 21845  				return ErrInvalidLengthTypes
 21846  			}
 21847  			postIndex := iNdEx + msglen
 21848  			if postIndex < 0 {
 21849  				return ErrInvalidLengthTypes
 21850  			}
 21851  			if postIndex > l {
 21852  				return io.ErrUnexpectedEOF
 21853  			}
 21854  			if err := m.Validator.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
 21855  				return err
 21856  			}
 21857  			iNdEx = postIndex
 21858  		case 3:
 21859  			if wireType != 0 {
 21860  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 21861  			}
 21862  			m.Height = 0
 21863  			for shift := uint(0); ; shift += 7 {
 21864  				if shift >= 64 {
 21865  					return ErrIntOverflowTypes
 21866  				}
 21867  				if iNdEx >= l {
 21868  					return io.ErrUnexpectedEOF
 21869  				}
 21870  				b := dAtA[iNdEx]
 21871  				iNdEx++
 21872  				m.Height |= int64(b&0x7F) << shift
 21873  				if b < 0x80 {
 21874  					break
 21875  				}
 21876  			}
 21877  		case 4:
 21878  			if wireType != 2 {
 21879  				return fmt.Errorf("proto: wrong wireType = %d for field Time", wireType)
 21880  			}
 21881  			var msglen int
 21882  			for shift := uint(0); ; shift += 7 {
 21883  				if shift >= 64 {
 21884  					return ErrIntOverflowTypes
 21885  				}
 21886  				if iNdEx >= l {
 21887  					return io.ErrUnexpectedEOF
 21888  				}
 21889  				b := dAtA[iNdEx]
 21890  				iNdEx++
 21891  				msglen |= int(b&0x7F) << shift
 21892  				if b < 0x80 {
 21893  					break
 21894  				}
 21895  			}
 21896  			if msglen < 0 {
 21897  				return ErrInvalidLengthTypes
 21898  			}
 21899  			postIndex := iNdEx + msglen
 21900  			if postIndex < 0 {
 21901  				return ErrInvalidLengthTypes
 21902  			}
 21903  			if postIndex > l {
 21904  				return io.ErrUnexpectedEOF
 21905  			}
 21906  			if err := github_com_gogo_protobuf_types.StdTimeUnmarshal(&m.Time, dAtA[iNdEx:postIndex]); err != nil {
 21907  				return err
 21908  			}
 21909  			iNdEx = postIndex
 21910  		case 5:
 21911  			if wireType != 0 {
 21912  				return fmt.Errorf("proto: wrong wireType = %d for field TotalVotingPower", wireType)
 21913  			}
 21914  			m.TotalVotingPower = 0
 21915  			for shift := uint(0); ; shift += 7 {
 21916  				if shift >= 64 {
 21917  					return ErrIntOverflowTypes
 21918  				}
 21919  				if iNdEx >= l {
 21920  					return io.ErrUnexpectedEOF
 21921  				}
 21922  				b := dAtA[iNdEx]
 21923  				iNdEx++
 21924  				m.TotalVotingPower |= int64(b&0x7F) << shift
 21925  				if b < 0x80 {
 21926  					break
 21927  				}
 21928  			}
 21929  		default:
 21930  			iNdEx = preIndex
 21931  			skippy, err := skipTypes(dAtA[iNdEx:])
 21932  			if err != nil {
 21933  				return err
 21934  			}
 21935  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 21936  				return ErrInvalidLengthTypes
 21937  			}
 21938  			if (iNdEx + skippy) > l {
 21939  				return io.ErrUnexpectedEOF
 21940  			}
 21941  			iNdEx += skippy
 21942  		}
 21943  	}
 21944  
 21945  	if iNdEx > l {
 21946  		return io.ErrUnexpectedEOF
 21947  	}
 21948  	return nil
 21949  }
 21950  func (m *Snapshot) Unmarshal(dAtA []byte) error {
 21951  	l := len(dAtA)
 21952  	iNdEx := 0
 21953  	for iNdEx < l {
 21954  		preIndex := iNdEx
 21955  		var wire uint64
 21956  		for shift := uint(0); ; shift += 7 {
 21957  			if shift >= 64 {
 21958  				return ErrIntOverflowTypes
 21959  			}
 21960  			if iNdEx >= l {
 21961  				return io.ErrUnexpectedEOF
 21962  			}
 21963  			b := dAtA[iNdEx]
 21964  			iNdEx++
 21965  			wire |= uint64(b&0x7F) << shift
 21966  			if b < 0x80 {
 21967  				break
 21968  			}
 21969  		}
 21970  		fieldNum := int32(wire >> 3)
 21971  		wireType := int(wire & 0x7)
 21972  		if wireType == 4 {
 21973  			return fmt.Errorf("proto: Snapshot: wiretype end group for non-group")
 21974  		}
 21975  		if fieldNum <= 0 {
 21976  			return fmt.Errorf("proto: Snapshot: illegal tag %d (wire type %d)", fieldNum, wire)
 21977  		}
 21978  		switch fieldNum {
 21979  		case 1:
 21980  			if wireType != 0 {
 21981  				return fmt.Errorf("proto: wrong wireType = %d for field Height", wireType)
 21982  			}
 21983  			m.Height = 0
 21984  			for shift := uint(0); ; shift += 7 {
 21985  				if shift >= 64 {
 21986  					return ErrIntOverflowTypes
 21987  				}
 21988  				if iNdEx >= l {
 21989  					return io.ErrUnexpectedEOF
 21990  				}
 21991  				b := dAtA[iNdEx]
 21992  				iNdEx++
 21993  				m.Height |= uint64(b&0x7F) << shift
 21994  				if b < 0x80 {
 21995  					break
 21996  				}
 21997  			}
 21998  		case 2:
 21999  			if wireType != 0 {
 22000  				return fmt.Errorf("proto: wrong wireType = %d for field Format", wireType)
 22001  			}
 22002  			m.Format = 0
 22003  			for shift := uint(0); ; shift += 7 {
 22004  				if shift >= 64 {
 22005  					return ErrIntOverflowTypes
 22006  				}
 22007  				if iNdEx >= l {
 22008  					return io.ErrUnexpectedEOF
 22009  				}
 22010  				b := dAtA[iNdEx]
 22011  				iNdEx++
 22012  				m.Format |= uint32(b&0x7F) << shift
 22013  				if b < 0x80 {
 22014  					break
 22015  				}
 22016  			}
 22017  		case 3:
 22018  			if wireType != 0 {
 22019  				return fmt.Errorf("proto: wrong wireType = %d for field Chunks", wireType)
 22020  			}
 22021  			m.Chunks = 0
 22022  			for shift := uint(0); ; shift += 7 {
 22023  				if shift >= 64 {
 22024  					return ErrIntOverflowTypes
 22025  				}
 22026  				if iNdEx >= l {
 22027  					return io.ErrUnexpectedEOF
 22028  				}
 22029  				b := dAtA[iNdEx]
 22030  				iNdEx++
 22031  				m.Chunks |= uint32(b&0x7F) << shift
 22032  				if b < 0x80 {
 22033  					break
 22034  				}
 22035  			}
 22036  		case 4:
 22037  			if wireType != 2 {
 22038  				return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType)
 22039  			}
 22040  			var byteLen int
 22041  			for shift := uint(0); ; shift += 7 {
 22042  				if shift >= 64 {
 22043  					return ErrIntOverflowTypes
 22044  				}
 22045  				if iNdEx >= l {
 22046  					return io.ErrUnexpectedEOF
 22047  				}
 22048  				b := dAtA[iNdEx]
 22049  				iNdEx++
 22050  				byteLen |= int(b&0x7F) << shift
 22051  				if b < 0x80 {
 22052  					break
 22053  				}
 22054  			}
 22055  			if byteLen < 0 {
 22056  				return ErrInvalidLengthTypes
 22057  			}
 22058  			postIndex := iNdEx + byteLen
 22059  			if postIndex < 0 {
 22060  				return ErrInvalidLengthTypes
 22061  			}
 22062  			if postIndex > l {
 22063  				return io.ErrUnexpectedEOF
 22064  			}
 22065  			m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...)
 22066  			if m.Hash == nil {
 22067  				m.Hash = []byte{}
 22068  			}
 22069  			iNdEx = postIndex
 22070  		case 5:
 22071  			if wireType != 2 {
 22072  				return fmt.Errorf("proto: wrong wireType = %d for field Metadata", wireType)
 22073  			}
 22074  			var byteLen int
 22075  			for shift := uint(0); ; shift += 7 {
 22076  				if shift >= 64 {
 22077  					return ErrIntOverflowTypes
 22078  				}
 22079  				if iNdEx >= l {
 22080  					return io.ErrUnexpectedEOF
 22081  				}
 22082  				b := dAtA[iNdEx]
 22083  				iNdEx++
 22084  				byteLen |= int(b&0x7F) << shift
 22085  				if b < 0x80 {
 22086  					break
 22087  				}
 22088  			}
 22089  			if byteLen < 0 {
 22090  				return ErrInvalidLengthTypes
 22091  			}
 22092  			postIndex := iNdEx + byteLen
 22093  			if postIndex < 0 {
 22094  				return ErrInvalidLengthTypes
 22095  			}
 22096  			if postIndex > l {
 22097  				return io.ErrUnexpectedEOF
 22098  			}
 22099  			m.Metadata = append(m.Metadata[:0], dAtA[iNdEx:postIndex]...)
 22100  			if m.Metadata == nil {
 22101  				m.Metadata = []byte{}
 22102  			}
 22103  			iNdEx = postIndex
 22104  		default:
 22105  			iNdEx = preIndex
 22106  			skippy, err := skipTypes(dAtA[iNdEx:])
 22107  			if err != nil {
 22108  				return err
 22109  			}
 22110  			if (skippy < 0) || (iNdEx+skippy) < 0 {
 22111  				return ErrInvalidLengthTypes
 22112  			}
 22113  			if (iNdEx + skippy) > l {
 22114  				return io.ErrUnexpectedEOF
 22115  			}
 22116  			iNdEx += skippy
 22117  		}
 22118  	}
 22119  
 22120  	if iNdEx > l {
 22121  		return io.ErrUnexpectedEOF
 22122  	}
 22123  	return nil
 22124  }
 22125  func skipTypes(dAtA []byte) (n int, err error) {
 22126  	l := len(dAtA)
 22127  	iNdEx := 0
 22128  	depth := 0
 22129  	for iNdEx < l {
 22130  		var wire uint64
 22131  		for shift := uint(0); ; shift += 7 {
 22132  			if shift >= 64 {
 22133  				return 0, ErrIntOverflowTypes
 22134  			}
 22135  			if iNdEx >= l {
 22136  				return 0, io.ErrUnexpectedEOF
 22137  			}
 22138  			b := dAtA[iNdEx]
 22139  			iNdEx++
 22140  			wire |= (uint64(b) & 0x7F) << shift
 22141  			if b < 0x80 {
 22142  				break
 22143  			}
 22144  		}
 22145  		wireType := int(wire & 0x7)
 22146  		switch wireType {
 22147  		case 0:
 22148  			for shift := uint(0); ; shift += 7 {
 22149  				if shift >= 64 {
 22150  					return 0, ErrIntOverflowTypes
 22151  				}
 22152  				if iNdEx >= l {
 22153  					return 0, io.ErrUnexpectedEOF
 22154  				}
 22155  				iNdEx++
 22156  				if dAtA[iNdEx-1] < 0x80 {
 22157  					break
 22158  				}
 22159  			}
 22160  		case 1:
 22161  			iNdEx += 8
 22162  		case 2:
 22163  			var length int
 22164  			for shift := uint(0); ; shift += 7 {
 22165  				if shift >= 64 {
 22166  					return 0, ErrIntOverflowTypes
 22167  				}
 22168  				if iNdEx >= l {
 22169  					return 0, io.ErrUnexpectedEOF
 22170  				}
 22171  				b := dAtA[iNdEx]
 22172  				iNdEx++
 22173  				length |= (int(b) & 0x7F) << shift
 22174  				if b < 0x80 {
 22175  					break
 22176  				}
 22177  			}
 22178  			if length < 0 {
 22179  				return 0, ErrInvalidLengthTypes
 22180  			}
 22181  			iNdEx += length
 22182  		case 3:
 22183  			depth++
 22184  		case 4:
 22185  			if depth == 0 {
 22186  				return 0, ErrUnexpectedEndOfGroupTypes
 22187  			}
 22188  			depth--
 22189  		case 5:
 22190  			iNdEx += 4
 22191  		default:
 22192  			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
 22193  		}
 22194  		if iNdEx < 0 {
 22195  			return 0, ErrInvalidLengthTypes
 22196  		}
 22197  		if depth == 0 {
 22198  			return iNdEx, nil
 22199  		}
 22200  	}
 22201  	return 0, io.ErrUnexpectedEOF
 22202  }
 22203  
 22204  var (
 22205  	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
 22206  	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
 22207  	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
 22208  )