From 552945a8e6bf6e9f24e9ca1f957b1caf2fdbefa5 Mon Sep 17 00:00:00 2001 From: Arnaud Mimart <33665250+amimart@users.noreply.github.com> Date: Fri, 12 Jan 2024 00:36:15 +0100 Subject: [PATCH] chore(proto): update generated proto --- x/logic/types/genesis.pb.go | 22 ++------- x/logic/types/params.pb.go | 55 +++------------------ x/logic/types/query.pb.go | 55 +++++---------------- x/logic/types/query.pb.gw.go | 30 ++++++++---- x/logic/types/tx.pb.go | 42 +++++----------- x/logic/types/types.pb.go | 40 ++------------- x/mint/types/genesis.pb.go | 24 +++------ x/mint/types/mint.pb.go | 33 +++---------- x/mint/types/query.pb.go | 77 +++++++---------------------- x/mint/types/query.pb.gw.go | 30 ++++++++---- x/mint/types/tx.pb.go | 42 +++++----------- x/vesting/types/tx.pb.go | 92 +++++++---------------------------- x/vesting/types/vesting.pb.go | 60 +++-------------------- 13 files changed, 147 insertions(+), 455 deletions(-) diff --git a/x/logic/types/genesis.pb.go b/x/logic/types/genesis.pb.go index 168c5bcf2..1c6b7d244 100644 --- a/x/logic/types/genesis.pb.go +++ b/x/logic/types/genesis.pb.go @@ -5,20 +5,17 @@ package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" - - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -38,11 +35,9 @@ func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { return fileDescriptor_712b71f2a5cb208f, []int{0} } - func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) @@ -55,15 +50,12 @@ func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } - func (m *GenesisState) XXX_Merge(src proto.Message) { xxx_messageInfo_GenesisState.Merge(m, src) } - func (m *GenesisState) XXX_Size() int { return m.Size() } - func (m *GenesisState) XXX_DiscardUnknown() { xxx_messageInfo_GenesisState.DiscardUnknown(m) } @@ -143,7 +135,6 @@ func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *GenesisState) Size() (n int) { if m == nil { return 0 @@ -158,11 +149,9 @@ func (m *GenesisState) Size() (n int) { func sovGenesis(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozGenesis(x uint64) (n int) { return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *GenesisState) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -246,7 +235,6 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } return nil } - func skipGenesis(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/logic/types/params.pb.go b/x/logic/types/params.pb.go index 311397896..774e6d6a0 100644 --- a/x/logic/types/params.pb.go +++ b/x/logic/types/params.pb.go @@ -4,23 +4,19 @@ package types import ( + cosmossdk_io_math "cosmossdk.io/math" fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" - - cosmossdk_io_math "cosmossdk.io/math" - - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -45,11 +41,9 @@ func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { return fileDescriptor_3af0daa241de0fa3, []int{0} } - func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Params.Marshal(b, m, deterministic) @@ -62,15 +56,12 @@ func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Params) XXX_Merge(src proto.Message) { xxx_messageInfo_Params.Merge(m, src) } - func (m *Params) XXX_Size() int { return m.Size() } - func (m *Params) XXX_DiscardUnknown() { xxx_messageInfo_Params.DiscardUnknown(m) } @@ -123,11 +114,9 @@ func (*Limits) ProtoMessage() {} func (*Limits) Descriptor() ([]byte, []int) { return fileDescriptor_3af0daa241de0fa3, []int{1} } - func (m *Limits) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Limits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Limits.Marshal(b, m, deterministic) @@ -140,15 +129,12 @@ func (m *Limits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Limits) XXX_Merge(src proto.Message) { xxx_messageInfo_Limits.Merge(m, src) } - func (m *Limits) XXX_Size() int { return m.Size() } - func (m *Limits) XXX_DiscardUnknown() { xxx_messageInfo_Limits.DiscardUnknown(m) } @@ -174,11 +160,9 @@ func (*Filter) ProtoMessage() {} func (*Filter) Descriptor() ([]byte, []int) { return fileDescriptor_3af0daa241de0fa3, []int{2} } - func (m *Filter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Filter.Marshal(b, m, deterministic) @@ -191,15 +175,12 @@ func (m *Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Filter) XXX_Merge(src proto.Message) { xxx_messageInfo_Filter.Merge(m, src) } - func (m *Filter) XXX_Size() int { return m.Size() } - func (m *Filter) XXX_DiscardUnknown() { xxx_messageInfo_Filter.DiscardUnknown(m) } @@ -250,11 +231,9 @@ func (*Interpreter) ProtoMessage() {} func (*Interpreter) Descriptor() ([]byte, []int) { return fileDescriptor_3af0daa241de0fa3, []int{3} } - func (m *Interpreter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Interpreter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Interpreter.Marshal(b, m, deterministic) @@ -267,15 +246,12 @@ func (m *Interpreter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } - func (m *Interpreter) XXX_Merge(src proto.Message) { xxx_messageInfo_Interpreter.Merge(m, src) } - func (m *Interpreter) XXX_Size() int { return m.Size() } - func (m *Interpreter) XXX_DiscardUnknown() { xxx_messageInfo_Interpreter.DiscardUnknown(m) } @@ -324,11 +300,9 @@ func (*GasPolicy) ProtoMessage() {} func (*GasPolicy) Descriptor() ([]byte, []int) { return fileDescriptor_3af0daa241de0fa3, []int{4} } - func (m *GasPolicy) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *GasPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_GasPolicy.Marshal(b, m, deterministic) @@ -341,15 +315,12 @@ func (m *GasPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *GasPolicy) XXX_Merge(src proto.Message) { xxx_messageInfo_GasPolicy.Merge(m, src) } - func (m *GasPolicy) XXX_Size() int { return m.Size() } - func (m *GasPolicy) XXX_DiscardUnknown() { xxx_messageInfo_GasPolicy.DiscardUnknown(m) } @@ -378,11 +349,9 @@ func (*PredicateCost) ProtoMessage() {} func (*PredicateCost) Descriptor() ([]byte, []int) { return fileDescriptor_3af0daa241de0fa3, []int{5} } - func (m *PredicateCost) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *PredicateCost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_PredicateCost.Marshal(b, m, deterministic) @@ -395,15 +364,12 @@ func (m *PredicateCost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } - func (m *PredicateCost) XXX_Merge(src proto.Message) { xxx_messageInfo_PredicateCost.Merge(m, src) } - func (m *PredicateCost) XXX_Size() int { return m.Size() } - func (m *PredicateCost) XXX_DiscardUnknown() { xxx_messageInfo_PredicateCost.DiscardUnknown(m) } @@ -808,7 +774,6 @@ func encodeVarintParams(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *Params) Size() (n int) { if m == nil { return 0 @@ -930,11 +895,9 @@ func (m *PredicateCost) Size() (n int) { func sovParams(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozParams(x uint64) (n int) { return sovParams(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *Params) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1084,7 +1047,6 @@ func (m *Params) Unmarshal(dAtA []byte) error { } return nil } - func (m *Limits) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1279,7 +1241,6 @@ func (m *Limits) Unmarshal(dAtA []byte) error { } return nil } - func (m *Filter) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1394,7 +1355,6 @@ func (m *Filter) Unmarshal(dAtA []byte) error { } return nil } - func (m *Interpreter) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1543,7 +1503,6 @@ func (m *Interpreter) Unmarshal(dAtA []byte) error { } return nil } - func (m *GasPolicy) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1700,7 +1659,6 @@ func (m *GasPolicy) Unmarshal(dAtA []byte) error { } return nil } - func (m *PredicateCost) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1819,7 +1777,6 @@ func (m *PredicateCost) Unmarshal(dAtA []byte) error { } return nil } - func skipParams(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/logic/types/query.pb.go b/x/logic/types/query.pb.go index c2046a9e7..3c71a3114 100644 --- a/x/logic/types/query.pb.go +++ b/x/logic/types/query.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" @@ -17,14 +13,15 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -33,7 +30,8 @@ var ( const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // QueryServiceParamsRequest is request type for the QueryService/Params RPC method. -type QueryServiceParamsRequest struct{} +type QueryServiceParamsRequest struct { +} func (m *QueryServiceParamsRequest) Reset() { *m = QueryServiceParamsRequest{} } func (m *QueryServiceParamsRequest) String() string { return proto.CompactTextString(m) } @@ -41,11 +39,9 @@ func (*QueryServiceParamsRequest) ProtoMessage() {} func (*QueryServiceParamsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_008a54e610b23239, []int{0} } - func (m *QueryServiceParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryServiceParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryServiceParamsRequest.Marshal(b, m, deterministic) @@ -58,15 +54,12 @@ func (m *QueryServiceParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([ return b[:n], nil } } - func (m *QueryServiceParamsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryServiceParamsRequest.Merge(m, src) } - func (m *QueryServiceParamsRequest) XXX_Size() int { return m.Size() } - func (m *QueryServiceParamsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryServiceParamsRequest.DiscardUnknown(m) } @@ -85,11 +78,9 @@ func (*QueryServiceParamsResponse) ProtoMessage() {} func (*QueryServiceParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_008a54e610b23239, []int{1} } - func (m *QueryServiceParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryServiceParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryServiceParamsResponse.Marshal(b, m, deterministic) @@ -102,15 +93,12 @@ func (m *QueryServiceParamsResponse) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } - func (m *QueryServiceParamsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryServiceParamsResponse.Merge(m, src) } - func (m *QueryServiceParamsResponse) XXX_Size() int { return m.Size() } - func (m *QueryServiceParamsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryServiceParamsResponse.DiscardUnknown(m) } @@ -138,11 +126,9 @@ func (*QueryServiceAskRequest) ProtoMessage() {} func (*QueryServiceAskRequest) Descriptor() ([]byte, []int) { return fileDescriptor_008a54e610b23239, []int{2} } - func (m *QueryServiceAskRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryServiceAskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryServiceAskRequest.Marshal(b, m, deterministic) @@ -155,15 +141,12 @@ func (m *QueryServiceAskRequest) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } - func (m *QueryServiceAskRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryServiceAskRequest.Merge(m, src) } - func (m *QueryServiceAskRequest) XXX_Size() int { return m.Size() } - func (m *QueryServiceAskRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryServiceAskRequest.DiscardUnknown(m) } @@ -203,11 +186,9 @@ func (*QueryServiceAskResponse) ProtoMessage() {} func (*QueryServiceAskResponse) Descriptor() ([]byte, []int) { return fileDescriptor_008a54e610b23239, []int{3} } - func (m *QueryServiceAskResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryServiceAskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryServiceAskResponse.Marshal(b, m, deterministic) @@ -220,15 +201,12 @@ func (m *QueryServiceAskResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *QueryServiceAskResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryServiceAskResponse.Merge(m, src) } - func (m *QueryServiceAskResponse) XXX_Size() int { return m.Size() } - func (m *QueryServiceAskResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryServiceAskResponse.DiscardUnknown(m) } @@ -310,10 +288,8 @@ var fileDescriptor_008a54e610b23239 = []byte{ } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -368,12 +344,12 @@ type QueryServiceServer interface { } // UnimplementedQueryServiceServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServiceServer struct{} +type UnimplementedQueryServiceServer struct { +} func (*UnimplementedQueryServiceServer) Params(ctx context.Context, req *QueryServiceParamsRequest) (*QueryServiceParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } - func (*UnimplementedQueryServiceServer) Ask(ctx context.Context, req *QueryServiceAskRequest) (*QueryServiceAskResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Ask not implemented") } @@ -591,7 +567,6 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *QueryServiceParamsRequest) Size() (n int) { if m == nil { return 0 @@ -655,11 +630,9 @@ func (m *QueryServiceAskResponse) Size() (n int) { func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozQuery(x uint64) (n int) { return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *QueryServiceParamsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -710,7 +683,6 @@ func (m *QueryServiceParamsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryServiceParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -794,7 +766,6 @@ func (m *QueryServiceParamsResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryServiceAskRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -909,7 +880,6 @@ func (m *QueryServiceAskRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryServiceAskResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1066,7 +1036,6 @@ func (m *QueryServiceAskResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/logic/types/query.pb.gw.go b/x/logic/types/query.pb.gw.go index f1d5156cf..6e416d9cc 100644 --- a/x/logic/types/query.pb.gw.go +++ b/x/logic/types/query.pb.gw.go @@ -25,15 +25,13 @@ import ( ) // Suppress "imported and not used" errors -var ( - _ codes.Code - _ io.Reader - _ status.Status - _ = runtime.String - _ = utilities.NewDoubleArray - _ = descriptor.ForMessage - _ = metadata.Join -) +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join func request_QueryService_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryServiceParamsRequest @@ -41,6 +39,7 @@ func request_QueryService_Params_0(ctx context.Context, marshaler runtime.Marsha msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_QueryService_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -49,9 +48,12 @@ func local_request_QueryService_Params_0(ctx context.Context, marshaler runtime. msg, err := server.Params(ctx, &protoReq) return msg, metadata, err + } -var filter_QueryService_Ask_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +var ( + filter_QueryService_Ask_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) func request_QueryService_Ask_0(ctx context.Context, marshaler runtime.Marshaler, client QueryServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryServiceAskRequest @@ -66,6 +68,7 @@ func request_QueryService_Ask_0(ctx context.Context, marshaler runtime.Marshaler msg, err := client.Ask(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_QueryService_Ask_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -81,6 +84,7 @@ func local_request_QueryService_Ask_0(ctx context.Context, marshaler runtime.Mar msg, err := server.Ask(ctx, &protoReq) return msg, metadata, err + } // RegisterQueryServiceHandlerServer registers the http handlers for service QueryService to "mux". @@ -88,6 +92,7 @@ func local_request_QueryService_Ask_0(ctx context.Context, marshaler runtime.Mar // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. // Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryServiceHandlerFromEndpoint instead. func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error { + mux.Handle("GET", pattern_QueryService_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -108,6 +113,7 @@ func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu } forward_QueryService_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_QueryService_Ask_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -130,6 +136,7 @@ func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMu } forward_QueryService_Ask_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil @@ -172,6 +179,7 @@ func RegisterQueryServiceHandler(ctx context.Context, mux *runtime.ServeMux, con // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "QueryServiceClient" to call the correct interceptors. func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error { + mux.Handle("GET", pattern_QueryService_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -189,6 +197,7 @@ func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMu } forward_QueryService_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_QueryService_Ask_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -208,6 +217,7 @@ func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMu } forward_QueryService_Ask_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil diff --git a/x/logic/types/tx.pb.go b/x/logic/types/tx.pb.go index a73c6cf16..263eaf0f9 100644 --- a/x/logic/types/tx.pb.go +++ b/x/logic/types/tx.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/gogoproto/gogoproto" @@ -18,14 +14,15 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -48,11 +45,9 @@ func (*MsgUpdateParams) ProtoMessage() {} func (*MsgUpdateParams) Descriptor() ([]byte, []int) { return fileDescriptor_19bfd5fc1a0735fe, []int{0} } - func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) @@ -65,15 +60,12 @@ func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } - func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgUpdateParams.Merge(m, src) } - func (m *MsgUpdateParams) XXX_Size() int { return m.Size() } - func (m *MsgUpdateParams) XXX_DiscardUnknown() { xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) } @@ -96,7 +88,8 @@ func (m *MsgUpdateParams) GetParams() Params { // MsgUpdateParamsResponse defines the response structure for executing a // MsgUpdateParams message. -type MsgUpdateParamsResponse struct{} +type MsgUpdateParamsResponse struct { +} func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } @@ -104,11 +97,9 @@ func (*MsgUpdateParamsResponse) ProtoMessage() {} func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_19bfd5fc1a0735fe, []int{1} } - func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) @@ -121,15 +112,12 @@ func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) } - func (m *MsgUpdateParamsResponse) XXX_Size() int { return m.Size() } - func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) } @@ -168,10 +156,8 @@ var fileDescriptor_19bfd5fc1a0735fe = []byte{ } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -211,7 +197,8 @@ type MsgServiceServer interface { } // UnimplementedMsgServiceServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServiceServer struct{} +type UnimplementedMsgServiceServer struct { +} func (*UnimplementedMsgServiceServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") @@ -326,7 +313,6 @@ func encodeVarintTx(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *MsgUpdateParams) Size() (n int) { if m == nil { return 0 @@ -354,11 +340,9 @@ func (m *MsgUpdateParamsResponse) Size() (n int) { func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozTx(x uint64) (n int) { return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -474,7 +458,6 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -525,7 +508,6 @@ func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/logic/types/types.pb.go b/x/logic/types/types.pb.go index 057253eb4..1d536f5f2 100644 --- a/x/logic/types/types.pb.go +++ b/x/logic/types/types.pb.go @@ -5,20 +5,17 @@ package types import ( fmt "fmt" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" io "io" math "math" math_bits "math/bits" - - _ "github.com/cosmos/gogoproto/gogoproto" - proto "github.com/cosmos/gogoproto/proto" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -40,11 +37,9 @@ func (*Term) ProtoMessage() {} func (*Term) Descriptor() ([]byte, []int) { return fileDescriptor_f3c73c95465ca7a8, []int{0} } - func (m *Term) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Term) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Term.Marshal(b, m, deterministic) @@ -57,15 +52,12 @@ func (m *Term) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Term) XXX_Merge(src proto.Message) { xxx_messageInfo_Term.Merge(m, src) } - func (m *Term) XXX_Size() int { return m.Size() } - func (m *Term) XXX_DiscardUnknown() { xxx_messageInfo_Term.DiscardUnknown(m) } @@ -100,11 +92,9 @@ func (*Substitution) ProtoMessage() {} func (*Substitution) Descriptor() ([]byte, []int) { return fileDescriptor_f3c73c95465ca7a8, []int{1} } - func (m *Substitution) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Substitution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Substitution.Marshal(b, m, deterministic) @@ -117,15 +107,12 @@ func (m *Substitution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } - func (m *Substitution) XXX_Merge(src proto.Message) { xxx_messageInfo_Substitution.Merge(m, src) } - func (m *Substitution) XXX_Size() int { return m.Size() } - func (m *Substitution) XXX_DiscardUnknown() { xxx_messageInfo_Substitution.DiscardUnknown(m) } @@ -158,11 +145,9 @@ func (*Result) ProtoMessage() {} func (*Result) Descriptor() ([]byte, []int) { return fileDescriptor_f3c73c95465ca7a8, []int{2} } - func (m *Result) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Result.Marshal(b, m, deterministic) @@ -175,15 +160,12 @@ func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Result) XXX_Merge(src proto.Message) { xxx_messageInfo_Result.Merge(m, src) } - func (m *Result) XXX_Size() int { return m.Size() } - func (m *Result) XXX_DiscardUnknown() { xxx_messageInfo_Result.DiscardUnknown(m) } @@ -215,11 +197,9 @@ func (*Answer) ProtoMessage() {} func (*Answer) Descriptor() ([]byte, []int) { return fileDescriptor_f3c73c95465ca7a8, []int{3} } - func (m *Answer) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Answer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Answer.Marshal(b, m, deterministic) @@ -232,15 +212,12 @@ func (m *Answer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Answer) XXX_Merge(src proto.Message) { xxx_messageInfo_Answer.Merge(m, src) } - func (m *Answer) XXX_Size() int { return m.Size() } - func (m *Answer) XXX_DiscardUnknown() { xxx_messageInfo_Answer.DiscardUnknown(m) } @@ -515,7 +492,6 @@ func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *Term) Size() (n int) { if m == nil { return 0 @@ -595,11 +571,9 @@ func (m *Answer) Size() (n int) { func sovTypes(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozTypes(x uint64) (n int) { return sovTypes(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *Term) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -716,7 +690,6 @@ func (m *Term) Unmarshal(dAtA []byte) error { } return nil } - func (m *Substitution) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -832,7 +805,6 @@ func (m *Substitution) Unmarshal(dAtA []byte) error { } return nil } - func (m *Result) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -917,7 +889,6 @@ func (m *Result) Unmarshal(dAtA []byte) error { } return nil } - func (m *Answer) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1074,7 +1045,6 @@ func (m *Answer) Unmarshal(dAtA []byte) error { } return nil } - func skipTypes(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/mint/types/genesis.pb.go b/x/mint/types/genesis.pb.go index a17d76e07..0fba23d22 100644 --- a/x/mint/types/genesis.pb.go +++ b/x/mint/types/genesis.pb.go @@ -5,21 +5,18 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -41,11 +38,9 @@ func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { return fileDescriptor_1dfa75836a5d5f23, []int{0} } - func (m *GenesisState) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic) @@ -58,15 +53,12 @@ func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } - func (m *GenesisState) XXX_Merge(src proto.Message) { xxx_messageInfo_GenesisState.Merge(m, src) } - func (m *GenesisState) XXX_Size() int { return m.Size() } - func (m *GenesisState) XXX_DiscardUnknown() { xxx_messageInfo_GenesisState.DiscardUnknown(m) } @@ -165,7 +157,6 @@ func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *GenesisState) Size() (n int) { if m == nil { return 0 @@ -182,11 +173,9 @@ func (m *GenesisState) Size() (n int) { func sovGenesis(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozGenesis(x uint64) (n int) { return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *GenesisState) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -303,7 +292,6 @@ func (m *GenesisState) Unmarshal(dAtA []byte) error { } return nil } - func skipGenesis(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/mint/types/mint.pb.go b/x/mint/types/mint.pb.go index 5c50af321..c4aa3508e 100644 --- a/x/mint/types/mint.pb.go +++ b/x/mint/types/mint.pb.go @@ -4,24 +4,20 @@ package types import ( - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - cosmossdk_io_math "cosmossdk.io/math" - + fmt "fmt" _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -43,11 +39,9 @@ func (*Minter) ProtoMessage() {} func (*Minter) Descriptor() ([]byte, []int) { return fileDescriptor_06339c129491fd39, []int{0} } - func (m *Minter) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Minter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Minter.Marshal(b, m, deterministic) @@ -60,15 +54,12 @@ func (m *Minter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Minter) XXX_Merge(src proto.Message) { xxx_messageInfo_Minter.Merge(m, src) } - func (m *Minter) XXX_Size() int { return m.Size() } - func (m *Minter) XXX_DiscardUnknown() { xxx_messageInfo_Minter.DiscardUnknown(m) } @@ -91,11 +82,9 @@ func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { return fileDescriptor_06339c129491fd39, []int{1} } - func (m *Params) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Params.Marshal(b, m, deterministic) @@ -108,15 +97,12 @@ func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Params) XXX_Merge(src proto.Message) { xxx_messageInfo_Params.Merge(m, src) } - func (m *Params) XXX_Size() int { return m.Size() } - func (m *Params) XXX_DiscardUnknown() { xxx_messageInfo_Params.DiscardUnknown(m) } @@ -269,7 +255,6 @@ func encodeVarintMint(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *Minter) Size() (n int) { if m == nil { return 0 @@ -304,11 +289,9 @@ func (m *Params) Size() (n int) { func sovMint(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozMint(x uint64) (n int) { return sovMint(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *Minter) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -427,7 +410,6 @@ func (m *Minter) Unmarshal(dAtA []byte) error { } return nil } - func (m *Params) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -563,7 +545,6 @@ func (m *Params) Unmarshal(dAtA []byte) error { } return nil } - func skipMint(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/mint/types/query.pb.go b/x/mint/types/query.pb.go index a19edcdda..a14a480a1 100644 --- a/x/mint/types/query.pb.go +++ b/x/mint/types/query.pb.go @@ -5,13 +5,8 @@ package types import ( context "context" - fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - cosmossdk_io_math "cosmossdk.io/math" - + fmt "fmt" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" @@ -20,14 +15,15 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -36,7 +32,8 @@ var ( const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // QueryParamsRequest is the request type for the Query/Params RPC method. -type QueryParamsRequest struct{} +type QueryParamsRequest struct { +} func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} } func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) } @@ -44,11 +41,9 @@ func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_b0718dda172d2cb4, []int{0} } - func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic) @@ -61,15 +56,12 @@ func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryParamsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryParamsRequest.Merge(m, src) } - func (m *QueryParamsRequest) XXX_Size() int { return m.Size() } - func (m *QueryParamsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m) } @@ -88,11 +80,9 @@ func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_b0718dda172d2cb4, []int{1} } - func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic) @@ -105,15 +95,12 @@ func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *QueryParamsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryParamsResponse.Merge(m, src) } - func (m *QueryParamsResponse) XXX_Size() int { return m.Size() } - func (m *QueryParamsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m) } @@ -128,7 +115,8 @@ func (m *QueryParamsResponse) GetParams() Params { } // QueryInflationRequest is the request type for the Query/Inflation RPC method. -type QueryInflationRequest struct{} +type QueryInflationRequest struct { +} func (m *QueryInflationRequest) Reset() { *m = QueryInflationRequest{} } func (m *QueryInflationRequest) String() string { return proto.CompactTextString(m) } @@ -136,11 +124,9 @@ func (*QueryInflationRequest) ProtoMessage() {} func (*QueryInflationRequest) Descriptor() ([]byte, []int) { return fileDescriptor_b0718dda172d2cb4, []int{2} } - func (m *QueryInflationRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryInflationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryInflationRequest.Marshal(b, m, deterministic) @@ -153,15 +139,12 @@ func (m *QueryInflationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } - func (m *QueryInflationRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryInflationRequest.Merge(m, src) } - func (m *QueryInflationRequest) XXX_Size() int { return m.Size() } - func (m *QueryInflationRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryInflationRequest.DiscardUnknown(m) } @@ -181,11 +164,9 @@ func (*QueryInflationResponse) ProtoMessage() {} func (*QueryInflationResponse) Descriptor() ([]byte, []int) { return fileDescriptor_b0718dda172d2cb4, []int{3} } - func (m *QueryInflationResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryInflationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryInflationResponse.Marshal(b, m, deterministic) @@ -198,15 +179,12 @@ func (m *QueryInflationResponse) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } - func (m *QueryInflationResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryInflationResponse.Merge(m, src) } - func (m *QueryInflationResponse) XXX_Size() int { return m.Size() } - func (m *QueryInflationResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryInflationResponse.DiscardUnknown(m) } @@ -215,7 +193,8 @@ var xxx_messageInfo_QueryInflationResponse proto.InternalMessageInfo // QueryAnnualProvisionsRequest is the request type for the // Query/AnnualProvisions RPC method. -type QueryAnnualProvisionsRequest struct{} +type QueryAnnualProvisionsRequest struct { +} func (m *QueryAnnualProvisionsRequest) Reset() { *m = QueryAnnualProvisionsRequest{} } func (m *QueryAnnualProvisionsRequest) String() string { return proto.CompactTextString(m) } @@ -223,11 +202,9 @@ func (*QueryAnnualProvisionsRequest) ProtoMessage() {} func (*QueryAnnualProvisionsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_b0718dda172d2cb4, []int{4} } - func (m *QueryAnnualProvisionsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryAnnualProvisionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryAnnualProvisionsRequest.Marshal(b, m, deterministic) @@ -240,15 +217,12 @@ func (m *QueryAnnualProvisionsRequest) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } - func (m *QueryAnnualProvisionsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryAnnualProvisionsRequest.Merge(m, src) } - func (m *QueryAnnualProvisionsRequest) XXX_Size() int { return m.Size() } - func (m *QueryAnnualProvisionsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryAnnualProvisionsRequest.DiscardUnknown(m) } @@ -268,11 +242,9 @@ func (*QueryAnnualProvisionsResponse) ProtoMessage() {} func (*QueryAnnualProvisionsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_b0718dda172d2cb4, []int{5} } - func (m *QueryAnnualProvisionsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryAnnualProvisionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryAnnualProvisionsResponse.Marshal(b, m, deterministic) @@ -285,15 +257,12 @@ func (m *QueryAnnualProvisionsResponse) XXX_Marshal(b []byte, deterministic bool return b[:n], nil } } - func (m *QueryAnnualProvisionsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryAnnualProvisionsResponse.Merge(m, src) } - func (m *QueryAnnualProvisionsResponse) XXX_Size() int { return m.Size() } - func (m *QueryAnnualProvisionsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryAnnualProvisionsResponse.DiscardUnknown(m) } @@ -346,10 +315,8 @@ var fileDescriptor_b0718dda172d2cb4 = []byte{ } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -413,16 +380,15 @@ type QueryServer interface { } // UnimplementedQueryServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServer struct{} +type UnimplementedQueryServer struct { +} func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } - func (*UnimplementedQueryServer) Inflation(ctx context.Context, req *QueryInflationRequest) (*QueryInflationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Inflation not implemented") } - func (*UnimplementedQueryServer) AnnualProvisions(ctx context.Context, req *QueryAnnualProvisionsRequest) (*QueryAnnualProvisionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AnnualProvisions not implemented") } @@ -685,7 +651,6 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *QueryParamsRequest) Size() (n int) { if m == nil { return 0 @@ -749,11 +714,9 @@ func (m *QueryAnnualProvisionsResponse) Size() (n int) { func sovQuery(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozQuery(x uint64) (n int) { return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -804,7 +767,6 @@ func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -888,7 +850,6 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryInflationRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -939,7 +900,6 @@ func (m *QueryInflationRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryInflationResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1023,7 +983,6 @@ func (m *QueryInflationResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryAnnualProvisionsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1074,7 +1033,6 @@ func (m *QueryAnnualProvisionsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryAnnualProvisionsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1158,7 +1116,6 @@ func (m *QueryAnnualProvisionsResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/mint/types/query.pb.gw.go b/x/mint/types/query.pb.gw.go index 31809a5c9..bde697f71 100644 --- a/x/mint/types/query.pb.gw.go +++ b/x/mint/types/query.pb.gw.go @@ -25,15 +25,13 @@ import ( ) // Suppress "imported and not used" errors -var ( - _ codes.Code - _ io.Reader - _ status.Status - _ = runtime.String - _ = utilities.NewDoubleArray - _ = descriptor.ForMessage - _ = metadata.Join -) +var _ codes.Code +var _ io.Reader +var _ status.Status +var _ = runtime.String +var _ = utilities.NewDoubleArray +var _ = descriptor.ForMessage +var _ = metadata.Join func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryParamsRequest @@ -41,6 +39,7 @@ func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, cl msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -49,6 +48,7 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal msg, err := server.Params(ctx, &protoReq) return msg, metadata, err + } func request_Query_Inflation_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -57,6 +57,7 @@ func request_Query_Inflation_0(ctx context.Context, marshaler runtime.Marshaler, msg, err := client.Inflation(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_Inflation_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -65,6 +66,7 @@ func local_request_Query_Inflation_0(ctx context.Context, marshaler runtime.Mars msg, err := server.Inflation(ctx, &protoReq) return msg, metadata, err + } func request_Query_AnnualProvisions_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -73,6 +75,7 @@ func request_Query_AnnualProvisions_0(ctx context.Context, marshaler runtime.Mar msg, err := client.AnnualProvisions(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_AnnualProvisions_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -81,6 +84,7 @@ func local_request_Query_AnnualProvisions_0(ctx context.Context, marshaler runti msg, err := server.AnnualProvisions(ctx, &protoReq) return msg, metadata, err + } // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". @@ -88,6 +92,7 @@ func local_request_Query_AnnualProvisions_0(ctx context.Context, marshaler runti // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. // Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead. func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error { + mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -108,6 +113,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Inflation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -130,6 +136,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_Inflation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_AnnualProvisions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -152,6 +159,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_AnnualProvisions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil @@ -194,6 +202,7 @@ func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in // "QueryClient" to call the correct interceptors. func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error { + mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -211,6 +220,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Inflation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -230,6 +240,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_Inflation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_AnnualProvisions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -249,6 +260,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_AnnualProvisions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil diff --git a/x/mint/types/tx.pb.go b/x/mint/types/tx.pb.go index c3693f5bf..4f00745e9 100644 --- a/x/mint/types/tx.pb.go +++ b/x/mint/types/tx.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" @@ -19,14 +15,15 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -52,11 +49,9 @@ func (*MsgUpdateParams) ProtoMessage() {} func (*MsgUpdateParams) Descriptor() ([]byte, []int) { return fileDescriptor_79e41a47c726ee2e, []int{0} } - func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgUpdateParams.Marshal(b, m, deterministic) @@ -69,15 +64,12 @@ func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, err return b[:n], nil } } - func (m *MsgUpdateParams) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgUpdateParams.Merge(m, src) } - func (m *MsgUpdateParams) XXX_Size() int { return m.Size() } - func (m *MsgUpdateParams) XXX_DiscardUnknown() { xxx_messageInfo_MsgUpdateParams.DiscardUnknown(m) } @@ -102,7 +94,8 @@ func (m *MsgUpdateParams) GetParams() Params { // MsgUpdateParams message. // // Since: cosmos-sdk 0.47 -type MsgUpdateParamsResponse struct{} +type MsgUpdateParamsResponse struct { +} func (m *MsgUpdateParamsResponse) Reset() { *m = MsgUpdateParamsResponse{} } func (m *MsgUpdateParamsResponse) String() string { return proto.CompactTextString(m) } @@ -110,11 +103,9 @@ func (*MsgUpdateParamsResponse) ProtoMessage() {} func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_79e41a47c726ee2e, []int{1} } - func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgUpdateParamsResponse.Marshal(b, m, deterministic) @@ -127,15 +118,12 @@ func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgUpdateParamsResponse.Merge(m, src) } - func (m *MsgUpdateParamsResponse) XXX_Size() int { return m.Size() } - func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgUpdateParamsResponse.DiscardUnknown(m) } @@ -176,10 +164,8 @@ var fileDescriptor_79e41a47c726ee2e = []byte{ } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -223,7 +209,8 @@ type MsgServer interface { } // UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct{} +type UnimplementedMsgServer struct { +} func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented") @@ -338,7 +325,6 @@ func encodeVarintTx(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *MsgUpdateParams) Size() (n int) { if m == nil { return 0 @@ -366,11 +352,9 @@ func (m *MsgUpdateParamsResponse) Size() (n int) { func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozTx(x uint64) (n int) { return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -486,7 +470,6 @@ func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -537,7 +520,6 @@ func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/vesting/types/tx.pb.go b/x/vesting/types/tx.pb.go index 404850681..f3e8c57cc 100644 --- a/x/vesting/types/tx.pb.go +++ b/x/vesting/types/tx.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "github.com/cosmos/cosmos-proto" github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types "github.com/cosmos/cosmos-sdk/types" @@ -21,14 +17,15 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -52,11 +49,9 @@ func (*MsgCreateVestingAccount) ProtoMessage() {} func (*MsgCreateVestingAccount) Descriptor() ([]byte, []int) { return fileDescriptor_c66d8e2aee35e411, []int{0} } - func (m *MsgCreateVestingAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgCreateVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgCreateVestingAccount.Marshal(b, m, deterministic) @@ -69,15 +64,12 @@ func (m *MsgCreateVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]b return b[:n], nil } } - func (m *MsgCreateVestingAccount) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgCreateVestingAccount.Merge(m, src) } - func (m *MsgCreateVestingAccount) XXX_Size() int { return m.Size() } - func (m *MsgCreateVestingAccount) XXX_DiscardUnknown() { xxx_messageInfo_MsgCreateVestingAccount.DiscardUnknown(m) } @@ -120,7 +112,8 @@ func (m *MsgCreateVestingAccount) GetDelayed() bool { } // MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. -type MsgCreateVestingAccountResponse struct{} +type MsgCreateVestingAccountResponse struct { +} func (m *MsgCreateVestingAccountResponse) Reset() { *m = MsgCreateVestingAccountResponse{} } func (m *MsgCreateVestingAccountResponse) String() string { return proto.CompactTextString(m) } @@ -128,11 +121,9 @@ func (*MsgCreateVestingAccountResponse) ProtoMessage() {} func (*MsgCreateVestingAccountResponse) Descriptor() ([]byte, []int) { return fileDescriptor_c66d8e2aee35e411, []int{1} } - func (m *MsgCreateVestingAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgCreateVestingAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgCreateVestingAccountResponse.Marshal(b, m, deterministic) @@ -145,15 +136,12 @@ func (m *MsgCreateVestingAccountResponse) XXX_Marshal(b []byte, deterministic bo return b[:n], nil } } - func (m *MsgCreateVestingAccountResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgCreateVestingAccountResponse.Merge(m, src) } - func (m *MsgCreateVestingAccountResponse) XXX_Size() int { return m.Size() } - func (m *MsgCreateVestingAccountResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgCreateVestingAccountResponse.DiscardUnknown(m) } @@ -176,11 +164,9 @@ func (*MsgCreatePermanentLockedAccount) ProtoMessage() {} func (*MsgCreatePermanentLockedAccount) Descriptor() ([]byte, []int) { return fileDescriptor_c66d8e2aee35e411, []int{2} } - func (m *MsgCreatePermanentLockedAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgCreatePermanentLockedAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgCreatePermanentLockedAccount.Marshal(b, m, deterministic) @@ -193,15 +179,12 @@ func (m *MsgCreatePermanentLockedAccount) XXX_Marshal(b []byte, deterministic bo return b[:n], nil } } - func (m *MsgCreatePermanentLockedAccount) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgCreatePermanentLockedAccount.Merge(m, src) } - func (m *MsgCreatePermanentLockedAccount) XXX_Size() int { return m.Size() } - func (m *MsgCreatePermanentLockedAccount) XXX_DiscardUnknown() { xxx_messageInfo_MsgCreatePermanentLockedAccount.DiscardUnknown(m) } @@ -232,7 +215,8 @@ func (m *MsgCreatePermanentLockedAccount) GetAmount() github_com_cosmos_cosmos_s // MsgCreatePermanentLockedAccountResponse defines the Msg/CreatePermanentLockedAccount response type. // // Since: cosmos-sdk 0.46 -type MsgCreatePermanentLockedAccountResponse struct{} +type MsgCreatePermanentLockedAccountResponse struct { +} func (m *MsgCreatePermanentLockedAccountResponse) Reset() { *m = MsgCreatePermanentLockedAccountResponse{} @@ -242,11 +226,9 @@ func (*MsgCreatePermanentLockedAccountResponse) ProtoMessage() {} func (*MsgCreatePermanentLockedAccountResponse) Descriptor() ([]byte, []int) { return fileDescriptor_c66d8e2aee35e411, []int{3} } - func (m *MsgCreatePermanentLockedAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgCreatePermanentLockedAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgCreatePermanentLockedAccountResponse.Marshal(b, m, deterministic) @@ -259,15 +241,12 @@ func (m *MsgCreatePermanentLockedAccountResponse) XXX_Marshal(b []byte, determin return b[:n], nil } } - func (m *MsgCreatePermanentLockedAccountResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgCreatePermanentLockedAccountResponse.Merge(m, src) } - func (m *MsgCreatePermanentLockedAccountResponse) XXX_Size() int { return m.Size() } - func (m *MsgCreatePermanentLockedAccountResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgCreatePermanentLockedAccountResponse.DiscardUnknown(m) } @@ -292,11 +271,9 @@ func (*MsgCreatePeriodicVestingAccount) ProtoMessage() {} func (*MsgCreatePeriodicVestingAccount) Descriptor() ([]byte, []int) { return fileDescriptor_c66d8e2aee35e411, []int{4} } - func (m *MsgCreatePeriodicVestingAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgCreatePeriodicVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgCreatePeriodicVestingAccount.Marshal(b, m, deterministic) @@ -309,15 +286,12 @@ func (m *MsgCreatePeriodicVestingAccount) XXX_Marshal(b []byte, deterministic bo return b[:n], nil } } - func (m *MsgCreatePeriodicVestingAccount) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgCreatePeriodicVestingAccount.Merge(m, src) } - func (m *MsgCreatePeriodicVestingAccount) XXX_Size() int { return m.Size() } - func (m *MsgCreatePeriodicVestingAccount) XXX_DiscardUnknown() { xxx_messageInfo_MsgCreatePeriodicVestingAccount.DiscardUnknown(m) } @@ -356,7 +330,8 @@ func (m *MsgCreatePeriodicVestingAccount) GetVestingPeriods() []Period { // response type. // // Since: cosmos-sdk 0.46 -type MsgCreatePeriodicVestingAccountResponse struct{} +type MsgCreatePeriodicVestingAccountResponse struct { +} func (m *MsgCreatePeriodicVestingAccountResponse) Reset() { *m = MsgCreatePeriodicVestingAccountResponse{} @@ -366,11 +341,9 @@ func (*MsgCreatePeriodicVestingAccountResponse) ProtoMessage() {} func (*MsgCreatePeriodicVestingAccountResponse) Descriptor() ([]byte, []int) { return fileDescriptor_c66d8e2aee35e411, []int{5} } - func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgCreatePeriodicVestingAccountResponse.Marshal(b, m, deterministic) @@ -383,15 +356,12 @@ func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Marshal(b []byte, determin return b[:n], nil } } - func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgCreatePeriodicVestingAccountResponse.Merge(m, src) } - func (m *MsgCreatePeriodicVestingAccountResponse) XXX_Size() int { return m.Size() } - func (m *MsgCreatePeriodicVestingAccountResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgCreatePeriodicVestingAccountResponse.DiscardUnknown(m) } @@ -414,11 +384,9 @@ func (*MsgCreateCliffVestingAccount) ProtoMessage() {} func (*MsgCreateCliffVestingAccount) Descriptor() ([]byte, []int) { return fileDescriptor_c66d8e2aee35e411, []int{6} } - func (m *MsgCreateCliffVestingAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgCreateCliffVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgCreateCliffVestingAccount.Marshal(b, m, deterministic) @@ -431,15 +399,12 @@ func (m *MsgCreateCliffVestingAccount) XXX_Marshal(b []byte, deterministic bool) return b[:n], nil } } - func (m *MsgCreateCliffVestingAccount) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgCreateCliffVestingAccount.Merge(m, src) } - func (m *MsgCreateCliffVestingAccount) XXX_Size() int { return m.Size() } - func (m *MsgCreateCliffVestingAccount) XXX_DiscardUnknown() { xxx_messageInfo_MsgCreateCliffVestingAccount.DiscardUnknown(m) } @@ -482,7 +447,8 @@ func (m *MsgCreateCliffVestingAccount) GetCliffTime() int64 { } // MsgCreateCliffVestingAccountResponse defines the Msg/CreateVestingAccount response type. -type MsgCreateCliffVestingAccountResponse struct{} +type MsgCreateCliffVestingAccountResponse struct { +} func (m *MsgCreateCliffVestingAccountResponse) Reset() { *m = MsgCreateCliffVestingAccountResponse{} } func (m *MsgCreateCliffVestingAccountResponse) String() string { return proto.CompactTextString(m) } @@ -490,11 +456,9 @@ func (*MsgCreateCliffVestingAccountResponse) ProtoMessage() {} func (*MsgCreateCliffVestingAccountResponse) Descriptor() ([]byte, []int) { return fileDescriptor_c66d8e2aee35e411, []int{7} } - func (m *MsgCreateCliffVestingAccountResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgCreateCliffVestingAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgCreateCliffVestingAccountResponse.Marshal(b, m, deterministic) @@ -507,15 +471,12 @@ func (m *MsgCreateCliffVestingAccountResponse) XXX_Marshal(b []byte, determinist return b[:n], nil } } - func (m *MsgCreateCliffVestingAccountResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgCreateCliffVestingAccountResponse.Merge(m, src) } - func (m *MsgCreateCliffVestingAccountResponse) XXX_Size() int { return m.Size() } - func (m *MsgCreateCliffVestingAccountResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgCreateCliffVestingAccountResponse.DiscardUnknown(m) } @@ -626,7 +587,6 @@ func (this *MsgCreateVestingAccount) Equal(that interface{}) bool { } return true } - func (this *MsgCreatePermanentLockedAccount) Equal(that interface{}) bool { if that == nil { return this == nil @@ -662,7 +622,6 @@ func (this *MsgCreatePermanentLockedAccount) Equal(that interface{}) bool { } return true } - func (this *MsgCreateCliffVestingAccount) Equal(that interface{}) bool { if that == nil { return this == nil @@ -706,10 +665,8 @@ func (this *MsgCreateCliffVestingAccount) Equal(that interface{}) bool { } // Reference imports to suppress errors if they are not otherwise used. -var ( - _ context.Context - _ grpc.ClientConn -) +var _ context.Context +var _ grpc.ClientConn // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. @@ -802,20 +759,18 @@ type MsgServer interface { } // UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct{} +type UnimplementedMsgServer struct { +} func (*UnimplementedMsgServer) CreateVestingAccount(ctx context.Context, req *MsgCreateVestingAccount) (*MsgCreateVestingAccountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateVestingAccount not implemented") } - func (*UnimplementedMsgServer) CreatePermanentLockedAccount(ctx context.Context, req *MsgCreatePermanentLockedAccount) (*MsgCreatePermanentLockedAccountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreatePermanentLockedAccount not implemented") } - func (*UnimplementedMsgServer) CreatePeriodicVestingAccount(ctx context.Context, req *MsgCreatePeriodicVestingAccount) (*MsgCreatePeriodicVestingAccountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreatePeriodicVestingAccount not implemented") } - func (*UnimplementedMsgServer) CreateCliffVestingAccount(ctx context.Context, req *MsgCreateCliffVestingAccount) (*MsgCreateCliffVestingAccountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateCliffVestingAccount not implemented") } @@ -1258,7 +1213,6 @@ func encodeVarintTx(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *MsgCreateVestingAccount) Size() (n int) { if m == nil { return 0 @@ -1405,11 +1359,9 @@ func (m *MsgCreateCliffVestingAccountResponse) Size() (n int) { func sovTx(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozTx(x uint64) (n int) { return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *MsgCreateVestingAccount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1597,7 +1549,6 @@ func (m *MsgCreateVestingAccount) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgCreateVestingAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1648,7 +1599,6 @@ func (m *MsgCreateVestingAccountResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgCreatePermanentLockedAccount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1797,7 +1747,6 @@ func (m *MsgCreatePermanentLockedAccount) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgCreatePermanentLockedAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1848,7 +1797,6 @@ func (m *MsgCreatePermanentLockedAccountResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgCreatePeriodicVestingAccount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2016,7 +1964,6 @@ func (m *MsgCreatePeriodicVestingAccount) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgCreatePeriodicVestingAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2067,7 +2014,6 @@ func (m *MsgCreatePeriodicVestingAccountResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgCreateCliffVestingAccount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2254,7 +2200,6 @@ func (m *MsgCreateCliffVestingAccount) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgCreateCliffVestingAccountResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -2305,7 +2250,6 @@ func (m *MsgCreateCliffVestingAccountResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/vesting/types/vesting.pb.go b/x/vesting/types/vesting.pb.go index 4b3b87a11..c85c68cef 100644 --- a/x/vesting/types/vesting.pb.go +++ b/x/vesting/types/vesting.pb.go @@ -5,24 +5,21 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types" types1 "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" types "github.com/cosmos/cosmos-sdk/x/auth/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" ) // Reference imports to suppress errors if they are not otherwise used. -var ( - _ = proto.Marshal - _ = fmt.Errorf - _ = math.Inf -) +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. @@ -46,11 +43,9 @@ func (*BaseVestingAccount) ProtoMessage() {} func (*BaseVestingAccount) Descriptor() ([]byte, []int) { return fileDescriptor_eac461ec52018387, []int{0} } - func (m *BaseVestingAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *BaseVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_BaseVestingAccount.Marshal(b, m, deterministic) @@ -63,15 +58,12 @@ func (m *BaseVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *BaseVestingAccount) XXX_Merge(src proto.Message) { xxx_messageInfo_BaseVestingAccount.Merge(m, src) } - func (m *BaseVestingAccount) XXX_Size() int { return m.Size() } - func (m *BaseVestingAccount) XXX_DiscardUnknown() { xxx_messageInfo_BaseVestingAccount.DiscardUnknown(m) } @@ -91,11 +83,9 @@ func (*ContinuousVestingAccount) ProtoMessage() {} func (*ContinuousVestingAccount) Descriptor() ([]byte, []int) { return fileDescriptor_eac461ec52018387, []int{1} } - func (m *ContinuousVestingAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *ContinuousVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ContinuousVestingAccount.Marshal(b, m, deterministic) @@ -108,15 +98,12 @@ func (m *ContinuousVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } - func (m *ContinuousVestingAccount) XXX_Merge(src proto.Message) { xxx_messageInfo_ContinuousVestingAccount.Merge(m, src) } - func (m *ContinuousVestingAccount) XXX_Size() int { return m.Size() } - func (m *ContinuousVestingAccount) XXX_DiscardUnknown() { xxx_messageInfo_ContinuousVestingAccount.DiscardUnknown(m) } @@ -135,11 +122,9 @@ func (*DelayedVestingAccount) ProtoMessage() {} func (*DelayedVestingAccount) Descriptor() ([]byte, []int) { return fileDescriptor_eac461ec52018387, []int{2} } - func (m *DelayedVestingAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *DelayedVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_DelayedVestingAccount.Marshal(b, m, deterministic) @@ -152,15 +137,12 @@ func (m *DelayedVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } - func (m *DelayedVestingAccount) XXX_Merge(src proto.Message) { xxx_messageInfo_DelayedVestingAccount.Merge(m, src) } - func (m *DelayedVestingAccount) XXX_Size() int { return m.Size() } - func (m *DelayedVestingAccount) XXX_DiscardUnknown() { xxx_messageInfo_DelayedVestingAccount.DiscardUnknown(m) } @@ -178,11 +160,9 @@ func (*Period) ProtoMessage() {} func (*Period) Descriptor() ([]byte, []int) { return fileDescriptor_eac461ec52018387, []int{3} } - func (m *Period) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *Period) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_Period.Marshal(b, m, deterministic) @@ -195,15 +175,12 @@ func (m *Period) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return b[:n], nil } } - func (m *Period) XXX_Merge(src proto.Message) { xxx_messageInfo_Period.Merge(m, src) } - func (m *Period) XXX_Size() int { return m.Size() } - func (m *Period) XXX_DiscardUnknown() { xxx_messageInfo_Period.DiscardUnknown(m) } @@ -237,11 +214,9 @@ func (*PeriodicVestingAccount) ProtoMessage() {} func (*PeriodicVestingAccount) Descriptor() ([]byte, []int) { return fileDescriptor_eac461ec52018387, []int{4} } - func (m *PeriodicVestingAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *PeriodicVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_PeriodicVestingAccount.Marshal(b, m, deterministic) @@ -254,15 +229,12 @@ func (m *PeriodicVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } - func (m *PeriodicVestingAccount) XXX_Merge(src proto.Message) { xxx_messageInfo_PeriodicVestingAccount.Merge(m, src) } - func (m *PeriodicVestingAccount) XXX_Size() int { return m.Size() } - func (m *PeriodicVestingAccount) XXX_DiscardUnknown() { xxx_messageInfo_PeriodicVestingAccount.DiscardUnknown(m) } @@ -283,11 +255,9 @@ func (*PermanentLockedAccount) ProtoMessage() {} func (*PermanentLockedAccount) Descriptor() ([]byte, []int) { return fileDescriptor_eac461ec52018387, []int{5} } - func (m *PermanentLockedAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *PermanentLockedAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_PermanentLockedAccount.Marshal(b, m, deterministic) @@ -300,15 +270,12 @@ func (m *PermanentLockedAccount) XXX_Marshal(b []byte, deterministic bool) ([]by return b[:n], nil } } - func (m *PermanentLockedAccount) XXX_Merge(src proto.Message) { xxx_messageInfo_PermanentLockedAccount.Merge(m, src) } - func (m *PermanentLockedAccount) XXX_Size() int { return m.Size() } - func (m *PermanentLockedAccount) XXX_DiscardUnknown() { xxx_messageInfo_PermanentLockedAccount.DiscardUnknown(m) } @@ -331,11 +298,9 @@ func (*CliffVestingAccount) ProtoMessage() {} func (*CliffVestingAccount) Descriptor() ([]byte, []int) { return fileDescriptor_eac461ec52018387, []int{6} } - func (m *CliffVestingAccount) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *CliffVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_CliffVestingAccount.Marshal(b, m, deterministic) @@ -348,15 +313,12 @@ func (m *CliffVestingAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } - func (m *CliffVestingAccount) XXX_Merge(src proto.Message) { xxx_messageInfo_CliffVestingAccount.Merge(m, src) } - func (m *CliffVestingAccount) XXX_Size() int { return m.Size() } - func (m *CliffVestingAccount) XXX_DiscardUnknown() { xxx_messageInfo_CliffVestingAccount.DiscardUnknown(m) } @@ -763,7 +725,6 @@ func encodeVarintVesting(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *BaseVestingAccount) Size() (n int) { if m == nil { return 0 @@ -902,11 +863,9 @@ func (m *CliffVestingAccount) Size() (n int) { func sovVesting(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozVesting(x uint64) (n int) { return sovVesting(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *BaseVestingAccount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1114,7 +1073,6 @@ func (m *BaseVestingAccount) Unmarshal(dAtA []byte) error { } return nil } - func (m *ContinuousVestingAccount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1220,7 +1178,6 @@ func (m *ContinuousVestingAccount) Unmarshal(dAtA []byte) error { } return nil } - func (m *DelayedVestingAccount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1307,7 +1264,6 @@ func (m *DelayedVestingAccount) Unmarshal(dAtA []byte) error { } return nil } - func (m *Period) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1411,7 +1367,6 @@ func (m *Period) Unmarshal(dAtA []byte) error { } return nil } - func (m *PeriodicVestingAccount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1551,7 +1506,6 @@ func (m *PeriodicVestingAccount) Unmarshal(dAtA []byte) error { } return nil } - func (m *PermanentLockedAccount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1638,7 +1592,6 @@ func (m *PermanentLockedAccount) Unmarshal(dAtA []byte) error { } return nil } - func (m *CliffVestingAccount) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1763,7 +1716,6 @@ func (m *CliffVestingAccount) Unmarshal(dAtA []byte) error { } return nil } - func skipVesting(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0