diff --git a/proto/osmosis/meshsecurity/v1beta1/scheduler.proto b/proto/osmosis/meshsecurity/v1beta1/scheduler.proto index 205148d2..a7334e88 100644 --- a/proto/osmosis/meshsecurity/v1beta1/scheduler.proto +++ b/proto/osmosis/meshsecurity/v1beta1/scheduler.proto @@ -1,9 +1,7 @@ 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"; 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/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, 0x76, 0x5a, 0x42, 0x09, 0x65, 0x83, 0xf4, 0xfb, 0xe5, 0x7a, 0x3a, 0x47, + 0x42, 0x29, 0x91, 0x72, 0x6a, 0x55, 0x5c, 0xbe, 0x50, 0x96, 0x57, 0x3b, 0x6b, 0x6c, 0x79, 0x23, + 0xd7, 0xe3, 0x84, 0xb3, 0x82, 0x77, 0x84, 0x1b, 0x0f, 0x4c, 0xb3, 0x0c, 0xfc, 0x5b, 0x7c, 0x30, + 0x63, 0x65, 0x6a, 0x46, 0x2c, 0x49, 0x34, 0x07, 0x68, 0xa3, 0x53, 0x74, 0xb1, 0x17, 0xb5, 0x37, + 0xcb, 0x6e, 0xab, 0x62, 0x59, 0x7a, 0x13, 0xfc, 0xb2, 0x83, 0x41, 0xd3, 0xea, 0xbe, 0x93, 0xfe, + 0x23, 0x3e, 0xcc, 0x99, 0x91, 0x33, 0x3e, 0x02, 0xc3, 0xa6, 0x32, 0x17, 0x3f, 0x9c, 0x7f, 0x96, + 0x73, 0xb6, 0x59, 0x76, 0x4f, 0x1c, 0xa7, 0x3e, 0x17, 0x0c, 0x5a, 0xce, 0x18, 0xba, 0x7a, 0x7f, + 0x57, 0xc6, 0xcd, 0x7b, 0xb7, 0x9d, 0xa1, 0x61, 0x86, 0xfb, 0x11, 0x6e, 0x14, 0x76, 0x62, 0x3b, + 0xe0, 0xfe, 0xd5, 0x79, 0xf8, 0xd7, 0xb6, 0x42, 0xf7, 0xbb, 0xe8, 0xff, 0x7c, 0xd9, 0xf5, 0x06, + 0xdb, 0xce, 0xe8, 0x79, 0xbe, 0x22, 0x68, 0xb1, 0x22, 0xe8, 0x73, 0x45, 0xd0, 0xdb, 0x9a, 0x78, + 0x8b, 0x35, 0xf1, 0x3e, 0xd6, 0xc4, 0x7b, 0xba, 0x13, 0xd2, 0x4c, 0xca, 0x38, 0x1c, 0xab, 0x8c, + 0x6e, 0xb9, 0xbd, 0x94, 0xc5, 0xee, 0x6c, 0xbd, 0x1d, 0xbd, 0x07, 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, 0x4e, 0x4d, 0x2e, 0x2d, 0xca, 0x2c, 0xa9, 0x2c, 0x28, 0xca, 0x2f, 0xcb, 0x4c, 0x49, 0x2d, 0xd2, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92,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, 0xc6, 0x63, 0x39, - 0x86, 0x28, 0xb7, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x98, 0x49, 0xba, - 0x39, 0x89, 0x49, 0x10, 0xe3, 0x74, 0x61, 0xe6, 0xe9, 0x16, 0xa7, 0x64, 0xeb, 0x57, 0x60, 0xb7, - 0xa2, 0xa4, 0xb2, 0x20, 0xb5, 0x38, 0x89, 0x0d, 0x1c, 0xda, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, - 0xff, 0xe6, 0x2d, 0xbd, 0xe8, 0x17, 0x02, 0x00, 0x00, + 0x86, 0xca, 0x6a, 0xe1, 0xb5, 0x3b, 0x3d, 0x35, 0x2f, 0x15, 0x64, 0x1d, 0x44, 0xad, 0x2a, 0x5e, + 0xb5, 0x25, 0x15, 0x10, 0x65, 0x4a, 0xfc, 0x5c, 0xbc, 0x01, 0x89, 0x45, 0x89, 0xb9, 0xc5, 0x41, + 0xa9, 0x85, 0xa5, 0xa9, 0xc5, 0x25, 0x4a, 0x21, 0x5c, 0x7c, 0x30, 0x81, 0xe2, 0x82, 0xfc, 0xbc, + 0xe2, 0x54, 0x21, 0x27, 0x2e, 0xb6, 0x02, 0xb0, 0x88, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0xb7, 0x91, + 0x8a, 0x1e, 0x3e, 0x8f, 0xe9, 0x41, 0x74, 0x3b, 0xb1, 0x9c, 0xb8, 0x27, 0xcf, 0x10, 0x04, 0xd5, + 0x69, 0x34, 0x9b, 0x91, 0x8b, 0x35, 0x10, 0x14, 0x36, 0x42, 0x13, 0x19, 0xb9, 0xd8, 0x20, 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, 0x78, 0x24, 0xc7, - 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31, 0x5c, 0x78, 0x2c, - 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x94, 0x5b, 0x7a, 0x66, 0x49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x06, 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) }