chore: Bump gov and group to v1 (#11334)

## Description

Closes: #11331



---

### Author Checklist

*All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.*

I have...

- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] added `!` to the type prefix if API or client breaking change
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules)
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
- [ ] added a changelog entry to `CHANGELOG.md`
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
- [ ] updated the relevant documentation or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed

### Reviewers Checklist

*All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.*

I have...

- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] confirmed `!` in the type prefix if API or client breaking change
- [ ] confirmed all author checklist items have been addressed 
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
- [ ] manually tested (if applicable)
This commit is contained in:
Amaury
2022-03-11 15:58:01 +00:00
committed by GitHub
parent 142cf67978
commit 1715693ca2
99 changed files with 7774 additions and 7853 deletions
@@ -1,5 +1,5 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package govv1beta2
package govv1
import (
fmt "fmt"
@@ -177,8 +177,8 @@ var (
)
func init() {
file_cosmos_gov_v1beta2_genesis_proto_init()
md_GenesisState = File_cosmos_gov_v1beta2_genesis_proto.Messages().ByName("GenesisState")
file_cosmos_gov_v1_genesis_proto_init()
md_GenesisState = File_cosmos_gov_v1_genesis_proto.Messages().ByName("GenesisState")
fd_GenesisState_starting_proposal_id = md_GenesisState.Fields().ByName("starting_proposal_id")
fd_GenesisState_deposits = md_GenesisState.Fields().ByName("deposits")
fd_GenesisState_votes = md_GenesisState.Fields().ByName("votes")
@@ -197,7 +197,7 @@ func (x *GenesisState) ProtoReflect() protoreflect.Message {
}
func (x *GenesisState) slowProtoReflect() protoreflect.Message {
mi := &file_cosmos_gov_v1beta2_genesis_proto_msgTypes[0]
mi := &file_cosmos_gov_v1_genesis_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -310,25 +310,25 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor,
// a repeated field is populated if it is non-empty.
func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "cosmos.gov.v1beta2.GenesisState.starting_proposal_id":
case "cosmos.gov.v1.GenesisState.starting_proposal_id":
return x.StartingProposalId != uint64(0)
case "cosmos.gov.v1beta2.GenesisState.deposits":
case "cosmos.gov.v1.GenesisState.deposits":
return len(x.Deposits) != 0
case "cosmos.gov.v1beta2.GenesisState.votes":
case "cosmos.gov.v1.GenesisState.votes":
return len(x.Votes) != 0
case "cosmos.gov.v1beta2.GenesisState.proposals":
case "cosmos.gov.v1.GenesisState.proposals":
return len(x.Proposals) != 0
case "cosmos.gov.v1beta2.GenesisState.deposit_params":
case "cosmos.gov.v1.GenesisState.deposit_params":
return x.DepositParams != nil
case "cosmos.gov.v1beta2.GenesisState.voting_params":
case "cosmos.gov.v1.GenesisState.voting_params":
return x.VotingParams != nil
case "cosmos.gov.v1beta2.GenesisState.tally_params":
case "cosmos.gov.v1.GenesisState.tally_params":
return x.TallyParams != nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.gov.v1beta2.GenesisState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.gov.v1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.gov.v1beta2.GenesisState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cosmos.gov.v1.GenesisState does not contain field %s", fd.FullName()))
}
}
@@ -340,25 +340,25 @@ func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "cosmos.gov.v1beta2.GenesisState.starting_proposal_id":
case "cosmos.gov.v1.GenesisState.starting_proposal_id":
x.StartingProposalId = uint64(0)
case "cosmos.gov.v1beta2.GenesisState.deposits":
case "cosmos.gov.v1.GenesisState.deposits":
x.Deposits = nil
case "cosmos.gov.v1beta2.GenesisState.votes":
case "cosmos.gov.v1.GenesisState.votes":
x.Votes = nil
case "cosmos.gov.v1beta2.GenesisState.proposals":
case "cosmos.gov.v1.GenesisState.proposals":
x.Proposals = nil
case "cosmos.gov.v1beta2.GenesisState.deposit_params":
case "cosmos.gov.v1.GenesisState.deposit_params":
x.DepositParams = nil
case "cosmos.gov.v1beta2.GenesisState.voting_params":
case "cosmos.gov.v1.GenesisState.voting_params":
x.VotingParams = nil
case "cosmos.gov.v1beta2.GenesisState.tally_params":
case "cosmos.gov.v1.GenesisState.tally_params":
x.TallyParams = nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.gov.v1beta2.GenesisState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.gov.v1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.gov.v1beta2.GenesisState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cosmos.gov.v1.GenesisState does not contain field %s", fd.FullName()))
}
}
@@ -370,41 +370,41 @@ func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) {
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "cosmos.gov.v1beta2.GenesisState.starting_proposal_id":
case "cosmos.gov.v1.GenesisState.starting_proposal_id":
value := x.StartingProposalId
return protoreflect.ValueOfUint64(value)
case "cosmos.gov.v1beta2.GenesisState.deposits":
case "cosmos.gov.v1.GenesisState.deposits":
if len(x.Deposits) == 0 {
return protoreflect.ValueOfList(&_GenesisState_2_list{})
}
listValue := &_GenesisState_2_list{list: &x.Deposits}
return protoreflect.ValueOfList(listValue)
case "cosmos.gov.v1beta2.GenesisState.votes":
case "cosmos.gov.v1.GenesisState.votes":
if len(x.Votes) == 0 {
return protoreflect.ValueOfList(&_GenesisState_3_list{})
}
listValue := &_GenesisState_3_list{list: &x.Votes}
return protoreflect.ValueOfList(listValue)
case "cosmos.gov.v1beta2.GenesisState.proposals":
case "cosmos.gov.v1.GenesisState.proposals":
if len(x.Proposals) == 0 {
return protoreflect.ValueOfList(&_GenesisState_4_list{})
}
listValue := &_GenesisState_4_list{list: &x.Proposals}
return protoreflect.ValueOfList(listValue)
case "cosmos.gov.v1beta2.GenesisState.deposit_params":
case "cosmos.gov.v1.GenesisState.deposit_params":
value := x.DepositParams
return protoreflect.ValueOfMessage(value.ProtoReflect())
case "cosmos.gov.v1beta2.GenesisState.voting_params":
case "cosmos.gov.v1.GenesisState.voting_params":
value := x.VotingParams
return protoreflect.ValueOfMessage(value.ProtoReflect())
case "cosmos.gov.v1beta2.GenesisState.tally_params":
case "cosmos.gov.v1.GenesisState.tally_params":
value := x.TallyParams
return protoreflect.ValueOfMessage(value.ProtoReflect())
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.gov.v1beta2.GenesisState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.gov.v1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.gov.v1beta2.GenesisState does not contain field %s", descriptor.FullName()))
panic(fmt.Errorf("message cosmos.gov.v1.GenesisState does not contain field %s", descriptor.FullName()))
}
}
@@ -420,31 +420,31 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.gov.v1beta2.GenesisState.starting_proposal_id":
case "cosmos.gov.v1.GenesisState.starting_proposal_id":
x.StartingProposalId = value.Uint()
case "cosmos.gov.v1beta2.GenesisState.deposits":
case "cosmos.gov.v1.GenesisState.deposits":
lv := value.List()
clv := lv.(*_GenesisState_2_list)
x.Deposits = *clv.list
case "cosmos.gov.v1beta2.GenesisState.votes":
case "cosmos.gov.v1.GenesisState.votes":
lv := value.List()
clv := lv.(*_GenesisState_3_list)
x.Votes = *clv.list
case "cosmos.gov.v1beta2.GenesisState.proposals":
case "cosmos.gov.v1.GenesisState.proposals":
lv := value.List()
clv := lv.(*_GenesisState_4_list)
x.Proposals = *clv.list
case "cosmos.gov.v1beta2.GenesisState.deposit_params":
case "cosmos.gov.v1.GenesisState.deposit_params":
x.DepositParams = value.Message().Interface().(*DepositParams)
case "cosmos.gov.v1beta2.GenesisState.voting_params":
case "cosmos.gov.v1.GenesisState.voting_params":
x.VotingParams = value.Message().Interface().(*VotingParams)
case "cosmos.gov.v1beta2.GenesisState.tally_params":
case "cosmos.gov.v1.GenesisState.tally_params":
x.TallyParams = value.Message().Interface().(*TallyParams)
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.gov.v1beta2.GenesisState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.gov.v1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.gov.v1beta2.GenesisState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cosmos.gov.v1.GenesisState does not contain field %s", fd.FullName()))
}
}
@@ -460,46 +460,46 @@ func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.gov.v1beta2.GenesisState.deposits":
case "cosmos.gov.v1.GenesisState.deposits":
if x.Deposits == nil {
x.Deposits = []*Deposit{}
}
value := &_GenesisState_2_list{list: &x.Deposits}
return protoreflect.ValueOfList(value)
case "cosmos.gov.v1beta2.GenesisState.votes":
case "cosmos.gov.v1.GenesisState.votes":
if x.Votes == nil {
x.Votes = []*Vote{}
}
value := &_GenesisState_3_list{list: &x.Votes}
return protoreflect.ValueOfList(value)
case "cosmos.gov.v1beta2.GenesisState.proposals":
case "cosmos.gov.v1.GenesisState.proposals":
if x.Proposals == nil {
x.Proposals = []*Proposal{}
}
value := &_GenesisState_4_list{list: &x.Proposals}
return protoreflect.ValueOfList(value)
case "cosmos.gov.v1beta2.GenesisState.deposit_params":
case "cosmos.gov.v1.GenesisState.deposit_params":
if x.DepositParams == nil {
x.DepositParams = new(DepositParams)
}
return protoreflect.ValueOfMessage(x.DepositParams.ProtoReflect())
case "cosmos.gov.v1beta2.GenesisState.voting_params":
case "cosmos.gov.v1.GenesisState.voting_params":
if x.VotingParams == nil {
x.VotingParams = new(VotingParams)
}
return protoreflect.ValueOfMessage(x.VotingParams.ProtoReflect())
case "cosmos.gov.v1beta2.GenesisState.tally_params":
case "cosmos.gov.v1.GenesisState.tally_params":
if x.TallyParams == nil {
x.TallyParams = new(TallyParams)
}
return protoreflect.ValueOfMessage(x.TallyParams.ProtoReflect())
case "cosmos.gov.v1beta2.GenesisState.starting_proposal_id":
panic(fmt.Errorf("field starting_proposal_id of message cosmos.gov.v1beta2.GenesisState is not mutable"))
case "cosmos.gov.v1.GenesisState.starting_proposal_id":
panic(fmt.Errorf("field starting_proposal_id of message cosmos.gov.v1.GenesisState is not mutable"))
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.gov.v1beta2.GenesisState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.gov.v1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.gov.v1beta2.GenesisState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cosmos.gov.v1.GenesisState does not contain field %s", fd.FullName()))
}
}
@@ -508,31 +508,31 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.gov.v1beta2.GenesisState.starting_proposal_id":
case "cosmos.gov.v1.GenesisState.starting_proposal_id":
return protoreflect.ValueOfUint64(uint64(0))
case "cosmos.gov.v1beta2.GenesisState.deposits":
case "cosmos.gov.v1.GenesisState.deposits":
list := []*Deposit{}
return protoreflect.ValueOfList(&_GenesisState_2_list{list: &list})
case "cosmos.gov.v1beta2.GenesisState.votes":
case "cosmos.gov.v1.GenesisState.votes":
list := []*Vote{}
return protoreflect.ValueOfList(&_GenesisState_3_list{list: &list})
case "cosmos.gov.v1beta2.GenesisState.proposals":
case "cosmos.gov.v1.GenesisState.proposals":
list := []*Proposal{}
return protoreflect.ValueOfList(&_GenesisState_4_list{list: &list})
case "cosmos.gov.v1beta2.GenesisState.deposit_params":
case "cosmos.gov.v1.GenesisState.deposit_params":
m := new(DepositParams)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.gov.v1beta2.GenesisState.voting_params":
case "cosmos.gov.v1.GenesisState.voting_params":
m := new(VotingParams)
return protoreflect.ValueOfMessage(m.ProtoReflect())
case "cosmos.gov.v1beta2.GenesisState.tally_params":
case "cosmos.gov.v1.GenesisState.tally_params":
m := new(TallyParams)
return protoreflect.ValueOfMessage(m.ProtoReflect())
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.gov.v1beta2.GenesisState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.gov.v1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.gov.v1beta2.GenesisState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cosmos.gov.v1.GenesisState does not contain field %s", fd.FullName()))
}
}
@@ -542,7 +542,7 @@ func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor)
func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cosmos.gov.v1beta2.GenesisState", d.FullName()))
panic(fmt.Errorf("%s is not a oneof field in cosmos.gov.v1.GenesisState", d.FullName()))
}
panic("unreachable")
}
@@ -1073,7 +1073,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods {
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cosmos/gov/v1beta2/genesis.proto
// source: cosmos/gov/v1/genesis.proto
const (
// Verify that this generated code is sufficiently up-to-date.
@@ -1107,7 +1107,7 @@ type GenesisState struct {
func (x *GenesisState) Reset() {
*x = GenesisState{}
if protoimpl.UnsafeEnabled {
mi := &file_cosmos_gov_v1beta2_genesis_proto_msgTypes[0]
mi := &file_cosmos_gov_v1_genesis_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1121,7 +1121,7 @@ func (*GenesisState) ProtoMessage() {}
// Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) Descriptor() ([]byte, []int) {
return file_cosmos_gov_v1beta2_genesis_proto_rawDescGZIP(), []int{0}
return file_cosmos_gov_v1_genesis_proto_rawDescGZIP(), []int{0}
}
func (x *GenesisState) GetStartingProposalId() uint64 {
@@ -1173,87 +1173,82 @@ func (x *GenesisState) GetTallyParams() *TallyParams {
return nil
}
var File_cosmos_gov_v1beta2_genesis_proto protoreflect.FileDescriptor
var File_cosmos_gov_v1_genesis_proto protoreflect.FileDescriptor
var file_cosmos_gov_v1beta2_genesis_proto_rawDesc = []byte{
0x0a, 0x20, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x76, 0x2f, 0x76, 0x31, 0x62,
0x65, 0x74, 0x61, 0x32, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x12, 0x12, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76, 0x2e, 0x76,
0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 0x1c, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x67,
0x6f, 0x76, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x67, 0x6f, 0x76, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xba, 0x03, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73,
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e,
0x67, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x04, 0x52, 0x12, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f,
0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73,
0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x6f, 0x73, 0x6d,
0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44,
0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73,
0x12, 0x2e, 0x0a, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x18, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76, 0x2e, 0x76, 0x31, 0x62,
0x65, 0x74, 0x61, 0x32, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73,
0x12, 0x3a, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x04, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76,
0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x48, 0x0a, 0x0e,
0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x05,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f,
0x76, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69,
0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0d, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x45, 0x0a, 0x0d, 0x76, 0x6f, 0x74, 0x69, 0x6e, 0x67,
0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e,
0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
0x61, 0x32, 0x2e, 0x56, 0x6f, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52,
0x0c, 0x76, 0x6f, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x42, 0x0a,
0x0c, 0x74, 0x61, 0x6c, 0x6c, 0x79, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x07, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76,
0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x61,
0x72, 0x61, 0x6d, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x73, 0x42, 0xd0, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73,
0x2e, 0x67, 0x6f, 0x76, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x42, 0x0c, 0x47, 0x65,
0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x67, 0x69,
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f,
0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63,
0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x76, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
0x32, 0x3b, 0x67, 0x6f, 0x76, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0xa2, 0x02, 0x03, 0x43,
0x47, 0x58, 0xaa, 0x02, 0x12, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x47, 0x6f, 0x76, 0x2e,
0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0xca, 0x02, 0x12, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73,
0x5c, 0x47, 0x6f, 0x76, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0xe2, 0x02, 0x1e, 0x43,
0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x47, 0x6f, 0x76, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61,
0x32, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x14,
0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x76, 0x3a, 0x3a, 0x56, 0x31, 0x62,
0x65, 0x74, 0x61, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
var file_cosmos_gov_v1_genesis_proto_rawDesc = []byte{
0x0a, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x76, 0x2f, 0x76, 0x31, 0x2f,
0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x63,
0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76, 0x2e, 0x76, 0x31, 0x1a, 0x17, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x76, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x6f, 0x76, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x03, 0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69,
0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69,
0x6e, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72,
0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x08, 0x64, 0x65, 0x70, 0x6f,
0x73, 0x69, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73,
0x69, 0x74, 0x52, 0x08, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x73, 0x12, 0x29, 0x0a, 0x05,
0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x74, 0x65,
0x52, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x73, 0x12, 0x43,
0x0a, 0x0e, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73,
0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e,
0x67, 0x6f, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x50, 0x61,
0x72, 0x61, 0x6d, 0x73, 0x52, 0x0d, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x50, 0x61, 0x72,
0x61, 0x6d, 0x73, 0x12, 0x40, 0x0a, 0x0d, 0x76, 0x6f, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61,
0x72, 0x61, 0x6d, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x6f, 0x74, 0x69, 0x6e,
0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0c, 0x76, 0x6f, 0x74, 0x69, 0x6e, 0x67, 0x50,
0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x3d, 0x0a, 0x0c, 0x74, 0x61, 0x6c, 0x6c, 0x79, 0x5f, 0x70,
0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x6c, 0x6c,
0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x0b, 0x74, 0x61, 0x6c, 0x6c, 0x79, 0x50, 0x61,
0x72, 0x61, 0x6d, 0x73, 0x42, 0xad, 0x01, 0x0a, 0x11, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x6f, 0x76, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65,
0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68,
0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x2f, 0x67, 0x6f, 0x76, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x6f, 0x76, 0x76, 0x31,
0xa2, 0x02, 0x03, 0x43, 0x47, 0x58, 0xaa, 0x02, 0x0d, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e,
0x47, 0x6f, 0x76, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0d, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c,
0x47, 0x6f, 0x76, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x19, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c,
0x47, 0x6f, 0x76, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
0x74, 0x61, 0xea, 0x02, 0x0f, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x47, 0x6f, 0x76,
0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_cosmos_gov_v1beta2_genesis_proto_rawDescOnce sync.Once
file_cosmos_gov_v1beta2_genesis_proto_rawDescData = file_cosmos_gov_v1beta2_genesis_proto_rawDesc
file_cosmos_gov_v1_genesis_proto_rawDescOnce sync.Once
file_cosmos_gov_v1_genesis_proto_rawDescData = file_cosmos_gov_v1_genesis_proto_rawDesc
)
func file_cosmos_gov_v1beta2_genesis_proto_rawDescGZIP() []byte {
file_cosmos_gov_v1beta2_genesis_proto_rawDescOnce.Do(func() {
file_cosmos_gov_v1beta2_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_gov_v1beta2_genesis_proto_rawDescData)
func file_cosmos_gov_v1_genesis_proto_rawDescGZIP() []byte {
file_cosmos_gov_v1_genesis_proto_rawDescOnce.Do(func() {
file_cosmos_gov_v1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_gov_v1_genesis_proto_rawDescData)
})
return file_cosmos_gov_v1beta2_genesis_proto_rawDescData
return file_cosmos_gov_v1_genesis_proto_rawDescData
}
var file_cosmos_gov_v1beta2_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cosmos_gov_v1beta2_genesis_proto_goTypes = []interface{}{
(*GenesisState)(nil), // 0: cosmos.gov.v1beta2.GenesisState
(*Deposit)(nil), // 1: cosmos.gov.v1beta2.Deposit
(*Vote)(nil), // 2: cosmos.gov.v1beta2.Vote
(*Proposal)(nil), // 3: cosmos.gov.v1beta2.Proposal
(*DepositParams)(nil), // 4: cosmos.gov.v1beta2.DepositParams
(*VotingParams)(nil), // 5: cosmos.gov.v1beta2.VotingParams
(*TallyParams)(nil), // 6: cosmos.gov.v1beta2.TallyParams
var file_cosmos_gov_v1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cosmos_gov_v1_genesis_proto_goTypes = []interface{}{
(*GenesisState)(nil), // 0: cosmos.gov.v1.GenesisState
(*Deposit)(nil), // 1: cosmos.gov.v1.Deposit
(*Vote)(nil), // 2: cosmos.gov.v1.Vote
(*Proposal)(nil), // 3: cosmos.gov.v1.Proposal
(*DepositParams)(nil), // 4: cosmos.gov.v1.DepositParams
(*VotingParams)(nil), // 5: cosmos.gov.v1.VotingParams
(*TallyParams)(nil), // 6: cosmos.gov.v1.TallyParams
}
var file_cosmos_gov_v1beta2_genesis_proto_depIdxs = []int32{
1, // 0: cosmos.gov.v1beta2.GenesisState.deposits:type_name -> cosmos.gov.v1beta2.Deposit
2, // 1: cosmos.gov.v1beta2.GenesisState.votes:type_name -> cosmos.gov.v1beta2.Vote
3, // 2: cosmos.gov.v1beta2.GenesisState.proposals:type_name -> cosmos.gov.v1beta2.Proposal
4, // 3: cosmos.gov.v1beta2.GenesisState.deposit_params:type_name -> cosmos.gov.v1beta2.DepositParams
5, // 4: cosmos.gov.v1beta2.GenesisState.voting_params:type_name -> cosmos.gov.v1beta2.VotingParams
6, // 5: cosmos.gov.v1beta2.GenesisState.tally_params:type_name -> cosmos.gov.v1beta2.TallyParams
var file_cosmos_gov_v1_genesis_proto_depIdxs = []int32{
1, // 0: cosmos.gov.v1.GenesisState.deposits:type_name -> cosmos.gov.v1.Deposit
2, // 1: cosmos.gov.v1.GenesisState.votes:type_name -> cosmos.gov.v1.Vote
3, // 2: cosmos.gov.v1.GenesisState.proposals:type_name -> cosmos.gov.v1.Proposal
4, // 3: cosmos.gov.v1.GenesisState.deposit_params:type_name -> cosmos.gov.v1.DepositParams
5, // 4: cosmos.gov.v1.GenesisState.voting_params:type_name -> cosmos.gov.v1.VotingParams
6, // 5: cosmos.gov.v1.GenesisState.tally_params:type_name -> cosmos.gov.v1.TallyParams
6, // [6:6] is the sub-list for method output_type
6, // [6:6] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
@@ -1261,14 +1256,14 @@ var file_cosmos_gov_v1beta2_genesis_proto_depIdxs = []int32{
0, // [0:6] is the sub-list for field type_name
}
func init() { file_cosmos_gov_v1beta2_genesis_proto_init() }
func file_cosmos_gov_v1beta2_genesis_proto_init() {
if File_cosmos_gov_v1beta2_genesis_proto != nil {
func init() { file_cosmos_gov_v1_genesis_proto_init() }
func file_cosmos_gov_v1_genesis_proto_init() {
if File_cosmos_gov_v1_genesis_proto != nil {
return
}
file_cosmos_gov_v1beta2_gov_proto_init()
file_cosmos_gov_v1_gov_proto_init()
if !protoimpl.UnsafeEnabled {
file_cosmos_gov_v1beta2_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_cosmos_gov_v1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenesisState); i {
case 0:
return &v.state
@@ -1285,18 +1280,18 @@ func file_cosmos_gov_v1beta2_genesis_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cosmos_gov_v1beta2_genesis_proto_rawDesc,
RawDescriptor: file_cosmos_gov_v1_genesis_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_cosmos_gov_v1beta2_genesis_proto_goTypes,
DependencyIndexes: file_cosmos_gov_v1beta2_genesis_proto_depIdxs,
MessageInfos: file_cosmos_gov_v1beta2_genesis_proto_msgTypes,
GoTypes: file_cosmos_gov_v1_genesis_proto_goTypes,
DependencyIndexes: file_cosmos_gov_v1_genesis_proto_depIdxs,
MessageInfos: file_cosmos_gov_v1_genesis_proto_msgTypes,
}.Build()
File_cosmos_gov_v1beta2_genesis_proto = out.File
file_cosmos_gov_v1beta2_genesis_proto_rawDesc = nil
file_cosmos_gov_v1beta2_genesis_proto_goTypes = nil
file_cosmos_gov_v1beta2_genesis_proto_depIdxs = nil
File_cosmos_gov_v1_genesis_proto = out.File
file_cosmos_gov_v1_genesis_proto_rawDesc = nil
file_cosmos_gov_v1_genesis_proto_goTypes = nil
file_cosmos_gov_v1_genesis_proto_depIdxs = nil
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -2,9 +2,9 @@
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: cosmos/gov/v1beta2/query.proto
// source: cosmos/gov/v1/query.proto
package govv1beta2
package govv1
import (
context "context"
@@ -50,7 +50,7 @@ func NewQueryClient(cc grpc.ClientConnInterface) QueryClient {
func (c *queryClient) Proposal(ctx context.Context, in *QueryProposalRequest, opts ...grpc.CallOption) (*QueryProposalResponse, error) {
out := new(QueryProposalResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Query/Proposal", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Query/Proposal", in, out, opts...)
if err != nil {
return nil, err
}
@@ -59,7 +59,7 @@ func (c *queryClient) Proposal(ctx context.Context, in *QueryProposalRequest, op
func (c *queryClient) Proposals(ctx context.Context, in *QueryProposalsRequest, opts ...grpc.CallOption) (*QueryProposalsResponse, error) {
out := new(QueryProposalsResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Query/Proposals", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Query/Proposals", in, out, opts...)
if err != nil {
return nil, err
}
@@ -68,7 +68,7 @@ func (c *queryClient) Proposals(ctx context.Context, in *QueryProposalsRequest,
func (c *queryClient) Vote(ctx context.Context, in *QueryVoteRequest, opts ...grpc.CallOption) (*QueryVoteResponse, error) {
out := new(QueryVoteResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Query/Vote", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Query/Vote", in, out, opts...)
if err != nil {
return nil, err
}
@@ -77,7 +77,7 @@ func (c *queryClient) Vote(ctx context.Context, in *QueryVoteRequest, opts ...gr
func (c *queryClient) Votes(ctx context.Context, in *QueryVotesRequest, opts ...grpc.CallOption) (*QueryVotesResponse, error) {
out := new(QueryVotesResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Query/Votes", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Query/Votes", in, out, opts...)
if err != nil {
return nil, err
}
@@ -86,7 +86,7 @@ func (c *queryClient) Votes(ctx context.Context, in *QueryVotesRequest, opts ...
func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) {
out := new(QueryParamsResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Query/Params", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Query/Params", in, out, opts...)
if err != nil {
return nil, err
}
@@ -95,7 +95,7 @@ func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts .
func (c *queryClient) Deposit(ctx context.Context, in *QueryDepositRequest, opts ...grpc.CallOption) (*QueryDepositResponse, error) {
out := new(QueryDepositResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Query/Deposit", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Query/Deposit", in, out, opts...)
if err != nil {
return nil, err
}
@@ -104,7 +104,7 @@ func (c *queryClient) Deposit(ctx context.Context, in *QueryDepositRequest, opts
func (c *queryClient) Deposits(ctx context.Context, in *QueryDepositsRequest, opts ...grpc.CallOption) (*QueryDepositsResponse, error) {
out := new(QueryDepositsResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Query/Deposits", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Query/Deposits", in, out, opts...)
if err != nil {
return nil, err
}
@@ -113,7 +113,7 @@ func (c *queryClient) Deposits(ctx context.Context, in *QueryDepositsRequest, op
func (c *queryClient) TallyResult(ctx context.Context, in *QueryTallyResultRequest, opts ...grpc.CallOption) (*QueryTallyResultResponse, error) {
out := new(QueryTallyResultResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Query/TallyResult", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Query/TallyResult", in, out, opts...)
if err != nil {
return nil, err
}
@@ -194,7 +194,7 @@ func _Query_Proposal_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Query/Proposal",
FullMethod: "/cosmos.gov.v1.Query/Proposal",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Proposal(ctx, req.(*QueryProposalRequest))
@@ -212,7 +212,7 @@ func _Query_Proposals_Handler(srv interface{}, ctx context.Context, dec func(int
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Query/Proposals",
FullMethod: "/cosmos.gov.v1.Query/Proposals",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Proposals(ctx, req.(*QueryProposalsRequest))
@@ -230,7 +230,7 @@ func _Query_Vote_Handler(srv interface{}, ctx context.Context, dec func(interfac
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Query/Vote",
FullMethod: "/cosmos.gov.v1.Query/Vote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Vote(ctx, req.(*QueryVoteRequest))
@@ -248,7 +248,7 @@ func _Query_Votes_Handler(srv interface{}, ctx context.Context, dec func(interfa
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Query/Votes",
FullMethod: "/cosmos.gov.v1.Query/Votes",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Votes(ctx, req.(*QueryVotesRequest))
@@ -266,7 +266,7 @@ func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interf
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Query/Params",
FullMethod: "/cosmos.gov.v1.Query/Params",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest))
@@ -284,7 +284,7 @@ func _Query_Deposit_Handler(srv interface{}, ctx context.Context, dec func(inter
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Query/Deposit",
FullMethod: "/cosmos.gov.v1.Query/Deposit",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Deposit(ctx, req.(*QueryDepositRequest))
@@ -302,7 +302,7 @@ func _Query_Deposits_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Query/Deposits",
FullMethod: "/cosmos.gov.v1.Query/Deposits",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Deposits(ctx, req.(*QueryDepositsRequest))
@@ -320,7 +320,7 @@ func _Query_TallyResult_Handler(srv interface{}, ctx context.Context, dec func(i
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Query/TallyResult",
FullMethod: "/cosmos.gov.v1.Query/TallyResult",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TallyResult(ctx, req.(*QueryTallyResultRequest))
@@ -332,7 +332,7 @@ func _Query_TallyResult_Handler(srv interface{}, ctx context.Context, dec func(i
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.gov.v1beta2.Query",
ServiceName: "cosmos.gov.v1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
@@ -369,5 +369,5 @@ var Query_ServiceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/gov/v1beta2/query.proto",
Metadata: "cosmos/gov/v1/query.proto",
}
File diff suppressed because it is too large Load Diff
@@ -2,9 +2,9 @@
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: cosmos/gov/v1beta2/tx.proto
// source: cosmos/gov/v1/tx.proto
package govv1beta2
package govv1
import (
context "context"
@@ -45,7 +45,7 @@ func NewMsgClient(cc grpc.ClientConnInterface) MsgClient {
func (c *msgClient) SubmitProposal(ctx context.Context, in *MsgSubmitProposal, opts ...grpc.CallOption) (*MsgSubmitProposalResponse, error) {
out := new(MsgSubmitProposalResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Msg/SubmitProposal", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Msg/SubmitProposal", in, out, opts...)
if err != nil {
return nil, err
}
@@ -54,7 +54,7 @@ func (c *msgClient) SubmitProposal(ctx context.Context, in *MsgSubmitProposal, o
func (c *msgClient) ExecLegacyContent(ctx context.Context, in *MsgExecLegacyContent, opts ...grpc.CallOption) (*MsgExecLegacyContentResponse, error) {
out := new(MsgExecLegacyContentResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Msg/ExecLegacyContent", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Msg/ExecLegacyContent", in, out, opts...)
if err != nil {
return nil, err
}
@@ -63,7 +63,7 @@ func (c *msgClient) ExecLegacyContent(ctx context.Context, in *MsgExecLegacyCont
func (c *msgClient) Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) {
out := new(MsgVoteResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Msg/Vote", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Msg/Vote", in, out, opts...)
if err != nil {
return nil, err
}
@@ -72,7 +72,7 @@ func (c *msgClient) Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOpti
func (c *msgClient) VoteWeighted(ctx context.Context, in *MsgVoteWeighted, opts ...grpc.CallOption) (*MsgVoteWeightedResponse, error) {
out := new(MsgVoteWeightedResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Msg/VoteWeighted", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Msg/VoteWeighted", in, out, opts...)
if err != nil {
return nil, err
}
@@ -81,7 +81,7 @@ func (c *msgClient) VoteWeighted(ctx context.Context, in *MsgVoteWeighted, opts
func (c *msgClient) Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) {
out := new(MsgDepositResponse)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1beta2.Msg/Deposit", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.gov.v1.Msg/Deposit", in, out, opts...)
if err != nil {
return nil, err
}
@@ -148,7 +148,7 @@ func _Msg_SubmitProposal_Handler(srv interface{}, ctx context.Context, dec func(
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Msg/SubmitProposal",
FullMethod: "/cosmos.gov.v1.Msg/SubmitProposal",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).SubmitProposal(ctx, req.(*MsgSubmitProposal))
@@ -166,7 +166,7 @@ func _Msg_ExecLegacyContent_Handler(srv interface{}, ctx context.Context, dec fu
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Msg/ExecLegacyContent",
FullMethod: "/cosmos.gov.v1.Msg/ExecLegacyContent",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).ExecLegacyContent(ctx, req.(*MsgExecLegacyContent))
@@ -184,7 +184,7 @@ func _Msg_Vote_Handler(srv interface{}, ctx context.Context, dec func(interface{
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Msg/Vote",
FullMethod: "/cosmos.gov.v1.Msg/Vote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).Vote(ctx, req.(*MsgVote))
@@ -202,7 +202,7 @@ func _Msg_VoteWeighted_Handler(srv interface{}, ctx context.Context, dec func(in
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Msg/VoteWeighted",
FullMethod: "/cosmos.gov.v1.Msg/VoteWeighted",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).VoteWeighted(ctx, req.(*MsgVoteWeighted))
@@ -220,7 +220,7 @@ func _Msg_Deposit_Handler(srv interface{}, ctx context.Context, dec func(interfa
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.gov.v1beta2.Msg/Deposit",
FullMethod: "/cosmos.gov.v1.Msg/Deposit",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).Deposit(ctx, req.(*MsgDeposit))
@@ -232,7 +232,7 @@ func _Msg_Deposit_Handler(srv interface{}, ctx context.Context, dec func(interfa
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Msg_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.gov.v1beta2.Msg",
ServiceName: "cosmos.gov.v1.Msg",
HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{
{
@@ -257,5 +257,5 @@ var Msg_ServiceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/gov/v1beta2/tx.proto",
Metadata: "cosmos/gov/v1/tx.proto",
}
File diff suppressed because it is too large Load Diff
@@ -1,5 +1,5 @@
// Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
package groupv1beta1
package groupv1
import (
fmt "fmt"
@@ -280,8 +280,8 @@ var (
)
func init() {
file_cosmos_group_v1beta1_genesis_proto_init()
md_GenesisState = File_cosmos_group_v1beta1_genesis_proto.Messages().ByName("GenesisState")
file_cosmos_group_v1_genesis_proto_init()
md_GenesisState = File_cosmos_group_v1_genesis_proto.Messages().ByName("GenesisState")
fd_GenesisState_group_seq = md_GenesisState.Fields().ByName("group_seq")
fd_GenesisState_groups = md_GenesisState.Fields().ByName("groups")
fd_GenesisState_group_members = md_GenesisState.Fields().ByName("group_members")
@@ -301,7 +301,7 @@ func (x *GenesisState) ProtoReflect() protoreflect.Message {
}
func (x *GenesisState) slowProtoReflect() protoreflect.Message {
mi := &file_cosmos_group_v1beta1_genesis_proto_msgTypes[0]
mi := &file_cosmos_group_v1_genesis_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -420,27 +420,27 @@ func (x *fastReflection_GenesisState) Range(f func(protoreflect.FieldDescriptor,
// a repeated field is populated if it is non-empty.
func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool {
switch fd.FullName() {
case "cosmos.group.v1beta1.GenesisState.group_seq":
case "cosmos.group.v1.GenesisState.group_seq":
return x.GroupSeq != uint64(0)
case "cosmos.group.v1beta1.GenesisState.groups":
case "cosmos.group.v1.GenesisState.groups":
return len(x.Groups) != 0
case "cosmos.group.v1beta1.GenesisState.group_members":
case "cosmos.group.v1.GenesisState.group_members":
return len(x.GroupMembers) != 0
case "cosmos.group.v1beta1.GenesisState.group_policy_seq":
case "cosmos.group.v1.GenesisState.group_policy_seq":
return x.GroupPolicySeq != uint64(0)
case "cosmos.group.v1beta1.GenesisState.group_policies":
case "cosmos.group.v1.GenesisState.group_policies":
return len(x.GroupPolicies) != 0
case "cosmos.group.v1beta1.GenesisState.proposal_seq":
case "cosmos.group.v1.GenesisState.proposal_seq":
return x.ProposalSeq != uint64(0)
case "cosmos.group.v1beta1.GenesisState.proposals":
case "cosmos.group.v1.GenesisState.proposals":
return len(x.Proposals) != 0
case "cosmos.group.v1beta1.GenesisState.votes":
case "cosmos.group.v1.GenesisState.votes":
return len(x.Votes) != 0
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.group.v1beta1.GenesisState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.group.v1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.group.v1beta1.GenesisState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cosmos.group.v1.GenesisState does not contain field %s", fd.FullName()))
}
}
@@ -452,27 +452,27 @@ func (x *fastReflection_GenesisState) Has(fd protoreflect.FieldDescriptor) bool
// Clear is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) {
switch fd.FullName() {
case "cosmos.group.v1beta1.GenesisState.group_seq":
case "cosmos.group.v1.GenesisState.group_seq":
x.GroupSeq = uint64(0)
case "cosmos.group.v1beta1.GenesisState.groups":
case "cosmos.group.v1.GenesisState.groups":
x.Groups = nil
case "cosmos.group.v1beta1.GenesisState.group_members":
case "cosmos.group.v1.GenesisState.group_members":
x.GroupMembers = nil
case "cosmos.group.v1beta1.GenesisState.group_policy_seq":
case "cosmos.group.v1.GenesisState.group_policy_seq":
x.GroupPolicySeq = uint64(0)
case "cosmos.group.v1beta1.GenesisState.group_policies":
case "cosmos.group.v1.GenesisState.group_policies":
x.GroupPolicies = nil
case "cosmos.group.v1beta1.GenesisState.proposal_seq":
case "cosmos.group.v1.GenesisState.proposal_seq":
x.ProposalSeq = uint64(0)
case "cosmos.group.v1beta1.GenesisState.proposals":
case "cosmos.group.v1.GenesisState.proposals":
x.Proposals = nil
case "cosmos.group.v1beta1.GenesisState.votes":
case "cosmos.group.v1.GenesisState.votes":
x.Votes = nil
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.group.v1beta1.GenesisState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.group.v1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.group.v1beta1.GenesisState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cosmos.group.v1.GenesisState does not contain field %s", fd.FullName()))
}
}
@@ -484,40 +484,40 @@ func (x *fastReflection_GenesisState) Clear(fd protoreflect.FieldDescriptor) {
// of the value; to obtain a mutable reference, use Mutable.
func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value {
switch descriptor.FullName() {
case "cosmos.group.v1beta1.GenesisState.group_seq":
case "cosmos.group.v1.GenesisState.group_seq":
value := x.GroupSeq
return protoreflect.ValueOfUint64(value)
case "cosmos.group.v1beta1.GenesisState.groups":
case "cosmos.group.v1.GenesisState.groups":
if len(x.Groups) == 0 {
return protoreflect.ValueOfList(&_GenesisState_2_list{})
}
listValue := &_GenesisState_2_list{list: &x.Groups}
return protoreflect.ValueOfList(listValue)
case "cosmos.group.v1beta1.GenesisState.group_members":
case "cosmos.group.v1.GenesisState.group_members":
if len(x.GroupMembers) == 0 {
return protoreflect.ValueOfList(&_GenesisState_3_list{})
}
listValue := &_GenesisState_3_list{list: &x.GroupMembers}
return protoreflect.ValueOfList(listValue)
case "cosmos.group.v1beta1.GenesisState.group_policy_seq":
case "cosmos.group.v1.GenesisState.group_policy_seq":
value := x.GroupPolicySeq
return protoreflect.ValueOfUint64(value)
case "cosmos.group.v1beta1.GenesisState.group_policies":
case "cosmos.group.v1.GenesisState.group_policies":
if len(x.GroupPolicies) == 0 {
return protoreflect.ValueOfList(&_GenesisState_5_list{})
}
listValue := &_GenesisState_5_list{list: &x.GroupPolicies}
return protoreflect.ValueOfList(listValue)
case "cosmos.group.v1beta1.GenesisState.proposal_seq":
case "cosmos.group.v1.GenesisState.proposal_seq":
value := x.ProposalSeq
return protoreflect.ValueOfUint64(value)
case "cosmos.group.v1beta1.GenesisState.proposals":
case "cosmos.group.v1.GenesisState.proposals":
if len(x.Proposals) == 0 {
return protoreflect.ValueOfList(&_GenesisState_7_list{})
}
listValue := &_GenesisState_7_list{list: &x.Proposals}
return protoreflect.ValueOfList(listValue)
case "cosmos.group.v1beta1.GenesisState.votes":
case "cosmos.group.v1.GenesisState.votes":
if len(x.Votes) == 0 {
return protoreflect.ValueOfList(&_GenesisState_8_list{})
}
@@ -525,9 +525,9 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto
return protoreflect.ValueOfList(listValue)
default:
if descriptor.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.group.v1beta1.GenesisState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.group.v1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.group.v1beta1.GenesisState does not contain field %s", descriptor.FullName()))
panic(fmt.Errorf("message cosmos.group.v1.GenesisState does not contain field %s", descriptor.FullName()))
}
}
@@ -543,37 +543,37 @@ func (x *fastReflection_GenesisState) Get(descriptor protoreflect.FieldDescripto
// Set is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) {
switch fd.FullName() {
case "cosmos.group.v1beta1.GenesisState.group_seq":
case "cosmos.group.v1.GenesisState.group_seq":
x.GroupSeq = value.Uint()
case "cosmos.group.v1beta1.GenesisState.groups":
case "cosmos.group.v1.GenesisState.groups":
lv := value.List()
clv := lv.(*_GenesisState_2_list)
x.Groups = *clv.list
case "cosmos.group.v1beta1.GenesisState.group_members":
case "cosmos.group.v1.GenesisState.group_members":
lv := value.List()
clv := lv.(*_GenesisState_3_list)
x.GroupMembers = *clv.list
case "cosmos.group.v1beta1.GenesisState.group_policy_seq":
case "cosmos.group.v1.GenesisState.group_policy_seq":
x.GroupPolicySeq = value.Uint()
case "cosmos.group.v1beta1.GenesisState.group_policies":
case "cosmos.group.v1.GenesisState.group_policies":
lv := value.List()
clv := lv.(*_GenesisState_5_list)
x.GroupPolicies = *clv.list
case "cosmos.group.v1beta1.GenesisState.proposal_seq":
case "cosmos.group.v1.GenesisState.proposal_seq":
x.ProposalSeq = value.Uint()
case "cosmos.group.v1beta1.GenesisState.proposals":
case "cosmos.group.v1.GenesisState.proposals":
lv := value.List()
clv := lv.(*_GenesisState_7_list)
x.Proposals = *clv.list
case "cosmos.group.v1beta1.GenesisState.votes":
case "cosmos.group.v1.GenesisState.votes":
lv := value.List()
clv := lv.(*_GenesisState_8_list)
x.Votes = *clv.list
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.group.v1beta1.GenesisState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.group.v1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.group.v1beta1.GenesisState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cosmos.group.v1.GenesisState does not contain field %s", fd.FullName()))
}
}
@@ -589,47 +589,47 @@ func (x *fastReflection_GenesisState) Set(fd protoreflect.FieldDescriptor, value
// Mutable is a mutating operation and unsafe for concurrent use.
func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.group.v1beta1.GenesisState.groups":
case "cosmos.group.v1.GenesisState.groups":
if x.Groups == nil {
x.Groups = []*GroupInfo{}
}
value := &_GenesisState_2_list{list: &x.Groups}
return protoreflect.ValueOfList(value)
case "cosmos.group.v1beta1.GenesisState.group_members":
case "cosmos.group.v1.GenesisState.group_members":
if x.GroupMembers == nil {
x.GroupMembers = []*GroupMember{}
}
value := &_GenesisState_3_list{list: &x.GroupMembers}
return protoreflect.ValueOfList(value)
case "cosmos.group.v1beta1.GenesisState.group_policies":
case "cosmos.group.v1.GenesisState.group_policies":
if x.GroupPolicies == nil {
x.GroupPolicies = []*GroupPolicyInfo{}
}
value := &_GenesisState_5_list{list: &x.GroupPolicies}
return protoreflect.ValueOfList(value)
case "cosmos.group.v1beta1.GenesisState.proposals":
case "cosmos.group.v1.GenesisState.proposals":
if x.Proposals == nil {
x.Proposals = []*Proposal{}
}
value := &_GenesisState_7_list{list: &x.Proposals}
return protoreflect.ValueOfList(value)
case "cosmos.group.v1beta1.GenesisState.votes":
case "cosmos.group.v1.GenesisState.votes":
if x.Votes == nil {
x.Votes = []*Vote{}
}
value := &_GenesisState_8_list{list: &x.Votes}
return protoreflect.ValueOfList(value)
case "cosmos.group.v1beta1.GenesisState.group_seq":
panic(fmt.Errorf("field group_seq of message cosmos.group.v1beta1.GenesisState is not mutable"))
case "cosmos.group.v1beta1.GenesisState.group_policy_seq":
panic(fmt.Errorf("field group_policy_seq of message cosmos.group.v1beta1.GenesisState is not mutable"))
case "cosmos.group.v1beta1.GenesisState.proposal_seq":
panic(fmt.Errorf("field proposal_seq of message cosmos.group.v1beta1.GenesisState is not mutable"))
case "cosmos.group.v1.GenesisState.group_seq":
panic(fmt.Errorf("field group_seq of message cosmos.group.v1.GenesisState is not mutable"))
case "cosmos.group.v1.GenesisState.group_policy_seq":
panic(fmt.Errorf("field group_policy_seq of message cosmos.group.v1.GenesisState is not mutable"))
case "cosmos.group.v1.GenesisState.proposal_seq":
panic(fmt.Errorf("field proposal_seq of message cosmos.group.v1.GenesisState is not mutable"))
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.group.v1beta1.GenesisState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.group.v1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.group.v1beta1.GenesisState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cosmos.group.v1.GenesisState does not contain field %s", fd.FullName()))
}
}
@@ -638,32 +638,32 @@ func (x *fastReflection_GenesisState) Mutable(fd protoreflect.FieldDescriptor) p
// For lists, maps, and messages, this returns a new, empty, mutable value.
func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
switch fd.FullName() {
case "cosmos.group.v1beta1.GenesisState.group_seq":
case "cosmos.group.v1.GenesisState.group_seq":
return protoreflect.ValueOfUint64(uint64(0))
case "cosmos.group.v1beta1.GenesisState.groups":
case "cosmos.group.v1.GenesisState.groups":
list := []*GroupInfo{}
return protoreflect.ValueOfList(&_GenesisState_2_list{list: &list})
case "cosmos.group.v1beta1.GenesisState.group_members":
case "cosmos.group.v1.GenesisState.group_members":
list := []*GroupMember{}
return protoreflect.ValueOfList(&_GenesisState_3_list{list: &list})
case "cosmos.group.v1beta1.GenesisState.group_policy_seq":
case "cosmos.group.v1.GenesisState.group_policy_seq":
return protoreflect.ValueOfUint64(uint64(0))
case "cosmos.group.v1beta1.GenesisState.group_policies":
case "cosmos.group.v1.GenesisState.group_policies":
list := []*GroupPolicyInfo{}
return protoreflect.ValueOfList(&_GenesisState_5_list{list: &list})
case "cosmos.group.v1beta1.GenesisState.proposal_seq":
case "cosmos.group.v1.GenesisState.proposal_seq":
return protoreflect.ValueOfUint64(uint64(0))
case "cosmos.group.v1beta1.GenesisState.proposals":
case "cosmos.group.v1.GenesisState.proposals":
list := []*Proposal{}
return protoreflect.ValueOfList(&_GenesisState_7_list{list: &list})
case "cosmos.group.v1beta1.GenesisState.votes":
case "cosmos.group.v1.GenesisState.votes":
list := []*Vote{}
return protoreflect.ValueOfList(&_GenesisState_8_list{list: &list})
default:
if fd.IsExtension() {
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.group.v1beta1.GenesisState"))
panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.group.v1.GenesisState"))
}
panic(fmt.Errorf("message cosmos.group.v1beta1.GenesisState does not contain field %s", fd.FullName()))
panic(fmt.Errorf("message cosmos.group.v1.GenesisState does not contain field %s", fd.FullName()))
}
}
@@ -673,7 +673,7 @@ func (x *fastReflection_GenesisState) NewField(fd protoreflect.FieldDescriptor)
func (x *fastReflection_GenesisState) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
switch d.FullName() {
default:
panic(fmt.Errorf("%s is not a oneof field in cosmos.group.v1beta1.GenesisState", d.FullName()))
panic(fmt.Errorf("%s is not a oneof field in cosmos.group.v1.GenesisState", d.FullName()))
}
panic("unreachable")
}
@@ -1206,7 +1206,7 @@ func (x *fastReflection_GenesisState) ProtoMethods() *protoiface.Methods {
// versions:
// protoc-gen-go v1.27.0
// protoc (unknown)
// source: cosmos/group/v1beta1/genesis.proto
// source: cosmos/group/v1/genesis.proto
const (
// Verify that this generated code is sufficiently up-to-date.
@@ -1245,7 +1245,7 @@ type GenesisState struct {
func (x *GenesisState) Reset() {
*x = GenesisState{}
if protoimpl.UnsafeEnabled {
mi := &file_cosmos_group_v1beta1_genesis_proto_msgTypes[0]
mi := &file_cosmos_group_v1_genesis_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -1259,7 +1259,7 @@ func (*GenesisState) ProtoMessage() {}
// Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) Descriptor() ([]byte, []int) {
return file_cosmos_group_v1beta1_genesis_proto_rawDescGZIP(), []int{0}
return file_cosmos_group_v1_genesis_proto_rawDescGZIP(), []int{0}
}
func (x *GenesisState) GetGroupSeq() uint64 {
@@ -1318,86 +1318,82 @@ func (x *GenesisState) GetVotes() []*Vote {
return nil
}
var File_cosmos_group_v1beta1_genesis_proto protoreflect.FileDescriptor
var File_cosmos_group_v1_genesis_proto protoreflect.FileDescriptor
var file_cosmos_group_v1beta1_genesis_proto_rawDesc = []byte{
0x0a, 0x22, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x76,
0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x72, 0x6f,
0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x20, 0x63, 0x6f, 0x73, 0x6d,
0x6f, 0x73, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x03, 0x0a,
0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a,
0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x71, 0x12, 0x37, 0x0a, 0x06, 0x67, 0x72,
0x6f, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x67, 0x72, 0x6f,
0x75, 0x70, 0x73, 0x12, 0x46, 0x0a, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6d, 0x65, 0x6d,
0x62, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x0c, 0x67,
0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x67,
0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x73, 0x65, 0x71, 0x18,
0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69,
0x63, 0x79, 0x53, 0x65, 0x71, 0x12, 0x4c, 0x0a, 0x0e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70,
0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e,
0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62,
0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63,
0x69, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f,
0x73, 0x65, 0x71, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x53, 0x65, 0x71, 0x12, 0x3c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73,
0x61, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x73, 0x6d,
0x6f, 0x73, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
0x2e, 0x50, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f,
0x73, 0x61, 0x6c, 0x73, 0x12, 0x30, 0x0a, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x72, 0x6f,
0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52,
0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x42, 0xde, 0x01, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x63,
0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x62, 0x65,
0x74, 0x61, 0x31, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50, 0x72, 0x6f, 0x74,
0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64,
0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x67, 0x72, 0x6f,
0x75, 0x70, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x67, 0x72, 0x6f, 0x75, 0x70,
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x47, 0x58, 0xaa, 0x02, 0x14,
0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x56, 0x31, 0x62,
0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x14, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x47, 0x72,
0x6f, 0x75, 0x70, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x20, 0x43, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74,
0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
0x16, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x3a, 0x3a,
0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
var file_cosmos_group_v1_genesis_proto_rawDesc = []byte{
0x0a, 0x1d, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x76,
0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
0x0f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31,
0x1a, 0x1b, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x76,
0x31, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x03,
0x0a, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1b,
0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28,
0x04, 0x52, 0x08, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x71, 0x12, 0x32, 0x0a, 0x06, 0x67,
0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72,
0x6f, 0x75, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12,
0x41, 0x0a, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e,
0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65,
0x6d, 0x62, 0x65, 0x72, 0x52, 0x0c, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65,
0x72, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70, 0x6f, 0x6c, 0x69,
0x63, 0x79, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x67, 0x72,
0x6f, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x71, 0x12, 0x47, 0x0a, 0x0e,
0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x05,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x72,
0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x6f, 0x6c, 0x69,
0x63, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x6f, 0x6c,
0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
0x6c, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x72, 0x6f,
0x70, 0x6f, 0x73, 0x61, 0x6c, 0x53, 0x65, 0x71, 0x12, 0x37, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x70,
0x6f, 0x73, 0x61, 0x6c, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f,
0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72,
0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c,
0x73, 0x12, 0x2b, 0x0a, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x15, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e,
0x76, 0x31, 0x2e, 0x56, 0x6f, 0x74, 0x65, 0x52, 0x05, 0x76, 0x6f, 0x74, 0x65, 0x73, 0x42, 0xbb,
0x01, 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x67, 0x72,
0x6f, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x47, 0x65, 0x6e, 0x65, 0x73, 0x69, 0x73, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73,
0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f,
0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x76, 0x31,
0xa2, 0x02, 0x03, 0x43, 0x47, 0x58, 0xaa, 0x02, 0x0f, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e,
0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0f, 0x43, 0x6f, 0x73, 0x6d, 0x6f,
0x73, 0x5c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x1b, 0x43, 0x6f, 0x73,
0x6d, 0x6f, 0x73, 0x5c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42,
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x11, 0x43, 0x6f, 0x73, 0x6d, 0x6f,
0x73, 0x3a, 0x3a, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (
file_cosmos_group_v1beta1_genesis_proto_rawDescOnce sync.Once
file_cosmos_group_v1beta1_genesis_proto_rawDescData = file_cosmos_group_v1beta1_genesis_proto_rawDesc
file_cosmos_group_v1_genesis_proto_rawDescOnce sync.Once
file_cosmos_group_v1_genesis_proto_rawDescData = file_cosmos_group_v1_genesis_proto_rawDesc
)
func file_cosmos_group_v1beta1_genesis_proto_rawDescGZIP() []byte {
file_cosmos_group_v1beta1_genesis_proto_rawDescOnce.Do(func() {
file_cosmos_group_v1beta1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_group_v1beta1_genesis_proto_rawDescData)
func file_cosmos_group_v1_genesis_proto_rawDescGZIP() []byte {
file_cosmos_group_v1_genesis_proto_rawDescOnce.Do(func() {
file_cosmos_group_v1_genesis_proto_rawDescData = protoimpl.X.CompressGZIP(file_cosmos_group_v1_genesis_proto_rawDescData)
})
return file_cosmos_group_v1beta1_genesis_proto_rawDescData
return file_cosmos_group_v1_genesis_proto_rawDescData
}
var file_cosmos_group_v1beta1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cosmos_group_v1beta1_genesis_proto_goTypes = []interface{}{
(*GenesisState)(nil), // 0: cosmos.group.v1beta1.GenesisState
(*GroupInfo)(nil), // 1: cosmos.group.v1beta1.GroupInfo
(*GroupMember)(nil), // 2: cosmos.group.v1beta1.GroupMember
(*GroupPolicyInfo)(nil), // 3: cosmos.group.v1beta1.GroupPolicyInfo
(*Proposal)(nil), // 4: cosmos.group.v1beta1.Proposal
(*Vote)(nil), // 5: cosmos.group.v1beta1.Vote
var file_cosmos_group_v1_genesis_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_cosmos_group_v1_genesis_proto_goTypes = []interface{}{
(*GenesisState)(nil), // 0: cosmos.group.v1.GenesisState
(*GroupInfo)(nil), // 1: cosmos.group.v1.GroupInfo
(*GroupMember)(nil), // 2: cosmos.group.v1.GroupMember
(*GroupPolicyInfo)(nil), // 3: cosmos.group.v1.GroupPolicyInfo
(*Proposal)(nil), // 4: cosmos.group.v1.Proposal
(*Vote)(nil), // 5: cosmos.group.v1.Vote
}
var file_cosmos_group_v1beta1_genesis_proto_depIdxs = []int32{
1, // 0: cosmos.group.v1beta1.GenesisState.groups:type_name -> cosmos.group.v1beta1.GroupInfo
2, // 1: cosmos.group.v1beta1.GenesisState.group_members:type_name -> cosmos.group.v1beta1.GroupMember
3, // 2: cosmos.group.v1beta1.GenesisState.group_policies:type_name -> cosmos.group.v1beta1.GroupPolicyInfo
4, // 3: cosmos.group.v1beta1.GenesisState.proposals:type_name -> cosmos.group.v1beta1.Proposal
5, // 4: cosmos.group.v1beta1.GenesisState.votes:type_name -> cosmos.group.v1beta1.Vote
var file_cosmos_group_v1_genesis_proto_depIdxs = []int32{
1, // 0: cosmos.group.v1.GenesisState.groups:type_name -> cosmos.group.v1.GroupInfo
2, // 1: cosmos.group.v1.GenesisState.group_members:type_name -> cosmos.group.v1.GroupMember
3, // 2: cosmos.group.v1.GenesisState.group_policies:type_name -> cosmos.group.v1.GroupPolicyInfo
4, // 3: cosmos.group.v1.GenesisState.proposals:type_name -> cosmos.group.v1.Proposal
5, // 4: cosmos.group.v1.GenesisState.votes:type_name -> cosmos.group.v1.Vote
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
@@ -1405,14 +1401,14 @@ var file_cosmos_group_v1beta1_genesis_proto_depIdxs = []int32{
0, // [0:5] is the sub-list for field type_name
}
func init() { file_cosmos_group_v1beta1_genesis_proto_init() }
func file_cosmos_group_v1beta1_genesis_proto_init() {
if File_cosmos_group_v1beta1_genesis_proto != nil {
func init() { file_cosmos_group_v1_genesis_proto_init() }
func file_cosmos_group_v1_genesis_proto_init() {
if File_cosmos_group_v1_genesis_proto != nil {
return
}
file_cosmos_group_v1beta1_types_proto_init()
file_cosmos_group_v1_types_proto_init()
if !protoimpl.UnsafeEnabled {
file_cosmos_group_v1beta1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_cosmos_group_v1_genesis_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GenesisState); i {
case 0:
return &v.state
@@ -1429,18 +1425,18 @@ func file_cosmos_group_v1beta1_genesis_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_cosmos_group_v1beta1_genesis_proto_rawDesc,
RawDescriptor: file_cosmos_group_v1_genesis_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_cosmos_group_v1beta1_genesis_proto_goTypes,
DependencyIndexes: file_cosmos_group_v1beta1_genesis_proto_depIdxs,
MessageInfos: file_cosmos_group_v1beta1_genesis_proto_msgTypes,
GoTypes: file_cosmos_group_v1_genesis_proto_goTypes,
DependencyIndexes: file_cosmos_group_v1_genesis_proto_depIdxs,
MessageInfos: file_cosmos_group_v1_genesis_proto_msgTypes,
}.Build()
File_cosmos_group_v1beta1_genesis_proto = out.File
file_cosmos_group_v1beta1_genesis_proto_rawDesc = nil
file_cosmos_group_v1beta1_genesis_proto_goTypes = nil
file_cosmos_group_v1beta1_genesis_proto_depIdxs = nil
File_cosmos_group_v1_genesis_proto = out.File
file_cosmos_group_v1_genesis_proto_rawDesc = nil
file_cosmos_group_v1_genesis_proto_goTypes = nil
file_cosmos_group_v1_genesis_proto_depIdxs = nil
}
File diff suppressed because it is too large Load Diff
@@ -2,9 +2,9 @@
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: cosmos/group/v1beta1/query.proto
// source: cosmos/group/v1/query.proto
package groupv1beta1
package groupv1
import (
context "context"
@@ -60,7 +60,7 @@ func NewQueryClient(cc grpc.ClientConnInterface) QueryClient {
func (c *queryClient) GroupInfo(ctx context.Context, in *QueryGroupInfoRequest, opts ...grpc.CallOption) (*QueryGroupInfoResponse, error) {
out := new(QueryGroupInfoResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/GroupInfo", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/GroupInfo", in, out, opts...)
if err != nil {
return nil, err
}
@@ -69,7 +69,7 @@ func (c *queryClient) GroupInfo(ctx context.Context, in *QueryGroupInfoRequest,
func (c *queryClient) GroupPolicyInfo(ctx context.Context, in *QueryGroupPolicyInfoRequest, opts ...grpc.CallOption) (*QueryGroupPolicyInfoResponse, error) {
out := new(QueryGroupPolicyInfoResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/GroupPolicyInfo", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/GroupPolicyInfo", in, out, opts...)
if err != nil {
return nil, err
}
@@ -78,7 +78,7 @@ func (c *queryClient) GroupPolicyInfo(ctx context.Context, in *QueryGroupPolicyI
func (c *queryClient) GroupMembers(ctx context.Context, in *QueryGroupMembersRequest, opts ...grpc.CallOption) (*QueryGroupMembersResponse, error) {
out := new(QueryGroupMembersResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/GroupMembers", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/GroupMembers", in, out, opts...)
if err != nil {
return nil, err
}
@@ -87,7 +87,7 @@ func (c *queryClient) GroupMembers(ctx context.Context, in *QueryGroupMembersReq
func (c *queryClient) GroupsByAdmin(ctx context.Context, in *QueryGroupsByAdminRequest, opts ...grpc.CallOption) (*QueryGroupsByAdminResponse, error) {
out := new(QueryGroupsByAdminResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/GroupsByAdmin", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/GroupsByAdmin", in, out, opts...)
if err != nil {
return nil, err
}
@@ -96,7 +96,7 @@ func (c *queryClient) GroupsByAdmin(ctx context.Context, in *QueryGroupsByAdminR
func (c *queryClient) GroupPoliciesByGroup(ctx context.Context, in *QueryGroupPoliciesByGroupRequest, opts ...grpc.CallOption) (*QueryGroupPoliciesByGroupResponse, error) {
out := new(QueryGroupPoliciesByGroupResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/GroupPoliciesByGroup", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/GroupPoliciesByGroup", in, out, opts...)
if err != nil {
return nil, err
}
@@ -105,7 +105,7 @@ func (c *queryClient) GroupPoliciesByGroup(ctx context.Context, in *QueryGroupPo
func (c *queryClient) GroupPoliciesByAdmin(ctx context.Context, in *QueryGroupPoliciesByAdminRequest, opts ...grpc.CallOption) (*QueryGroupPoliciesByAdminResponse, error) {
out := new(QueryGroupPoliciesByAdminResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/GroupPoliciesByAdmin", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/GroupPoliciesByAdmin", in, out, opts...)
if err != nil {
return nil, err
}
@@ -114,7 +114,7 @@ func (c *queryClient) GroupPoliciesByAdmin(ctx context.Context, in *QueryGroupPo
func (c *queryClient) Proposal(ctx context.Context, in *QueryProposalRequest, opts ...grpc.CallOption) (*QueryProposalResponse, error) {
out := new(QueryProposalResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/Proposal", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/Proposal", in, out, opts...)
if err != nil {
return nil, err
}
@@ -123,7 +123,7 @@ func (c *queryClient) Proposal(ctx context.Context, in *QueryProposalRequest, op
func (c *queryClient) ProposalsByGroupPolicy(ctx context.Context, in *QueryProposalsByGroupPolicyRequest, opts ...grpc.CallOption) (*QueryProposalsByGroupPolicyResponse, error) {
out := new(QueryProposalsByGroupPolicyResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/ProposalsByGroupPolicy", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/ProposalsByGroupPolicy", in, out, opts...)
if err != nil {
return nil, err
}
@@ -132,7 +132,7 @@ func (c *queryClient) ProposalsByGroupPolicy(ctx context.Context, in *QueryPropo
func (c *queryClient) VoteByProposalVoter(ctx context.Context, in *QueryVoteByProposalVoterRequest, opts ...grpc.CallOption) (*QueryVoteByProposalVoterResponse, error) {
out := new(QueryVoteByProposalVoterResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/VoteByProposalVoter", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/VoteByProposalVoter", in, out, opts...)
if err != nil {
return nil, err
}
@@ -141,7 +141,7 @@ func (c *queryClient) VoteByProposalVoter(ctx context.Context, in *QueryVoteByPr
func (c *queryClient) VotesByProposal(ctx context.Context, in *QueryVotesByProposalRequest, opts ...grpc.CallOption) (*QueryVotesByProposalResponse, error) {
out := new(QueryVotesByProposalResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/VotesByProposal", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/VotesByProposal", in, out, opts...)
if err != nil {
return nil, err
}
@@ -150,7 +150,7 @@ func (c *queryClient) VotesByProposal(ctx context.Context, in *QueryVotesByPropo
func (c *queryClient) VotesByVoter(ctx context.Context, in *QueryVotesByVoterRequest, opts ...grpc.CallOption) (*QueryVotesByVoterResponse, error) {
out := new(QueryVotesByVoterResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/VotesByVoter", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/VotesByVoter", in, out, opts...)
if err != nil {
return nil, err
}
@@ -159,7 +159,7 @@ func (c *queryClient) VotesByVoter(ctx context.Context, in *QueryVotesByVoterReq
func (c *queryClient) GroupsByMember(ctx context.Context, in *QueryGroupsByMemberRequest, opts ...grpc.CallOption) (*QueryGroupsByMemberResponse, error) {
out := new(QueryGroupsByMemberResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/GroupsByMember", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/GroupsByMember", in, out, opts...)
if err != nil {
return nil, err
}
@@ -168,7 +168,7 @@ func (c *queryClient) GroupsByMember(ctx context.Context, in *QueryGroupsByMembe
func (c *queryClient) TallyResult(ctx context.Context, in *QueryTallyResultRequest, opts ...grpc.CallOption) (*QueryTallyResultResponse, error) {
out := new(QueryTallyResultResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Query/TallyResult", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Query/TallyResult", in, out, opts...)
if err != nil {
return nil, err
}
@@ -274,7 +274,7 @@ func _Query_GroupInfo_Handler(srv interface{}, ctx context.Context, dec func(int
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/GroupInfo",
FullMethod: "/cosmos.group.v1.Query/GroupInfo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).GroupInfo(ctx, req.(*QueryGroupInfoRequest))
@@ -292,7 +292,7 @@ func _Query_GroupPolicyInfo_Handler(srv interface{}, ctx context.Context, dec fu
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/GroupPolicyInfo",
FullMethod: "/cosmos.group.v1.Query/GroupPolicyInfo",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).GroupPolicyInfo(ctx, req.(*QueryGroupPolicyInfoRequest))
@@ -310,7 +310,7 @@ func _Query_GroupMembers_Handler(srv interface{}, ctx context.Context, dec func(
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/GroupMembers",
FullMethod: "/cosmos.group.v1.Query/GroupMembers",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).GroupMembers(ctx, req.(*QueryGroupMembersRequest))
@@ -328,7 +328,7 @@ func _Query_GroupsByAdmin_Handler(srv interface{}, ctx context.Context, dec func
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/GroupsByAdmin",
FullMethod: "/cosmos.group.v1.Query/GroupsByAdmin",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).GroupsByAdmin(ctx, req.(*QueryGroupsByAdminRequest))
@@ -346,7 +346,7 @@ func _Query_GroupPoliciesByGroup_Handler(srv interface{}, ctx context.Context, d
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/GroupPoliciesByGroup",
FullMethod: "/cosmos.group.v1.Query/GroupPoliciesByGroup",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).GroupPoliciesByGroup(ctx, req.(*QueryGroupPoliciesByGroupRequest))
@@ -364,7 +364,7 @@ func _Query_GroupPoliciesByAdmin_Handler(srv interface{}, ctx context.Context, d
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/GroupPoliciesByAdmin",
FullMethod: "/cosmos.group.v1.Query/GroupPoliciesByAdmin",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).GroupPoliciesByAdmin(ctx, req.(*QueryGroupPoliciesByAdminRequest))
@@ -382,7 +382,7 @@ func _Query_Proposal_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/Proposal",
FullMethod: "/cosmos.group.v1.Query/Proposal",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).Proposal(ctx, req.(*QueryProposalRequest))
@@ -400,7 +400,7 @@ func _Query_ProposalsByGroupPolicy_Handler(srv interface{}, ctx context.Context,
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/ProposalsByGroupPolicy",
FullMethod: "/cosmos.group.v1.Query/ProposalsByGroupPolicy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).ProposalsByGroupPolicy(ctx, req.(*QueryProposalsByGroupPolicyRequest))
@@ -418,7 +418,7 @@ func _Query_VoteByProposalVoter_Handler(srv interface{}, ctx context.Context, de
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/VoteByProposalVoter",
FullMethod: "/cosmos.group.v1.Query/VoteByProposalVoter",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).VoteByProposalVoter(ctx, req.(*QueryVoteByProposalVoterRequest))
@@ -436,7 +436,7 @@ func _Query_VotesByProposal_Handler(srv interface{}, ctx context.Context, dec fu
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/VotesByProposal",
FullMethod: "/cosmos.group.v1.Query/VotesByProposal",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).VotesByProposal(ctx, req.(*QueryVotesByProposalRequest))
@@ -454,7 +454,7 @@ func _Query_VotesByVoter_Handler(srv interface{}, ctx context.Context, dec func(
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/VotesByVoter",
FullMethod: "/cosmos.group.v1.Query/VotesByVoter",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).VotesByVoter(ctx, req.(*QueryVotesByVoterRequest))
@@ -472,7 +472,7 @@ func _Query_GroupsByMember_Handler(srv interface{}, ctx context.Context, dec fun
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/GroupsByMember",
FullMethod: "/cosmos.group.v1.Query/GroupsByMember",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).GroupsByMember(ctx, req.(*QueryGroupsByMemberRequest))
@@ -490,7 +490,7 @@ func _Query_TallyResult_Handler(srv interface{}, ctx context.Context, dec func(i
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Query/TallyResult",
FullMethod: "/cosmos.group.v1.Query/TallyResult",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(QueryServer).TallyResult(ctx, req.(*QueryTallyResultRequest))
@@ -502,7 +502,7 @@ func _Query_TallyResult_Handler(srv interface{}, ctx context.Context, dec func(i
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.group.v1beta1.Query",
ServiceName: "cosmos.group.v1.Query",
HandlerType: (*QueryServer)(nil),
Methods: []grpc.MethodDesc{
{
@@ -559,5 +559,5 @@ var Query_ServiceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/group/v1beta1/query.proto",
Metadata: "cosmos/group/v1/query.proto",
}
File diff suppressed because it is too large Load Diff
@@ -2,9 +2,9 @@
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: cosmos/group/v1beta1/tx.proto
// source: cosmos/group/v1/tx.proto
package groupv1beta1
package groupv1
import (
context "context"
@@ -62,7 +62,7 @@ func NewMsgClient(cc grpc.ClientConnInterface) MsgClient {
func (c *msgClient) CreateGroup(ctx context.Context, in *MsgCreateGroup, opts ...grpc.CallOption) (*MsgCreateGroupResponse, error) {
out := new(MsgCreateGroupResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/CreateGroup", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/CreateGroup", in, out, opts...)
if err != nil {
return nil, err
}
@@ -71,7 +71,7 @@ func (c *msgClient) CreateGroup(ctx context.Context, in *MsgCreateGroup, opts ..
func (c *msgClient) UpdateGroupMembers(ctx context.Context, in *MsgUpdateGroupMembers, opts ...grpc.CallOption) (*MsgUpdateGroupMembersResponse, error) {
out := new(MsgUpdateGroupMembersResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/UpdateGroupMembers", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/UpdateGroupMembers", in, out, opts...)
if err != nil {
return nil, err
}
@@ -80,7 +80,7 @@ func (c *msgClient) UpdateGroupMembers(ctx context.Context, in *MsgUpdateGroupMe
func (c *msgClient) UpdateGroupAdmin(ctx context.Context, in *MsgUpdateGroupAdmin, opts ...grpc.CallOption) (*MsgUpdateGroupAdminResponse, error) {
out := new(MsgUpdateGroupAdminResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/UpdateGroupAdmin", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/UpdateGroupAdmin", in, out, opts...)
if err != nil {
return nil, err
}
@@ -89,7 +89,7 @@ func (c *msgClient) UpdateGroupAdmin(ctx context.Context, in *MsgUpdateGroupAdmi
func (c *msgClient) UpdateGroupMetadata(ctx context.Context, in *MsgUpdateGroupMetadata, opts ...grpc.CallOption) (*MsgUpdateGroupMetadataResponse, error) {
out := new(MsgUpdateGroupMetadataResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/UpdateGroupMetadata", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/UpdateGroupMetadata", in, out, opts...)
if err != nil {
return nil, err
}
@@ -98,7 +98,7 @@ func (c *msgClient) UpdateGroupMetadata(ctx context.Context, in *MsgUpdateGroupM
func (c *msgClient) CreateGroupPolicy(ctx context.Context, in *MsgCreateGroupPolicy, opts ...grpc.CallOption) (*MsgCreateGroupPolicyResponse, error) {
out := new(MsgCreateGroupPolicyResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/CreateGroupPolicy", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/CreateGroupPolicy", in, out, opts...)
if err != nil {
return nil, err
}
@@ -107,7 +107,7 @@ func (c *msgClient) CreateGroupPolicy(ctx context.Context, in *MsgCreateGroupPol
func (c *msgClient) CreateGroupWithPolicy(ctx context.Context, in *MsgCreateGroupWithPolicy, opts ...grpc.CallOption) (*MsgCreateGroupWithPolicyResponse, error) {
out := new(MsgCreateGroupWithPolicyResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/CreateGroupWithPolicy", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/CreateGroupWithPolicy", in, out, opts...)
if err != nil {
return nil, err
}
@@ -116,7 +116,7 @@ func (c *msgClient) CreateGroupWithPolicy(ctx context.Context, in *MsgCreateGrou
func (c *msgClient) UpdateGroupPolicyAdmin(ctx context.Context, in *MsgUpdateGroupPolicyAdmin, opts ...grpc.CallOption) (*MsgUpdateGroupPolicyAdminResponse, error) {
out := new(MsgUpdateGroupPolicyAdminResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/UpdateGroupPolicyAdmin", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin", in, out, opts...)
if err != nil {
return nil, err
}
@@ -125,7 +125,7 @@ func (c *msgClient) UpdateGroupPolicyAdmin(ctx context.Context, in *MsgUpdateGro
func (c *msgClient) UpdateGroupPolicyDecisionPolicy(ctx context.Context, in *MsgUpdateGroupPolicyDecisionPolicy, opts ...grpc.CallOption) (*MsgUpdateGroupPolicyDecisionPolicyResponse, error) {
out := new(MsgUpdateGroupPolicyDecisionPolicyResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/UpdateGroupPolicyDecisionPolicy", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy", in, out, opts...)
if err != nil {
return nil, err
}
@@ -134,7 +134,7 @@ func (c *msgClient) UpdateGroupPolicyDecisionPolicy(ctx context.Context, in *Msg
func (c *msgClient) UpdateGroupPolicyMetadata(ctx context.Context, in *MsgUpdateGroupPolicyMetadata, opts ...grpc.CallOption) (*MsgUpdateGroupPolicyMetadataResponse, error) {
out := new(MsgUpdateGroupPolicyMetadataResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/UpdateGroupPolicyMetadata", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata", in, out, opts...)
if err != nil {
return nil, err
}
@@ -143,7 +143,7 @@ func (c *msgClient) UpdateGroupPolicyMetadata(ctx context.Context, in *MsgUpdate
func (c *msgClient) SubmitProposal(ctx context.Context, in *MsgSubmitProposal, opts ...grpc.CallOption) (*MsgSubmitProposalResponse, error) {
out := new(MsgSubmitProposalResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/SubmitProposal", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/SubmitProposal", in, out, opts...)
if err != nil {
return nil, err
}
@@ -152,7 +152,7 @@ func (c *msgClient) SubmitProposal(ctx context.Context, in *MsgSubmitProposal, o
func (c *msgClient) WithdrawProposal(ctx context.Context, in *MsgWithdrawProposal, opts ...grpc.CallOption) (*MsgWithdrawProposalResponse, error) {
out := new(MsgWithdrawProposalResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/WithdrawProposal", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/WithdrawProposal", in, out, opts...)
if err != nil {
return nil, err
}
@@ -161,7 +161,7 @@ func (c *msgClient) WithdrawProposal(ctx context.Context, in *MsgWithdrawProposa
func (c *msgClient) Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) {
out := new(MsgVoteResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/Vote", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/Vote", in, out, opts...)
if err != nil {
return nil, err
}
@@ -170,7 +170,7 @@ func (c *msgClient) Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOpti
func (c *msgClient) Exec(ctx context.Context, in *MsgExec, opts ...grpc.CallOption) (*MsgExecResponse, error) {
out := new(MsgExecResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/Exec", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/Exec", in, out, opts...)
if err != nil {
return nil, err
}
@@ -179,7 +179,7 @@ func (c *msgClient) Exec(ctx context.Context, in *MsgExec, opts ...grpc.CallOpti
func (c *msgClient) LeaveGroup(ctx context.Context, in *MsgLeaveGroup, opts ...grpc.CallOption) (*MsgLeaveGroupResponse, error) {
out := new(MsgLeaveGroupResponse)
err := c.cc.Invoke(ctx, "/cosmos.group.v1beta1.Msg/LeaveGroup", in, out, opts...)
err := c.cc.Invoke(ctx, "/cosmos.group.v1.Msg/LeaveGroup", in, out, opts...)
if err != nil {
return nil, err
}
@@ -290,7 +290,7 @@ func _Msg_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(int
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/CreateGroup",
FullMethod: "/cosmos.group.v1.Msg/CreateGroup",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).CreateGroup(ctx, req.(*MsgCreateGroup))
@@ -308,7 +308,7 @@ func _Msg_UpdateGroupMembers_Handler(srv interface{}, ctx context.Context, dec f
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/UpdateGroupMembers",
FullMethod: "/cosmos.group.v1.Msg/UpdateGroupMembers",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).UpdateGroupMembers(ctx, req.(*MsgUpdateGroupMembers))
@@ -326,7 +326,7 @@ func _Msg_UpdateGroupAdmin_Handler(srv interface{}, ctx context.Context, dec fun
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/UpdateGroupAdmin",
FullMethod: "/cosmos.group.v1.Msg/UpdateGroupAdmin",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).UpdateGroupAdmin(ctx, req.(*MsgUpdateGroupAdmin))
@@ -344,7 +344,7 @@ func _Msg_UpdateGroupMetadata_Handler(srv interface{}, ctx context.Context, dec
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/UpdateGroupMetadata",
FullMethod: "/cosmos.group.v1.Msg/UpdateGroupMetadata",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).UpdateGroupMetadata(ctx, req.(*MsgUpdateGroupMetadata))
@@ -362,7 +362,7 @@ func _Msg_CreateGroupPolicy_Handler(srv interface{}, ctx context.Context, dec fu
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/CreateGroupPolicy",
FullMethod: "/cosmos.group.v1.Msg/CreateGroupPolicy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).CreateGroupPolicy(ctx, req.(*MsgCreateGroupPolicy))
@@ -380,7 +380,7 @@ func _Msg_CreateGroupWithPolicy_Handler(srv interface{}, ctx context.Context, de
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/CreateGroupWithPolicy",
FullMethod: "/cosmos.group.v1.Msg/CreateGroupWithPolicy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).CreateGroupWithPolicy(ctx, req.(*MsgCreateGroupWithPolicy))
@@ -398,7 +398,7 @@ func _Msg_UpdateGroupPolicyAdmin_Handler(srv interface{}, ctx context.Context, d
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/UpdateGroupPolicyAdmin",
FullMethod: "/cosmos.group.v1.Msg/UpdateGroupPolicyAdmin",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).UpdateGroupPolicyAdmin(ctx, req.(*MsgUpdateGroupPolicyAdmin))
@@ -416,7 +416,7 @@ func _Msg_UpdateGroupPolicyDecisionPolicy_Handler(srv interface{}, ctx context.C
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/UpdateGroupPolicyDecisionPolicy",
FullMethod: "/cosmos.group.v1.Msg/UpdateGroupPolicyDecisionPolicy",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).UpdateGroupPolicyDecisionPolicy(ctx, req.(*MsgUpdateGroupPolicyDecisionPolicy))
@@ -434,7 +434,7 @@ func _Msg_UpdateGroupPolicyMetadata_Handler(srv interface{}, ctx context.Context
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/UpdateGroupPolicyMetadata",
FullMethod: "/cosmos.group.v1.Msg/UpdateGroupPolicyMetadata",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).UpdateGroupPolicyMetadata(ctx, req.(*MsgUpdateGroupPolicyMetadata))
@@ -452,7 +452,7 @@ func _Msg_SubmitProposal_Handler(srv interface{}, ctx context.Context, dec func(
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/SubmitProposal",
FullMethod: "/cosmos.group.v1.Msg/SubmitProposal",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).SubmitProposal(ctx, req.(*MsgSubmitProposal))
@@ -470,7 +470,7 @@ func _Msg_WithdrawProposal_Handler(srv interface{}, ctx context.Context, dec fun
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/WithdrawProposal",
FullMethod: "/cosmos.group.v1.Msg/WithdrawProposal",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).WithdrawProposal(ctx, req.(*MsgWithdrawProposal))
@@ -488,7 +488,7 @@ func _Msg_Vote_Handler(srv interface{}, ctx context.Context, dec func(interface{
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/Vote",
FullMethod: "/cosmos.group.v1.Msg/Vote",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).Vote(ctx, req.(*MsgVote))
@@ -506,7 +506,7 @@ func _Msg_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/Exec",
FullMethod: "/cosmos.group.v1.Msg/Exec",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).Exec(ctx, req.(*MsgExec))
@@ -524,7 +524,7 @@ func _Msg_LeaveGroup_Handler(srv interface{}, ctx context.Context, dec func(inte
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/cosmos.group.v1beta1.Msg/LeaveGroup",
FullMethod: "/cosmos.group.v1.Msg/LeaveGroup",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).LeaveGroup(ctx, req.(*MsgLeaveGroup))
@@ -536,7 +536,7 @@ func _Msg_LeaveGroup_Handler(srv interface{}, ctx context.Context, dec func(inte
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var Msg_ServiceDesc = grpc.ServiceDesc{
ServiceName: "cosmos.group.v1beta1.Msg",
ServiceName: "cosmos.group.v1.Msg",
HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{
{
@@ -597,5 +597,5 @@ var Msg_ServiceDesc = grpc.ServiceDesc{
},
},
Streams: []grpc.StreamDesc{},
Metadata: "cosmos/group/v1beta1/tx.proto",
Metadata: "cosmos/group/v1/tx.proto",
}
File diff suppressed because it is too large Load Diff