From 943433d64acbdd16862af46c5708496975d79bf2 Mon Sep 17 00:00:00 2001 From: Trinity Date: Wed, 28 Aug 2024 10:27:59 +0700 Subject: [PATCH] Update proto --- .../meshsecurity/v1beta1/scheduler.proto | 8 -- .../meshsecurityprovider/genesis.proto | 19 +++++ .../osmosis/meshsecurityprovider/query.proto | 19 +++++ proto/osmosis/meshsecurityprovider/tx.proto | 31 +++++++ x/meshsecurity/types/genesis.pb.go | 25 ++---- x/meshsecurity/types/meshsecurity.pb.go | 32 ++------ x/meshsecurity/types/query.pb.go | 71 ++++------------ x/meshsecurity/types/query.pb.gw.go | 30 ++++--- x/meshsecurity/types/scheduler.pb.go | 24 ++---- x/meshsecurity/types/tx.pb.go | 42 +++------- x/meshsecurityprovider/types/genesis.pb.go | 80 +++++++------------ x/meshsecurityprovider/types/params.go | 9 --- x/meshsecurityprovider/types/query.pb.go | 28 +++---- x/meshsecurityprovider/types/tx.pb.go | 75 ++++++----------- 14 files changed, 199 insertions(+), 294 deletions(-) create mode 100644 proto/osmosis/meshsecurityprovider/genesis.proto create mode 100644 proto/osmosis/meshsecurityprovider/query.proto create mode 100644 proto/osmosis/meshsecurityprovider/tx.proto diff --git a/proto/osmosis/meshsecurity/v1beta1/scheduler.proto b/proto/osmosis/meshsecurity/v1beta1/scheduler.proto index 30f481fa..a7334e88 100644 --- a/proto/osmosis/meshsecurity/v1beta1/scheduler.proto +++ b/proto/osmosis/meshsecurity/v1beta1/scheduler.proto @@ -1,21 +1,13 @@ syntax = "proto3"; package osmosis.meshsecurity.v1beta1; -// import "cosmos/base/v1beta1/coin.proto"; import "gogoproto/gogo.proto"; -// import "amino/amino.proto"; import "cosmos_proto/cosmos.proto"; option go_package = "github.com/osmosis-labs/mesh-security-sdk/x/meshsecurity/types"; option (gogoproto.goproto_getters_all) = false; option (gogoproto.equal_all) = false; -// -message ScheduledWork { - bool repeat = 1; -} - - // ValidatorAddress payload data to be used with the scheduler message ValidatorAddress { // Address is the ValAddress bech32 string diff --git a/proto/osmosis/meshsecurityprovider/genesis.proto b/proto/osmosis/meshsecurityprovider/genesis.proto new file mode 100644 index 00000000..71577053 --- /dev/null +++ b/proto/osmosis/meshsecurityprovider/genesis.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; +package osmosis.meshsecurityprovider; + +import "gogoproto/gogo.proto"; +import "google/protobuf/any.proto"; +import "cosmos_proto/cosmos.proto"; + +option go_package = "github.com/osmosis-labs/mesh-security-sdk/x/meshsecurityprovider/types"; + +message Params { + string vault_address = 1 [ (gogoproto.moretags) = "yaml:\"vault_address\"" ]; + string native_staking_address = 2 [ (gogoproto.moretags) = "yaml:\"native_staking_address\"" ]; +} + +// GenesisState defines the meshsecurityprovider module's genesis state. +message GenesisState { + // params is the container of meshsecurityprovider parameters. + Params params = 1 [ (gogoproto.nullable) = false ]; +} \ No newline at end of file diff --git a/proto/osmosis/meshsecurityprovider/query.proto b/proto/osmosis/meshsecurityprovider/query.proto new file mode 100644 index 00000000..f6e72bcf --- /dev/null +++ b/proto/osmosis/meshsecurityprovider/query.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; +package osmosis.meshsecurityprovider; + +import "gogoproto/gogo.proto"; +import "google/api/annotations.proto"; +import "osmosis/meshsecurityprovider/genesis.proto"; +import "osmosis/meshsecurityprovider/tx.proto"; + +option go_package = "github.com/osmosis-labs/mesh-security-sdk/x/meshsecurityprovider/types"; + +service Query { + rpc Params(ParamsRequest) returns (ParamsResponse) { + option (google.api.http).get = "/osmosis/meshsecurityprovider/Params"; + } +} + +//=============================== Params +message ParamsRequest {} +message ParamsResponse { Params params = 1 [ (gogoproto.nullable) = false ]; } \ No newline at end of file diff --git a/proto/osmosis/meshsecurityprovider/tx.proto b/proto/osmosis/meshsecurityprovider/tx.proto new file mode 100644 index 00000000..fd87a08e --- /dev/null +++ b/proto/osmosis/meshsecurityprovider/tx.proto @@ -0,0 +1,31 @@ +syntax = "proto3"; +package osmosis.meshsecurityprovider; + +import "amino/amino.proto"; +import "gogoproto/gogo.proto"; +import "cosmos/base/v1beta1/coin.proto"; +import "cosmos/msg/v1/msg.proto"; +import "osmosis/meshsecurityprovider/genesis.proto"; + +option go_package = "github.com/osmosis-labs/mesh-security-sdk/x/meshsecurityprovider/types"; +option (gogoproto.goproto_getters_all) = false; + +service Msg { + rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); +} + +// MsgUpdateParams updates meshsecurityprovider module 's params +message MsgUpdateParams { + option (amino.name) = "meshsecurityprovider/MsgUpdateParams"; + option (cosmos.msg.v1.signer) = "authority"; + + // Authority is the address that controls the module (defaults to x/gov unless + // overwritten). + string authority = 1; + + // params defines the x/meshsecurityprovider parameters to update. + Params params = 2 [ (gogoproto.nullable) = false ]; + +} + +message MsgUpdateParamsResponse {} \ No newline at end of file diff --git a/x/meshsecurity/types/genesis.pb.go b/x/meshsecurity/types/genesis.pb.go index 5575e806..f0eb82ba 100644 --- a/x/meshsecurity/types/genesis.pb.go +++ b/x/meshsecurity/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. @@ -38,11 +35,9 @@ func (*GenesisState) ProtoMessage() {} func (*GenesisState) Descriptor() ([]byte, []int) { return fileDescriptor_e38a457d5139d73a, []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) } @@ -122,7 +114,6 @@ func (this *GenesisState) Equal(that interface{}) bool { } return true } - func (m *GenesisState) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -167,7 +158,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 +172,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 @@ -270,7 +258,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/meshsecurity/types/meshsecurity.pb.go b/x/meshsecurity/types/meshsecurity.pb.go index 91e1950b..6abc9723 100644 --- a/x/meshsecurity/types/meshsecurity.pb.go +++ b/x/meshsecurity/types/meshsecurity.pb.go @@ -5,22 +5,19 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - types "github.com/cosmos/cosmos-sdk/types" _ "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. @@ -45,11 +42,9 @@ func (*VirtualStakingMaxCapInfo) ProtoMessage() {} func (*VirtualStakingMaxCapInfo) Descriptor() ([]byte, []int) { return fileDescriptor_53771980e3e4256c, []int{0} } - func (m *VirtualStakingMaxCapInfo) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *VirtualStakingMaxCapInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_VirtualStakingMaxCapInfo.Marshal(b, m, deterministic) @@ -62,15 +57,12 @@ func (m *VirtualStakingMaxCapInfo) XXX_Marshal(b []byte, deterministic bool) ([] return b[:n], nil } } - func (m *VirtualStakingMaxCapInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_VirtualStakingMaxCapInfo.Merge(m, src) } - func (m *VirtualStakingMaxCapInfo) XXX_Size() int { return m.Size() } - func (m *VirtualStakingMaxCapInfo) XXX_DiscardUnknown() { xxx_messageInfo_VirtualStakingMaxCapInfo.DiscardUnknown(m) } @@ -95,11 +87,9 @@ func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { return fileDescriptor_53771980e3e4256c, []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) @@ -112,15 +102,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) } @@ -196,7 +183,6 @@ func (this *VirtualStakingMaxCapInfo) Equal(that interface{}) bool { } return true } - func (this *Params) Equal(that interface{}) bool { if that == nil { return this == nil @@ -227,7 +213,6 @@ func (this *Params) Equal(that interface{}) bool { } return true } - func (m *VirtualStakingMaxCapInfo) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -332,7 +317,6 @@ func encodeVarintMeshsecurity(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *VirtualStakingMaxCapInfo) Size() (n int) { if m == nil { return 0 @@ -370,11 +354,9 @@ func (m *Params) Size() (n int) { func sovMeshsecurity(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozMeshsecurity(x uint64) (n int) { return sovMeshsecurity(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *VirtualStakingMaxCapInfo) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -523,7 +505,6 @@ func (m *VirtualStakingMaxCapInfo) Unmarshal(dAtA []byte) error { } return nil } - func (m *Params) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -645,7 +626,6 @@ func (m *Params) Unmarshal(dAtA []byte) error { } return nil } - func skipMeshsecurity(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/meshsecurity/types/query.pb.go b/x/meshsecurity/types/query.pb.go index c3287ff4..18bc2e46 100644 --- a/x/meshsecurity/types/query.pb.go +++ b/x/meshsecurity/types/query.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - types "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" _ "github.com/cosmos/gogoproto/gogoproto" @@ -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. @@ -47,11 +44,9 @@ func (*QueryVirtualStakingMaxCapLimitRequest) ProtoMessage() {} func (*QueryVirtualStakingMaxCapLimitRequest) Descriptor() ([]byte, []int) { return fileDescriptor_50c89ba006eed4fb, []int{0} } - func (m *QueryVirtualStakingMaxCapLimitRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryVirtualStakingMaxCapLimitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryVirtualStakingMaxCapLimitRequest.Marshal(b, m, deterministic) @@ -64,15 +59,12 @@ func (m *QueryVirtualStakingMaxCapLimitRequest) XXX_Marshal(b []byte, determinis return b[:n], nil } } - func (m *QueryVirtualStakingMaxCapLimitRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryVirtualStakingMaxCapLimitRequest.Merge(m, src) } - func (m *QueryVirtualStakingMaxCapLimitRequest) XXX_Size() int { return m.Size() } - func (m *QueryVirtualStakingMaxCapLimitRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryVirtualStakingMaxCapLimitRequest.DiscardUnknown(m) } @@ -94,11 +86,9 @@ func (*QueryVirtualStakingMaxCapLimitResponse) ProtoMessage() {} func (*QueryVirtualStakingMaxCapLimitResponse) Descriptor() ([]byte, []int) { return fileDescriptor_50c89ba006eed4fb, []int{1} } - func (m *QueryVirtualStakingMaxCapLimitResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryVirtualStakingMaxCapLimitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryVirtualStakingMaxCapLimitResponse.Marshal(b, m, deterministic) @@ -111,15 +101,12 @@ func (m *QueryVirtualStakingMaxCapLimitResponse) XXX_Marshal(b []byte, determini return b[:n], nil } } - func (m *QueryVirtualStakingMaxCapLimitResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryVirtualStakingMaxCapLimitResponse.Merge(m, src) } - func (m *QueryVirtualStakingMaxCapLimitResponse) XXX_Size() int { return m.Size() } - func (m *QueryVirtualStakingMaxCapLimitResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryVirtualStakingMaxCapLimitResponse.DiscardUnknown(m) } @@ -128,7 +115,8 @@ var xxx_messageInfo_QueryVirtualStakingMaxCapLimitResponse proto.InternalMessage // QueryVirtualStakingMaxCapLimitsRequest is the request type for the // Query/VirtualStakingMaxCapLimits RPC method -type QueryVirtualStakingMaxCapLimitsRequest struct{} +type QueryVirtualStakingMaxCapLimitsRequest struct { +} func (m *QueryVirtualStakingMaxCapLimitsRequest) Reset() { *m = QueryVirtualStakingMaxCapLimitsRequest{} @@ -138,11 +126,9 @@ func (*QueryVirtualStakingMaxCapLimitsRequest) ProtoMessage() {} func (*QueryVirtualStakingMaxCapLimitsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_50c89ba006eed4fb, []int{2} } - func (m *QueryVirtualStakingMaxCapLimitsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryVirtualStakingMaxCapLimitsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryVirtualStakingMaxCapLimitsRequest.Marshal(b, m, deterministic) @@ -155,15 +141,12 @@ func (m *QueryVirtualStakingMaxCapLimitsRequest) XXX_Marshal(b []byte, determini return b[:n], nil } } - func (m *QueryVirtualStakingMaxCapLimitsRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryVirtualStakingMaxCapLimitsRequest.Merge(m, src) } - func (m *QueryVirtualStakingMaxCapLimitsRequest) XXX_Size() int { return m.Size() } - func (m *QueryVirtualStakingMaxCapLimitsRequest) XXX_DiscardUnknown() { xxx_messageInfo_QueryVirtualStakingMaxCapLimitsRequest.DiscardUnknown(m) } @@ -184,11 +167,9 @@ func (*QueryVirtualStakingMaxCapLimitsResponse) ProtoMessage() {} func (*QueryVirtualStakingMaxCapLimitsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_50c89ba006eed4fb, []int{3} } - func (m *QueryVirtualStakingMaxCapLimitsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *QueryVirtualStakingMaxCapLimitsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_QueryVirtualStakingMaxCapLimitsResponse.Marshal(b, m, deterministic) @@ -201,15 +182,12 @@ func (m *QueryVirtualStakingMaxCapLimitsResponse) XXX_Marshal(b []byte, determin return b[:n], nil } } - func (m *QueryVirtualStakingMaxCapLimitsResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_QueryVirtualStakingMaxCapLimitsResponse.Merge(m, src) } - func (m *QueryVirtualStakingMaxCapLimitsResponse) XXX_Size() int { return m.Size() } - func (m *QueryVirtualStakingMaxCapLimitsResponse) XXX_DiscardUnknown() { xxx_messageInfo_QueryVirtualStakingMaxCapLimitsResponse.DiscardUnknown(m) } @@ -218,7 +196,8 @@ var xxx_messageInfo_QueryVirtualStakingMaxCapLimitsResponse proto.InternalMessag // 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) } @@ -226,11 +205,9 @@ func (*QueryParamsRequest) ProtoMessage() {} func (*QueryParamsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_50c89ba006eed4fb, []int{4} } - 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) @@ -243,15 +220,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) } @@ -270,11 +244,9 @@ func (*QueryParamsResponse) ProtoMessage() {} func (*QueryParamsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_50c89ba006eed4fb, []int{5} } - 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) @@ -287,15 +259,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) } @@ -384,10 +353,8 @@ func (this *QueryVirtualStakingMaxCapLimitResponse) 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. @@ -451,16 +418,15 @@ type QueryServer interface { } // UnimplementedQueryServer can be embedded to have forward compatible implementations. -type UnimplementedQueryServer struct{} +type UnimplementedQueryServer struct { +} func (*UnimplementedQueryServer) VirtualStakingMaxCapLimit(ctx context.Context, req *QueryVirtualStakingMaxCapLimitRequest) (*QueryVirtualStakingMaxCapLimitResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VirtualStakingMaxCapLimit not implemented") } - func (*UnimplementedQueryServer) VirtualStakingMaxCapLimits(ctx context.Context, req *QueryVirtualStakingMaxCapLimitsRequest) (*QueryVirtualStakingMaxCapLimitsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VirtualStakingMaxCapLimits not implemented") } - func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Params not implemented") } @@ -744,7 +710,6 @@ func encodeVarintQuery(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *QueryVirtualStakingMaxCapLimitRequest) Size() (n int) { if m == nil { return 0 @@ -818,11 +783,9 @@ func (m *QueryParamsResponse) 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 *QueryVirtualStakingMaxCapLimitRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -905,7 +868,6 @@ func (m *QueryVirtualStakingMaxCapLimitRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryVirtualStakingMaxCapLimitResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1022,7 +984,6 @@ func (m *QueryVirtualStakingMaxCapLimitResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryVirtualStakingMaxCapLimitsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1073,7 +1034,6 @@ func (m *QueryVirtualStakingMaxCapLimitsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryVirtualStakingMaxCapLimitsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1158,7 +1118,6 @@ func (m *QueryVirtualStakingMaxCapLimitsResponse) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1209,7 +1168,6 @@ func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error { } return nil } - func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -1293,7 +1251,6 @@ func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipQuery(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/meshsecurity/types/query.pb.gw.go b/x/meshsecurity/types/query.pb.gw.go index 7922edbd..b00a85c2 100644 --- a/x/meshsecurity/types/query.pb.gw.go +++ b/x/meshsecurity/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_VirtualStakingMaxCapLimit_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryVirtualStakingMaxCapLimitRequest @@ -59,6 +57,7 @@ func request_Query_VirtualStakingMaxCapLimit_0(ctx context.Context, marshaler ru msg, err := client.VirtualStakingMaxCapLimit(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_VirtualStakingMaxCapLimit_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -85,6 +84,7 @@ func local_request_Query_VirtualStakingMaxCapLimit_0(ctx context.Context, marsha msg, err := server.VirtualStakingMaxCapLimit(ctx, &protoReq) return msg, metadata, err + } func request_Query_VirtualStakingMaxCapLimits_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -93,6 +93,7 @@ func request_Query_VirtualStakingMaxCapLimits_0(ctx context.Context, marshaler r msg, err := client.VirtualStakingMaxCapLimits(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err + } func local_request_Query_VirtualStakingMaxCapLimits_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -101,6 +102,7 @@ func local_request_Query_VirtualStakingMaxCapLimits_0(ctx context.Context, marsh msg, err := server.VirtualStakingMaxCapLimits(ctx, &protoReq) return msg, metadata, err + } 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) { @@ -109,6 +111,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) { @@ -117,6 +120,7 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal msg, err := server.Params(ctx, &protoReq) return msg, metadata, err + } // RegisterQueryHandlerServer registers the http handlers for service Query to "mux". @@ -124,6 +128,7 @@ func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshal // 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_VirtualStakingMaxCapLimit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -144,6 +149,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_VirtualStakingMaxCapLimit_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_VirtualStakingMaxCapLimits_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -166,6 +172,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_VirtualStakingMaxCapLimits_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -188,6 +195,7 @@ func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, serv } forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil @@ -230,6 +238,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_VirtualStakingMaxCapLimit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -247,6 +256,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_VirtualStakingMaxCapLimit_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_VirtualStakingMaxCapLimits_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -266,6 +276,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_VirtualStakingMaxCapLimits_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { @@ -285,6 +296,7 @@ func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + }) return nil diff --git a/x/meshsecurity/types/scheduler.pb.go b/x/meshsecurity/types/scheduler.pb.go index 83d6f939..1d5405c3 100644 --- a/x/meshsecurity/types/scheduler.pb.go +++ b/x/meshsecurity/types/scheduler.pb.go @@ -5,21 +5,18 @@ package types import ( fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - _ "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. @@ -39,11 +36,9 @@ func (*ValidatorAddress) ProtoMessage() {} func (*ValidatorAddress) Descriptor() ([]byte, []int) { return fileDescriptor_de3814df630b6218, []int{0} } - func (m *ValidatorAddress) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *ValidatorAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_ValidatorAddress.Marshal(b, m, deterministic) @@ -56,15 +51,12 @@ func (m *ValidatorAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, er return b[:n], nil } } - func (m *ValidatorAddress) XXX_Merge(src proto.Message) { xxx_messageInfo_ValidatorAddress.Merge(m, src) } - func (m *ValidatorAddress) XXX_Size() int { return m.Size() } - func (m *ValidatorAddress) XXX_DiscardUnknown() { xxx_messageInfo_ValidatorAddress.DiscardUnknown(m) } @@ -139,7 +131,6 @@ func encodeVarintScheduler(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *ValidatorAddress) Size() (n int) { if m == nil { return 0 @@ -156,11 +147,9 @@ func (m *ValidatorAddress) Size() (n int) { func sovScheduler(x uint64) (n int) { return (math_bits.Len64(x|1) + 6) / 7 } - func sozScheduler(x uint64) (n int) { return sovScheduler(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } - func (m *ValidatorAddress) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -243,7 +232,6 @@ func (m *ValidatorAddress) Unmarshal(dAtA []byte) error { } return nil } - func skipScheduler(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/meshsecurity/types/tx.pb.go b/x/meshsecurity/types/tx.pb.go index 7147eeff..1372d1b9 100644 --- a/x/meshsecurity/types/tx.pb.go +++ b/x/meshsecurity/types/tx.pb.go @@ -6,10 +6,6 @@ package types import ( context "context" fmt "fmt" - io "io" - math "math" - math_bits "math/bits" - types "github.com/cosmos/cosmos-sdk/types" _ "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. @@ -53,11 +50,9 @@ func (*MsgSetVirtualStakingMaxCap) ProtoMessage() {} func (*MsgSetVirtualStakingMaxCap) Descriptor() ([]byte, []int) { return fileDescriptor_ca993316ec9770c4, []int{0} } - func (m *MsgSetVirtualStakingMaxCap) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgSetVirtualStakingMaxCap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgSetVirtualStakingMaxCap.Marshal(b, m, deterministic) @@ -70,15 +65,12 @@ func (m *MsgSetVirtualStakingMaxCap) XXX_Marshal(b []byte, deterministic bool) ( return b[:n], nil } } - func (m *MsgSetVirtualStakingMaxCap) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgSetVirtualStakingMaxCap.Merge(m, src) } - func (m *MsgSetVirtualStakingMaxCap) XXX_Size() int { return m.Size() } - func (m *MsgSetVirtualStakingMaxCap) XXX_DiscardUnknown() { xxx_messageInfo_MsgSetVirtualStakingMaxCap.DiscardUnknown(m) } @@ -86,7 +78,8 @@ func (m *MsgSetVirtualStakingMaxCap) XXX_DiscardUnknown() { var xxx_messageInfo_MsgSetVirtualStakingMaxCap proto.InternalMessageInfo // MsgSetVirtualStakingMaxCap returns result data. -type MsgSetVirtualStakingMaxCapResponse struct{} +type MsgSetVirtualStakingMaxCapResponse struct { +} func (m *MsgSetVirtualStakingMaxCapResponse) Reset() { *m = MsgSetVirtualStakingMaxCapResponse{} } func (m *MsgSetVirtualStakingMaxCapResponse) String() string { return proto.CompactTextString(m) } @@ -94,11 +87,9 @@ func (*MsgSetVirtualStakingMaxCapResponse) ProtoMessage() {} func (*MsgSetVirtualStakingMaxCapResponse) Descriptor() ([]byte, []int) { return fileDescriptor_ca993316ec9770c4, []int{1} } - func (m *MsgSetVirtualStakingMaxCapResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } - func (m *MsgSetVirtualStakingMaxCapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_MsgSetVirtualStakingMaxCapResponse.Marshal(b, m, deterministic) @@ -111,15 +102,12 @@ func (m *MsgSetVirtualStakingMaxCapResponse) XXX_Marshal(b []byte, deterministic return b[:n], nil } } - func (m *MsgSetVirtualStakingMaxCapResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_MsgSetVirtualStakingMaxCapResponse.Merge(m, src) } - func (m *MsgSetVirtualStakingMaxCapResponse) XXX_Size() int { return m.Size() } - func (m *MsgSetVirtualStakingMaxCapResponse) XXX_DiscardUnknown() { xxx_messageInfo_MsgSetVirtualStakingMaxCapResponse.DiscardUnknown(m) } @@ -164,10 +152,8 @@ var fileDescriptor_ca993316ec9770c4 = []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. @@ -207,7 +193,8 @@ type MsgServer interface { } // UnimplementedMsgServer can be embedded to have forward compatible implementations. -type UnimplementedMsgServer struct{} +type UnimplementedMsgServer struct { +} func (*UnimplementedMsgServer) SetVirtualStakingMaxCap(ctx context.Context, req *MsgSetVirtualStakingMaxCap) (*MsgSetVirtualStakingMaxCapResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetVirtualStakingMaxCap not implemented") @@ -329,7 +316,6 @@ func encodeVarintTx(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return base } - func (m *MsgSetVirtualStakingMaxCap) Size() (n int) { if m == nil { return 0 @@ -361,11 +347,9 @@ func (m *MsgSetVirtualStakingMaxCapResponse) 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 *MsgSetVirtualStakingMaxCap) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -513,7 +497,6 @@ func (m *MsgSetVirtualStakingMaxCap) Unmarshal(dAtA []byte) error { } return nil } - func (m *MsgSetVirtualStakingMaxCapResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -564,7 +547,6 @@ func (m *MsgSetVirtualStakingMaxCapResponse) Unmarshal(dAtA []byte) error { } return nil } - func skipTx(dAtA []byte) (n int, err error) { l := len(dAtA) iNdEx := 0 diff --git a/x/meshsecurityprovider/types/genesis.pb.go b/x/meshsecurityprovider/types/genesis.pb.go index 81c31f85..58b8c860 100644 --- a/x/meshsecurityprovider/types/genesis.pb.go +++ b/x/meshsecurityprovider/types/genesis.pb.go @@ -6,6 +6,7 @@ package types import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" + _ "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" @@ -25,12 +26,13 @@ var _ = math.Inf const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type Params struct { - VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"` - NativeStakingAddress string `protobuf:"bytes,2,opt,name=native_staking_address,json=nativeStakingAddress,proto3" json:"native_staking_address,omitempty"` + VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty" yaml:"vault_address"` + NativeStakingAddress string `protobuf:"bytes,2,opt,name=native_staking_address,json=nativeStakingAddress,proto3" json:"native_staking_address,omitempty" yaml:"native_staking_address"` } -func (m *Params) Reset() { *m = Params{} } -func (*Params) ProtoMessage() {} +func (m *Params) Reset() { *m = Params{} } +func (m *Params) String() string { return proto.CompactTextString(m) } +func (*Params) ProtoMessage() {} func (*Params) Descriptor() ([]byte, []int) { return fileDescriptor_78f837a040f3d391, []int{0} } @@ -131,56 +133,30 @@ func init() { } var fileDescriptor_78f837a040f3d391 = []byte{ - // 311 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xca, 0x2f, 0xce, 0xcd, - 0x2f, 0xce, 0x2c, 0xd6, 0xcf, 0x4d, 0x2d, 0xce, 0x28, 0x4e, 0x4d, 0x2e, 0x2d, 0xca, 0x2c, 0xa9, - 0x2c, 0x28, 0xca, 0x2f, 0xcb, 0x4c, 0x49, 0x2d, 0xd2, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, - 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x81, 0xaa, 0xd5, 0xc3, 0xa6, 0x56, 0x4a, 0x24, - 0x3d, 0x3f, 0x3d, 0x1f, 0xac, 0x50, 0x1f, 0xc4, 0x82, 0xe8, 0x91, 0x92, 0x4c, 0x06, 0x6b, 0x8a, - 0x87, 0x48, 0x40, 0x38, 0x10, 0x29, 0xa5, 0x85, 0x8c, 0x5c, 0x6c, 0x01, 0x89, 0x45, 0x89, 0xb9, - 0xc5, 0x42, 0xb6, 0x5c, 0xbc, 0x65, 0x89, 0xa5, 0x39, 0x25, 0xf1, 0x89, 0x29, 0x29, 0x45, 0xa9, - 0xc5, 0xc5, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x4e, 0x12, 0x97, 0xb6, 0xe8, 0x8a, 0x40, 0xf5, - 0x38, 0x42, 0x64, 0x82, 0x4b, 0x8a, 0x32, 0xf3, 0xd2, 0x83, 0x78, 0xc0, 0xca, 0xa1, 0x62, 0x42, - 0x7e, 0x5c, 0x62, 0x79, 0x89, 0x25, 0x99, 0x65, 0xa9, 0xf1, 0xc5, 0x25, 0x89, 0xd9, 0x99, 0x79, - 0xe9, 0x70, 0x73, 0x98, 0x08, 0x98, 0x23, 0x02, 0xd1, 0x17, 0x0c, 0xd1, 0x06, 0x95, 0xb3, 0xe2, - 0x98, 0xb1, 0x40, 0x9e, 0xe1, 0xc5, 0x02, 0x79, 0x46, 0xa5, 0x20, 0x2e, 0x1e, 0x77, 0x48, 0x18, - 0x04, 0x97, 0x24, 0x96, 0xa4, 0x0a, 0x39, 0x71, 0xb1, 0x15, 0x80, 0x9d, 0x0c, 0x76, 0x21, 0xb7, - 0x91, 0x8a, 0x1e, 0xbe, 0x30, 0xd1, 0x83, 0x78, 0xcf, 0x89, 0xe5, 0xc4, 0x3d, 0x79, 0x86, 0x20, - 0xa8, 0x4e, 0xa7, 0x84, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, - 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x72, 0x4b, - 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0x9a, 0xab, 0x9b, 0x93, 0x98, - 0x04, 0x89, 0x1c, 0x5d, 0x98, 0xe9, 0xba, 0xc5, 0x29, 0xd9, 0xfa, 0x15, 0xd8, 0x23, 0xac, 0xa4, - 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0xc0, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3c, - 0x8e, 0x5b, 0xd8, 0xdd, 0x01, 0x00, 0x00, + // 326 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0xc1, 0x4a, 0x3b, 0x31, + 0x10, 0xc6, 0x37, 0x7f, 0xfe, 0x14, 0x8c, 0xf5, 0xb2, 0x14, 0xa9, 0x45, 0x53, 0x5d, 0x3c, 0x88, + 0xd0, 0x0d, 0xe8, 0x4d, 0xf0, 0xd0, 0x3d, 0xe8, 0x55, 0xda, 0x83, 0xe0, 0xa5, 0x66, 0xbb, 0x31, + 0x0d, 0xdd, 0xdd, 0x2c, 0x99, 0x6c, 0x71, 0xdf, 0xc2, 0x47, 0xf0, 0x71, 0x7a, 0xec, 0xd1, 0x53, + 0x91, 0xf6, 0x0d, 0xfa, 0x04, 0x62, 0xd2, 0x0a, 0xc2, 0xe2, 0x2d, 0xdf, 0x7c, 0xdf, 0xfc, 0x98, + 0xcc, 0xe0, 0x4b, 0x05, 0x99, 0x02, 0x09, 0x34, 0xe3, 0x30, 0x01, 0x3e, 0x2e, 0xb5, 0x34, 0x55, + 0xa1, 0xd5, 0x4c, 0x26, 0x5c, 0x53, 0xc1, 0x73, 0x0e, 0x12, 0xc2, 0x42, 0x2b, 0xa3, 0xfc, 0xe3, + 0x6d, 0x36, 0xac, 0xcb, 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, 0xc9, 0x94, 0xbe, 0xd6, 0x9f, + 0xd2, 0x54, 0x05, 0x87, 0xb8, 0x61, 0xf7, 0x7b, 0xfd, 0x15, 0x00, 0x00, 0xff, 0xff, 0x6f, 0x4e, + 0x1a, 0xb2, 0xf7, 0x01, 0x00, 0x00, } -func (this *Params) Equal(that interface{}) bool { - if that == nil { - return this == nil - } - - that1, ok := that.(*Params) - if !ok { - that2, ok := that.(Params) - if ok { - that1 = &that2 - } else { - return false - } - } - if that1 == nil { - return this == nil - } else if this == nil { - return false - } - if this.VaultAddress != that1.VaultAddress { - return false - } - if this.NativeStakingAddress != that1.NativeStakingAddress { - return false - } - return true -} func (m *Params) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) diff --git a/x/meshsecurityprovider/types/params.go b/x/meshsecurityprovider/types/params.go index 22ba03a6..b63b45c0 100644 --- a/x/meshsecurityprovider/types/params.go +++ b/x/meshsecurityprovider/types/params.go @@ -1,9 +1,5 @@ package types -import ( - "sigs.k8s.io/yaml" -) - // Parameter store keys. var ( KeyParamField = []byte("TODO: CHANGE ME") @@ -15,11 +11,6 @@ func NewParams(vaultAddress string) Params { } } -func (p Params) String() string { - out, _ := yaml.Marshal(p) - return string(out) -} - // DefaultParams are the default meshsecurityprovider module parameters. func DefaultParams() Params { return Params{} diff --git a/x/meshsecurityprovider/types/query.pb.go b/x/meshsecurityprovider/types/query.pb.go index 2131eb8a..df1012ef 100644 --- a/x/meshsecurityprovider/types/query.pb.go +++ b/x/meshsecurityprovider/types/query.pb.go @@ -120,26 +120,26 @@ func init() { } var fileDescriptor_a786d55f7d35ac36 = []byte{ - // 297 bytes of a gzipped FileDescriptorProto + // 303 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xc8, 0x2f, 0xce, 0xcd, 0x2f, 0xce, 0x2c, 0xd6, 0xcf, 0x4d, 0x2d, 0xce, 0x28,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x20, 0x4a, + 0x84, 0xb4, 0x89, 0x31, 0x08, 0xea, 0x2e, 0x29, 0x1d, 0xe2, 0x14, 0x43, 0xdc, 0xac, 0xa4, 0xd3, + 0x74, 0xf9, 0xc9, 0x64, 0x26, 0x35, 0x21, 0x15, 0x7d, 0xbc, 0xc1, 0x00, 0x75, 0x6b, 0xc2, 0x89, + 0x47, 0x72, 0x8c, 0x17, 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0xc3, + 0x85, 0xc7, 0x72, 0x0c, 0x37, 0x1e, 0xcb, 0x31, 0x44, 0xb9, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, + 0xe9, 0x25, 0xe7, 0xe7, 0xc2, 0x4c, 0xd2, 0xcd, 0x49, 0x4c, 0x82, 0x18, 0xa7, 0x0b, 0x33, 0x4f, + 0xb7, 0x38, 0x25, 0x5b, 0xbf, 0x02, 0x47, 0x48, 0x57, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0x43, + 0xdb, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0xff, 0xd4, 0x61, 0xf3, 0x3e, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/meshsecurityprovider/types/tx.pb.go b/x/meshsecurityprovider/types/tx.pb.go index 8f4d840d..d38afe76 100644 --- a/x/meshsecurityprovider/types/tx.pb.go +++ b/x/meshsecurityprovider/types/tx.pb.go @@ -6,7 +6,6 @@ package types import ( context "context" fmt "fmt" - _ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-sdk/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" _ "github.com/cosmos/cosmos-sdk/types/tx/amino" @@ -32,16 +31,12 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package -// MsgUpdateParams is the Msg/UpdateParams request type. -// -// Since: cosmos-sdk 0.47 +// MsgUpdateParams updates meshsecurityprovider module 's params type MsgUpdateParams struct { - // authority is the address that controls the module (defaults to x/gov unless + // Authority is the address that controls the module (defaults to x/gov unless // overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` - // params defines the x/staking parameters to update. - // - // NOTE: All parameters must be supplied. + // params defines the x/meshsecurityprovider parameters to update. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` } @@ -78,24 +73,6 @@ func (m *MsgUpdateParams) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateParams proto.InternalMessageInfo -func (m *MsgUpdateParams) GetAuthority() string { - if m != nil { - return m.Authority - } - return "" -} - -func (m *MsgUpdateParams) GetParams() Params { - if m != nil { - return m.Params - } - return Params{} -} - -// MsgUpdateParamsResponse defines the response structure for executing a -// MsgUpdateParams message. -// -// Since: cosmos-sdk 0.47 type MsgUpdateParamsResponse struct { } @@ -142,29 +119,29 @@ func init() { } var fileDescriptor_2777f63b77ca86c2 = []byte{ - // 350 bytes of a gzipped FileDescriptorProto + // 346 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0xcd, 0x2f, 0xce, 0xcd, 0x2f, 0xce, 0x2c, 0xd6, 0xcf, 0x4d, 0x2d, 0xce, 0x28, 0x4e, 0x4d, 0x2e, 0x2d, 0xca, 0x2c, 0xa9, 0x2c, 0x28, 0xca, 0x2f, 0xcb, 0x4c, 0x49, 0x2d, 0xd2, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, - 0xc9, 0x17, 0x92, 0x81, 0x2a, 0xd3, 0xc3, 0xa6, 0x4c, 0x4a, 0x24, 0x3d, 0x3f, 0x3d, 0x1f, 0xac, - 0x50, 0x1f, 0xc4, 0x82, 0xe8, 0x91, 0x12, 0x4f, 0x06, 0x6b, 0xd2, 0xcf, 0x2d, 0x4e, 0xd7, 0x2f, - 0x33, 0x04, 0x51, 0x50, 0x09, 0x39, 0xa8, 0x44, 0x52, 0x62, 0x71, 0xaa, 0x7e, 0x99, 0x61, 0x52, - 0x6a, 0x49, 0xa2, 0xa1, 0x7e, 0x72, 0x7e, 0x66, 0x1e, 0x54, 0x5e, 0x0b, 0xaf, 0x9b, 0xd2, 0x53, - 0xf3, 0x52, 0x41, 0x2e, 0x81, 0xa8, 0x95, 0x84, 0x98, 0x15, 0x0f, 0xb1, 0x1d, 0xc2, 0x81, 0x4a, - 0x09, 0x26, 0xe6, 0x66, 0xe6, 0xe5, 0xeb, 0x83, 0x49, 0x88, 0x90, 0x52, 0x33, 0x23, 0x17, 0xbf, - 0x6f, 0x71, 0x7a, 0x68, 0x41, 0x4a, 0x62, 0x49, 0x6a, 0x40, 0x62, 0x51, 0x62, 0x6e, 0xb1, 0x90, - 0x0c, 0x17, 0x67, 0x62, 0x69, 0x49, 0x46, 0x3e, 0xc8, 0x12, 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, - 0x20, 0x84, 0x80, 0x90, 0x13, 0x17, 0x5b, 0x01, 0x58, 0x9d, 0x04, 0x93, 0x02, 0xa3, 0x06, 0xb7, - 0x91, 0x8a, 0x1e, 0xbe, 0x90, 0xd0, 0x83, 0x98, 0xe9, 0xc4, 0x72, 0xe2, 0x9e, 0x3c, 0x43, 0x10, - 0x54, 0xa7, 0x15, 0x5f, 0xd3, 0xf3, 0x0d, 0x5a, 0x08, 0x33, 0x95, 0x24, 0xb9, 0xc4, 0xd1, 0x1c, - 0x11, 0x94, 0x5a, 0x5c, 0x90, 0x9f, 0x57, 0x9c, 0x6a, 0xd4, 0xc4, 0xc8, 0xc5, 0xec, 0x5b, 0x9c, - 0x2e, 0x54, 0xc2, 0xc5, 0x83, 0xe2, 0x48, 0x5d, 0xfc, 0xd6, 0xa2, 0x19, 0x27, 0x65, 0x4a, 0x92, - 0x72, 0x98, 0xed, 0x52, 0xac, 0x0d, 0xcf, 0x37, 0x68, 0x31, 0x3a, 0x25, 0x9c,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x21, 0x19, 0x2e, 0xce, 0xc4, 0xd2, 0x92, 0x8c, 0x7c, 0x90, 0x36, + 0x09, 0x46, 0x05, 0x46, 0x0d, 0xce, 0x20, 0x84, 0x80, 0x90, 0x13, 0x17, 0x5b, 0x01, 0x58, 0x9d, + 0x04, 0x93, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x8a, 0x1e, 0x3e, 0xef, 0xea, 0x41, 0xcc, 0x74, 0x62, + 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x08, 0xaa, 0xd3, 0xca, 0xbc, 0xe9, 0xf9, 0x06, 0x2d, 0x84, 0x99, + 0x5d, 0xcf, 0x37, 0x68, 0xa9, 0x60, 0x75, 0x2c, 0x9a, 0xd3, 0x94, 0x24, 0xb9, 0xc4, 0xd1, 0x84, + 0x82, 0x52, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x8d, 0xaa, 0xb9, 0x98, 0x7d, 0x8b, 0xd3, 0x85, + 0x4a, 0xb8, 0x78, 0x50, 0x3c, 0xa3, 0x8b, 0xdf, 0x79, 0x68, 0xa6, 0x49, 0x99, 0x92, 0xa4, 0x1c, + 0x66, 0xb9, 0x53, 0xca, 0x89, 0x87, 0x72, 0x0c, 0x27, 0x1e, 0xc9, 0x31, 0x5e, 0x78, 0x24, 0xc7, + 0xf8, 0xe0, 0x91, 0x1c, 0xe3, 0x84, 0xc7, 0x72, 0x0c, 0x17, 0x1e, 0xcb, 0x31, 0xdc, 0x78, 0x2c, + 0xc7, 0x10, 0xe5, 0x96, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x0f, 0x35, + 0x5e, 0x37, 0x27, 0x31, 0x09, 0x12, 0x41, 0xba, 0x30, 0x4b, 0x74, 0x8b, 0x53, 0xb2, 0xf5, 0x2b, + 0x70, 0xa4, 0xad, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0x70, 0x9c, 0x19, 0x03, 0x02, 0x00, 0x00, + 0xff, 0xff, 0x2d, 0xe8, 0x9b, 0x3b, 0x88, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -179,9 +156,6 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { - // UpdateParams defines an operation for updating the module's - // parameters. - // Since: cosmos-sdk 0.47 UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) } @@ -204,9 +178,6 @@ func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts // MsgServer is the server API for Msg service. type MsgServer interface { - // UpdateParams defines an operation for updating the module's - // parameters. - // Since: cosmos-sdk 0.47 UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) }