fix: move new gov messages to v1beta2 (#10632)
<!-- The default pull request template is for types feat, fix, or refactor. For other templates, add one of the following parameters to the url: - template=docs.md - template=other.md --> ## Description move new gov messages to types/v1beta2 regenerate proto --- ### 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:
parent
2ad7590e68
commit
4a129832eb
|
@ -9,7 +9,6 @@ import (
|
||||||
_ "github.com/cosmos/cosmos-proto"
|
_ "github.com/cosmos/cosmos-proto"
|
||||||
types "github.com/cosmos/cosmos-sdk/codec/types"
|
types "github.com/cosmos/cosmos-sdk/codec/types"
|
||||||
query "github.com/cosmos/cosmos-sdk/types/query"
|
query "github.com/cosmos/cosmos-sdk/types/query"
|
||||||
_ "github.com/gogo/protobuf/gogoproto"
|
|
||||||
grpc1 "github.com/gogo/protobuf/grpc"
|
grpc1 "github.com/gogo/protobuf/grpc"
|
||||||
proto "github.com/gogo/protobuf/proto"
|
proto "github.com/gogo/protobuf/proto"
|
||||||
p2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
|
p2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
|
||||||
|
@ -876,76 +875,75 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
var fileDescriptor_40c93fb3ef485c5d = []byte{
|
var fileDescriptor_40c93fb3ef485c5d = []byte{
|
||||||
// 1096 bytes of a gzipped FileDescriptorProto
|
// 1086 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x4f, 0x6f, 0x1b, 0xc5,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0x4d, 0x6f, 0x1b, 0xc5,
|
||||||
0x1b, 0xce, 0xda, 0x6d, 0x1c, 0xbf, 0xfe, 0xe9, 0xa7, 0x74, 0x12, 0x9a, 0xcd, 0x2a, 0x35, 0xc1,
|
0x1f, 0xce, 0xda, 0x6d, 0x1c, 0xff, 0xfc, 0xd7, 0x5f, 0xe9, 0x24, 0x34, 0x1b, 0x2b, 0x35, 0xc1,
|
||||||
0x87, 0x36, 0x21, 0x64, 0x57, 0x76, 0x9b, 0xb4, 0x87, 0x52, 0xd4, 0x50, 0x48, 0x23, 0x4a, 0x15,
|
0x87, 0x36, 0x21, 0x64, 0x57, 0x76, 0x9b, 0xb4, 0x87, 0x52, 0xd4, 0x50, 0x70, 0x23, 0x4a, 0x15,
|
||||||
0x6d, 0x10, 0x07, 0x84, 0xb4, 0x5a, 0x7b, 0x27, 0x9b, 0x91, 0xed, 0x9d, 0xe9, 0xce, 0xd8, 0xc8,
|
0xad, 0x11, 0x07, 0x84, 0xb4, 0x5a, 0x7b, 0x27, 0x9b, 0x91, 0xed, 0x9d, 0xe9, 0xce, 0xd8, 0xc8,
|
||||||
0x42, 0x15, 0x88, 0x13, 0x47, 0x24, 0xbe, 0x02, 0x07, 0xe0, 0x8c, 0x38, 0xf6, 0xcc, 0xb1, 0x2a,
|
0x42, 0x15, 0x88, 0x13, 0x47, 0x24, 0xbe, 0x02, 0x07, 0xe0, 0x8c, 0x38, 0xf6, 0xcc, 0xb1, 0x2a,
|
||||||
0x12, 0xaa, 0x38, 0xa1, 0x84, 0x0f, 0x82, 0x76, 0x66, 0xd6, 0xde, 0x6d, 0x92, 0xda, 0xce, 0x01,
|
0x12, 0xaa, 0x38, 0xa1, 0x84, 0x0f, 0x82, 0x76, 0x66, 0xd6, 0xde, 0x6d, 0x92, 0xda, 0xce, 0x01,
|
||||||
0x89, 0xd3, 0xce, 0xbc, 0xff, 0xe6, 0x79, 0x9e, 0x99, 0x79, 0x77, 0xe0, 0xed, 0x16, 0xe5, 0x5d,
|
0x89, 0xd3, 0xce, 0xfc, 0x5e, 0x9f, 0xe7, 0x99, 0x97, 0x1d, 0x78, 0xbb, 0x4d, 0x79, 0x8f, 0x72,
|
||||||
0xca, 0x9d, 0xa6, 0xcf, 0xb1, 0x23, 0x70, 0x14, 0xe0, 0xb8, 0x4b, 0x22, 0xe1, 0xf4, 0xeb, 0x4d,
|
0xbb, 0xe5, 0x71, 0x6c, 0x0b, 0x1c, 0xfa, 0x38, 0xea, 0x91, 0x50, 0xd8, 0x83, 0x5a, 0x0b, 0x0b,
|
||||||
0x2c, 0xfc, 0xba, 0xf3, 0xa4, 0x87, 0xe3, 0x81, 0xcd, 0x62, 0x2a, 0x28, 0xaa, 0xaa, 0x58, 0x3b,
|
0xaf, 0x66, 0x3f, 0xe9, 0xe3, 0x68, 0x68, 0xb1, 0x88, 0x0a, 0x8a, 0x2a, 0x2a, 0xd6, 0x8a, 0x63,
|
||||||
0x89, 0xb5, 0x47, 0xb1, 0xb6, 0x8e, 0xb5, 0x16, 0x43, 0x1a, 0x52, 0x19, 0xea, 0x24, 0x23, 0x95,
|
0xad, 0x71, 0xac, 0xa5, 0x63, 0xcb, 0xab, 0x01, 0xa5, 0x41, 0x17, 0xdb, 0x32, 0xba, 0xd5, 0x3f,
|
||||||
0x65, 0x2d, 0x87, 0x94, 0x86, 0x1d, 0xec, 0xc8, 0x59, 0xb3, 0x77, 0xe8, 0xf8, 0x91, 0x2e, 0x68,
|
0xb4, 0xbd, 0x50, 0xa7, 0x96, 0xd7, 0xb4, 0xcb, 0x63, 0xc4, 0xf6, 0xc2, 0x90, 0x0a, 0x4f, 0x10,
|
||||||
0xad, 0x68, 0x97, 0xcf, 0x88, 0xe3, 0x47, 0x11, 0x15, 0xbe, 0x20, 0x34, 0xe2, 0xda, 0x6b, 0x65,
|
0x1a, 0x72, 0xed, 0x2d, 0xa7, 0x1a, 0xb3, 0x3a, 0xb3, 0xc5, 0x90, 0xe1, 0xc4, 0xb7, 0x96, 0xf2,
|
||||||
0xe0, 0xb0, 0x06, 0x73, 0xc4, 0x80, 0xe1, 0xd4, 0xb7, 0x92, 0xf1, 0x49, 0xbb, 0xd3, 0xec, 0xd0,
|
0x49, 0xbb, 0xdd, 0xea, 0xd2, 0x76, 0xe7, 0x5c, 0x6f, 0x3a, 0x37, 0x43, 0x4e, 0x32, 0x19, 0xf1,
|
||||||
0x56, 0xfb, 0x5c, 0x6f, 0x36, 0x37, 0x47, 0x59, 0xf2, 0x1b, 0xb2, 0x65, 0x7e, 0x48, 0x22, 0x09,
|
0x62, 0x5e, 0x40, 0x42, 0x09, 0x42, 0xc7, 0xae, 0xaa, 0x58, 0x57, 0xce, 0x6c, 0xcd, 0x54, 0x4e,
|
||||||
0x22, 0x05, 0xaf, 0x62, 0x3d, 0xc5, 0x4a, 0xf3, 0x97, 0x93, 0xda, 0xd7, 0x06, 0x54, 0x77, 0xb1,
|
0xaa, 0x5f, 0x1b, 0x50, 0x69, 0x60, 0xf1, 0xa9, 0xd7, 0x25, 0xbe, 0x27, 0x68, 0xd4, 0xc4, 0x62,
|
||||||
0xf8, 0xd4, 0xef, 0x90, 0xc0, 0x17, 0x34, 0x3e, 0xc0, 0x62, 0x67, 0xf0, 0x10, 0x93, 0xf0, 0x48,
|
0x6f, 0xf8, 0x10, 0x93, 0xe0, 0x48, 0x38, 0xf8, 0x49, 0x1f, 0x73, 0x81, 0xae, 0xc2, 0xfc, 0x91,
|
||||||
0xb8, 0xf8, 0x49, 0x0f, 0x73, 0x81, 0xae, 0xc2, 0xec, 0x91, 0x34, 0x98, 0xc6, 0xaa, 0xb1, 0x56,
|
0x34, 0x98, 0xc6, 0xba, 0xb1, 0x91, 0x77, 0xf4, 0x0c, 0x7d, 0x08, 0x30, 0xee, 0x64, 0xe6, 0xd6,
|
||||||
0x74, 0xf5, 0x0c, 0x7d, 0x08, 0x30, 0x5a, 0xc9, 0x2c, 0xac, 0x1a, 0x6b, 0x95, 0xc6, 0x75, 0x3b,
|
0x8d, 0x8d, 0x52, 0xfd, 0xba, 0x95, 0xd6, 0x51, 0x09, 0xac, 0x61, 0x59, 0x07, 0x5e, 0x80, 0x75,
|
||||||
0xab, 0xae, 0x92, 0x5d, 0xc3, 0xb2, 0xf7, 0xfd, 0x10, 0xeb, 0x9a, 0x6e, 0x26, 0xb3, 0xf6, 0xd2,
|
0x4d, 0x27, 0x95, 0x59, 0x7d, 0x69, 0xc0, 0x9b, 0xe7, 0x42, 0xe0, 0x8c, 0x86, 0x1c, 0xa3, 0xb7,
|
||||||
0x80, 0x37, 0xcf, 0x85, 0xc0, 0x19, 0x8d, 0x38, 0x46, 0x6f, 0xc1, 0xff, 0xa4, 0x34, 0x5e, 0x0e,
|
0xe0, 0x7f, 0x52, 0x1a, 0x37, 0x83, 0xa4, 0x24, 0x6d, 0x2a, 0x14, 0xed, 0x03, 0x0c, 0x92, 0x12,
|
||||||
0x49, 0x45, 0xda, 0x54, 0x28, 0xda, 0x03, 0xe8, 0xa7, 0x25, 0xb8, 0x59, 0x58, 0x2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x5b,
|
0x74, 0x8a, 0x5e, 0xc6, 0x5b, 0xb0, 0xa0, 0x96, 0x91, 0xf8, 0x7a, 0xbb, 0xac, 0xa6, 0x57, 0x45,
|
||||||
0x30, 0xa7, 0xb6, 0x91, 0x04, 0xfa, 0xb8, 0x2c, 0x67, 0x77, 0x45, 0x35, 0x08, 0x99, 0xba, 0xf7,
|
0x5d, 0x10, 0x32, 0x75, 0xff, 0x81, 0x53, 0x90, 0xa1, 0xfb, 0x3e, 0xda, 0x86, 0xcb, 0x72, 0xa8,
|
||||||
0xc0, 0x2d, 0xc9, 0xd0, 0xbd, 0x00, 0x6d, 0xc2, 0x65, 0x39, 0xd4, 0x0a, 0x2c, 0x9d, 0x93, 0xe2,
|
0x15, 0x58, 0x39, 0x27, 0xc5, 0x51, 0x51, 0xd5, 0x15, 0x78, 0x63, 0xb4, 0x99, 0x94, 0x43, 0x21,
|
||||||
0xaa, 0xa8, 0xda, 0x12, 0xbc, 0x31, 0x3c, 0x4c, 0xca, 0xa1, 0x10, 0xd7, 0x9e, 0xc2, 0xd5, 0x57,
|
0xae, 0x3e, 0x85, 0xab, 0xaf, 0x3a, 0xfe, 0x4d, 0x5c, 0x4b, 0x70, 0xa5, 0x81, 0x45, 0x73, 0x18,
|
||||||
0x1d, 0xff, 0x26, 0xae, 0x05, 0xb8, 0xb2, 0x8b, 0xc5, 0xc1, 0x20, 0x6a, 0x25, 0x3b, 0xac, 0x31,
|
0xb6, 0xe3, 0x15, 0xd6, 0x98, 0x2c, 0x40, 0x69, 0xa3, 0xc6, 0x63, 0x42, 0x81, 0x2b, 0x93, 0x84,
|
||||||
0xd9, 0x80, 0xb2, 0x46, 0x8d, 0xc7, 0x84, 0x12, 0x57, 0x26, 0x09, 0x67, 0xce, 0x4d, 0xa7, 0xb5,
|
0xb3, 0xe0, 0x24, 0xd3, 0xea, 0xb2, 0x8c, 0x7f, 0x4c, 0x7d, 0xbc, 0x1f, 0x1e, 0xd2, 0xa4, 0xca,
|
||||||
0x45, 0x19, 0xff, 0x98, 0x06, 0x78, 0x2f, 0x3a, 0xa4, 0x69, 0x95, 0x9f, 0x0d, 0x58, 0xc8, 0x99,
|
0xcf, 0x06, 0x2c, 0x65, 0xcc, 0xba, 0xce, 0x0e, 0x14, 0x43, 0xea, 0x63, 0x97, 0x84, 0x87, 0x54,
|
||||||
0x75, 0x9d, 0x2d, 0x28, 0x47, 0x34, 0xc0, 0x1e, 0x89, 0x0e, 0xa9, 0x26, 0x66, 0x66, 0x51, 0xb2,
|
0x13, 0x33, 0xd3, 0x28, 0x59, 0x9d, 0x59, 0xa3, 0xa4, 0x85, 0x50, 0x8f, 0xd0, 0xe7, 0xb0, 0xe4,
|
||||||
0x06, 0xb3, 0x87, 0x49, 0x73, 0x91, 0x1e, 0xa1, 0xcf, 0x61, 0xc1, 0x67, 0xac, 0x43, 0x5a, 0xf2,
|
0x31, 0xd6, 0x25, 0x6d, 0xb9, 0x8b, 0xdd, 0x01, 0x8e, 0xf8, 0xf8, 0x8e, 0xdc, 0x9a, 0x78, 0xa6,
|
||||||
0x14, 0x7b, 0x7d, 0x1c, 0xf3, 0x51, 0x8f, 0xdc, 0x18, 0x7b, 0xa7, 0x54, 0xb8, 0xac, 0x89, 0x32,
|
0x54, 0xb8, 0xac, 0x89, 0x52, 0x75, 0xb4, 0xbd, 0xfa, 0x63, 0x0e, 0x4a, 0xa9, 0x18, 0x84, 0xe0,
|
||||||
0x75, 0xb4, 0xbd, 0xf6, 0x63, 0x01, 0x2a, 0x99, 0x18, 0x84, 0xe0, 0x52, 0xe4, 0x77, 0xb1, 0xba,
|
0x52, 0xe8, 0xf5, 0xb0, 0x3a, 0x13, 0x8e, 0x1c, 0xa3, 0x55, 0x58, 0xf0, 0x18, 0x73, 0xa5, 0x3d,
|
||||||
0x13, 0xae, 0x1c, 0xa3, 0x65, 0x98, 0xf3, 0x19, 0xf3, 0xa4, 0xbd, 0x20, 0xed, 0x25, 0x9f, 0xb1,
|
0x27, 0xed, 0x05, 0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, 0xe7, 0x27, 0x95, 0xb9, 0x97, 0x27, 0x95, 0xb9, 0xcf, 0xea, 0x01, 0x11,
|
||||||
0xa9, 0xce, 0xbc, 0x3c, 0xa9, 0xce, 0x7c, 0xd6, 0x08, 0x89, 0x38, 0xea, 0x35, 0xed, 0x16, 0xed,
|
0x47, 0xfd, 0x96, 0xd5, 0xa6, 0xbd, 0xa4, 0xb6, 0xfa, 0x6c, 0x73, 0xbf, 0x63, 0xb7, 0xbb, 0x04,
|
||||||
0xa6, 0xb5, 0xd5, 0x67, 0x93, 0x07, 0x6d, 0xa7, 0xd5, 0x21, 0x38, 0x12, 0x4e, 0x18, 0xb3, 0x96,
|
0x87, 0xc2, 0x0e, 0x22, 0xd6, 0xb6, 0x45, 0x8f, 0xab, 0xcb, 0xac, 0x35, 0x2f, 0xdf, 0x41, 0x37,
|
||||||
0x23, 0xba, 0x5c, 0x35, 0xb3, 0xe6, 0xac, 0x7c, 0x07, 0xdd, 0xfc, 0x27, 0x00, 0x00, 0xff, 0xff,
|
0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x57, 0x4d, 0x47, 0x88, 0x2e, 0x0d, 0x00, 0x00,
|
||||||
0x1c, 0x72, 0x7c, 0x16, 0x44, 0x0d, 0x00, 0x00,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|
|
@ -31,7 +31,8 @@ type BIP44Params struct {
|
||||||
CoinType uint32 `protobuf:"varint,2,opt,name=coin_type,json=coinType,proto3" json:"coin_type,omitempty"`
|
CoinType uint32 `protobuf:"varint,2,opt,name=coin_type,json=coinType,proto3" json:"coin_type,omitempty"`
|
||||||
// account splits the key space into independent user identities
|
// account splits the key space into independent user identities
|
||||||
Account uint32 `protobuf:"varint,3,opt,name=account,proto3" json:"account,omitempty"`
|
Account uint32 `protobuf:"varint,3,opt,name=account,proto3" json:"account,omitempty"`
|
||||||
// change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal chain.
|
// change is a constant used for public derivation. Constant 0 is used for external chain and constant 1 for internal
|
||||||
|
// chain.
|
||||||
Change bool `protobuf:"varint,4,opt,name=change,proto3" json:"change,omitempty"`
|
Change bool `protobuf:"varint,4,opt,name=change,proto3" json:"change,omitempty"`
|
||||||
// address_index is used as child index in BIP32 derivation
|
// address_index is used as child index in BIP32 derivation
|
||||||
AddressIndex uint32 `protobuf:"varint,5,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"`
|
AddressIndex uint32 `protobuf:"varint,5,opt,name=address_index,json=addressIndex,proto3" json:"address_index,omitempty"`
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
2
go.mod
2
go.mod
|
@ -23,7 +23,6 @@ require (
|
||||||
github.com/gorilla/mux v1.8.0
|
github.com/gorilla/mux v1.8.0
|
||||||
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
|
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
|
||||||
github.com/grpc-ecosystem/grpc-gateway v1.16.0
|
github.com/grpc-ecosystem/grpc-gateway v1.16.0
|
||||||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
|
||||||
github.com/hashicorp/go-getter v1.5.9
|
github.com/hashicorp/go-getter v1.5.9
|
||||||
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d
|
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d
|
||||||
github.com/hdevalence/ed25519consensus v0.0.0-20210204194344-59a8610d2b87
|
github.com/hdevalence/ed25519consensus v0.0.0-20210204194344-59a8610d2b87
|
||||||
|
@ -89,6 +88,7 @@ require (
|
||||||
github.com/gorilla/websocket v1.4.2 // indirect
|
github.com/gorilla/websocket v1.4.2 // indirect
|
||||||
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
|
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
|
||||||
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
|
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
|
||||||
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
||||||
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
|
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
|
||||||
github.com/hashicorp/go-safetemp v1.0.0 // indirect
|
github.com/hashicorp/go-safetemp v1.0.0 // indirect
|
||||||
github.com/hashicorp/go-version v1.2.1 // indirect
|
github.com/hashicorp/go-version v1.2.1 // indirect
|
||||||
|
|
|
@ -8,7 +8,8 @@ import "google/protobuf/any.proto";
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
|
|
||||||
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types";
|
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types";
|
||||||
|
|
||||||
option (gogoproto.goproto_stringer_all) = false;
|
option (gogoproto.goproto_stringer_all) = false;
|
||||||
option (gogoproto.stringer_all) = false;
|
option (gogoproto.stringer_all) = false;
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
option (gogoproto.goproto_getters_all) = false;
|
||||||
|
|
|
@ -2,25 +2,24 @@ syntax = "proto3";
|
||||||
|
|
||||||
package cosmos.gov.v1beta2;
|
package cosmos.gov.v1beta2;
|
||||||
|
|
||||||
import "gogoproto/gogo.proto";
|
|
||||||
import "cosmos/gov/v1beta2/gov.proto";
|
import "cosmos/gov/v1beta2/gov.proto";
|
||||||
|
|
||||||
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types";
|
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta2";
|
||||||
|
|
||||||
// GenesisState defines the gov module's genesis state.
|
// GenesisState defines the gov module's genesis state.
|
||||||
message GenesisState {
|
message GenesisState {
|
||||||
// starting_proposal_id is the ID of the starting proposal.
|
// starting_proposal_id is the ID of the starting proposal.
|
||||||
uint64 starting_proposal_id = 1 [(gogoproto.moretags) = "yaml:\"starting_proposal_id\""];
|
uint64 starting_proposal_id = 1;
|
||||||
// deposits defines all the deposits present at genesis.
|
// deposits defines all the deposits present at genesis.
|
||||||
repeated Deposit deposits = 2 [(gogoproto.castrepeated) = "Deposits", (gogoproto.nullable) = false];
|
repeated Deposit deposits = 2;
|
||||||
// votes defines all the votes present at genesis.
|
// votes defines all the votes present at genesis.
|
||||||
repeated Vote votes = 3 [(gogoproto.castrepeated) = "Votes", (gogoproto.nullable) = false];
|
repeated Vote votes = 3;
|
||||||
// proposals defines all the proposals present at genesis.
|
// proposals defines all the proposals present at genesis.
|
||||||
repeated Proposal proposals = 4 [(gogoproto.castrepeated) = "Proposals", (gogoproto.nullable) = false];
|
repeated Proposal proposals = 4;
|
||||||
// params defines all the paramaters of related to deposit.
|
// params defines all the paramaters of related to deposit.
|
||||||
DepositParams deposit_params = 5 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"deposit_params\""];
|
DepositParams deposit_params = 5;
|
||||||
// params defines all the paramaters of related to voting.
|
// params defines all the paramaters of related to voting.
|
||||||
VotingParams voting_params = 6 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"voting_params\""];
|
VotingParams voting_params = 6;
|
||||||
// params defines all the paramaters of related to tally.
|
// params defines all the paramaters of related to tally.
|
||||||
TallyParams tally_params = 7 [(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"tally_params\""];
|
TallyParams tally_params = 7;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,184 +8,116 @@ import "google/protobuf/any.proto";
|
||||||
import "google/protobuf/duration.proto";
|
import "google/protobuf/duration.proto";
|
||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
|
|
||||||
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types";
|
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta2";
|
||||||
option (gogoproto.goproto_stringer_all) = false;
|
|
||||||
option (gogoproto.stringer_all) = false;
|
|
||||||
option (gogoproto.goproto_getters_all) = false;
|
|
||||||
|
|
||||||
// VoteOption enumerates the valid vote options for a given governance proposal.
|
// VoteOption enumerates the valid vote options for a given governance proposal.
|
||||||
enum VoteOption {
|
enum VoteOption {
|
||||||
option (gogoproto.goproto_enum_prefix) = false;
|
|
||||||
|
|
||||||
// VOTE_OPTION_UNSPECIFIED defines a no-op vote option.
|
// VOTE_OPTION_UNSPECIFIED defines a no-op vote option.
|
||||||
VOTE_OPTION_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "OptionEmpty"];
|
VOTE_OPTION_UNSPECIFIED = 0;
|
||||||
// VOTE_OPTION_YES defines a yes vote option.
|
// VOTE_OPTION_YES defines a yes vote option.
|
||||||
VOTE_OPTION_YES = 1 [(gogoproto.enumvalue_customname) = "OptionYes"];
|
VOTE_OPTION_YES = 1;
|
||||||
// VOTE_OPTION_ABSTAIN defines an abstain vote option.
|
// VOTE_OPTION_ABSTAIN defines an abstain vote option.
|
||||||
VOTE_OPTION_ABSTAIN = 2 [(gogoproto.enumvalue_customname) = "OptionAbstain"];
|
VOTE_OPTION_ABSTAIN = 2;
|
||||||
// VOTE_OPTION_NO defines a no vote option.
|
// VOTE_OPTION_NO defines a no vote option.
|
||||||
VOTE_OPTION_NO = 3 [(gogoproto.enumvalue_customname) = "OptionNo"];
|
VOTE_OPTION_NO = 3;
|
||||||
// VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
|
// VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option.
|
||||||
VOTE_OPTION_NO_WITH_VETO = 4 [(gogoproto.enumvalue_customname) = "OptionNoWithVeto"];
|
VOTE_OPTION_NO_WITH_VETO = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
// WeightedVoteOption defines a unit of vote for vote split.
|
// WeightedVoteOption defines a unit of vote for vote split.
|
||||||
message WeightedVoteOption {
|
message WeightedVoteOption {
|
||||||
VoteOption option = 1;
|
VoteOption option = 1;
|
||||||
string weight = 2 [
|
string weight = 2 [(cosmos_proto.scalar) = "cosmos.Dec"];
|
||||||
(cosmos_proto.scalar) = "cosmos.Dec",
|
|
||||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
||||||
(gogoproto.nullable) = false
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deposit defines an amount deposited by an account address to an active
|
// Deposit defines an amount deposited by an account address to an active
|
||||||
// proposal.
|
// proposal.
|
||||||
message Deposit {
|
message Deposit {
|
||||||
option (gogoproto.goproto_getters) = false;
|
|
||||||
option (gogoproto.equal) = false;
|
|
||||||
|
|
||||||
uint64 proposal_id = 1;
|
uint64 proposal_id = 1;
|
||||||
string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||||
repeated cosmos.base.v1beta1.Coin amount = 3
|
repeated cosmos.base.v1beta1.Coin amount = 3;
|
||||||
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Proposal defines the core field members of a governance proposal.
|
// Proposal defines the core field members of a governance proposal.
|
||||||
message Proposal {
|
message Proposal {
|
||||||
option (gogoproto.equal) = true;
|
uint64 proposal_id = 1;
|
||||||
|
repeated google.protobuf.Any messages = 2;
|
||||||
uint64 proposal_id = 1 [(gogoproto.jsontag) = "id", (gogoproto.moretags) = "yaml:\"id\""];
|
ProposalStatus status = 3;
|
||||||
repeated google.protobuf.Any messages = 2;
|
TallyResult final_tally_result = 4;
|
||||||
ProposalStatus status = 3 [(gogoproto.moretags) = "yaml:\"proposal_status\""];
|
google.protobuf.Timestamp submit_time = 5 [(gogoproto.stdtime) = true];
|
||||||
TallyResult final_tally_result = 4
|
google.protobuf.Timestamp deposit_end_time = 6 [(gogoproto.stdtime) = true];
|
||||||
[(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"final_tally_result\""];
|
repeated cosmos.base.v1beta1.Coin total_deposit = 7;
|
||||||
google.protobuf.Timestamp submit_time = 5
|
google.protobuf.Timestamp voting_start_time = 8 [(gogoproto.stdtime) = true];
|
||||||
[(gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"submit_time\""];
|
google.protobuf.Timestamp voting_end_time = 9 [(gogoproto.stdtime) = true];
|
||||||
google.protobuf.Timestamp deposit_end_time = 6
|
|
||||||
[(gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"deposit_end_time\""];
|
|
||||||
repeated cosmos.base.v1beta1.Coin total_deposit = 7 [
|
|
||||||
(gogoproto.nullable) = false,
|
|
||||||
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
|
|
||||||
(gogoproto.moretags) = "yaml:\"total_deposit\""
|
|
||||||
];
|
|
||||||
google.protobuf.Timestamp voting_start_time = 8
|
|
||||||
[(gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"voting_start_time\""];
|
|
||||||
google.protobuf.Timestamp voting_end_time = 9
|
|
||||||
[(gogoproto.stdtime) = true, (gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"voting_end_time\""];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ProposalStatus enumerates the valid statuses of a proposal.
|
// ProposalStatus enumerates the valid statuses of a proposal.
|
||||||
enum ProposalStatus {
|
enum ProposalStatus {
|
||||||
option (gogoproto.goproto_enum_prefix) = false;
|
|
||||||
|
|
||||||
// PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.
|
// PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.
|
||||||
PROPOSAL_STATUS_UNSPECIFIED = 0 [(gogoproto.enumvalue_customname) = "StatusNil"];
|
PROPOSAL_STATUS_UNSPECIFIED = 0;
|
||||||
// PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
|
// PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit
|
||||||
// period.
|
// period.
|
||||||
PROPOSAL_STATUS_DEPOSIT_PERIOD = 1 [(gogoproto.enumvalue_customname) = "StatusDepositPeriod"];
|
PROPOSAL_STATUS_DEPOSIT_PERIOD = 1;
|
||||||
// PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
|
// PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting
|
||||||
// period.
|
// period.
|
||||||
PROPOSAL_STATUS_VOTING_PERIOD = 2 [(gogoproto.enumvalue_customname) = "StatusVotingPeriod"];
|
PROPOSAL_STATUS_VOTING_PERIOD = 2;
|
||||||
// PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
|
// PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has
|
||||||
// passed.
|
// passed.
|
||||||
PROPOSAL_STATUS_PASSED = 3 [(gogoproto.enumvalue_customname) = "StatusPassed"];
|
PROPOSAL_STATUS_PASSED = 3;
|
||||||
// PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
|
// PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has
|
||||||
// been rejected.
|
// been rejected.
|
||||||
PROPOSAL_STATUS_REJECTED = 4 [(gogoproto.enumvalue_customname) = "StatusRejected"];
|
PROPOSAL_STATUS_REJECTED = 4;
|
||||||
// PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
|
// PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has
|
||||||
// failed.
|
// failed.
|
||||||
PROPOSAL_STATUS_FAILED = 5 [(gogoproto.enumvalue_customname) = "StatusFailed"];
|
PROPOSAL_STATUS_FAILED = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TallyResult defines a standard tally for a governance proposal.
|
// TallyResult defines a standard tally for a governance proposal.
|
||||||
message TallyResult {
|
message TallyResult {
|
||||||
option (gogoproto.equal) = true;
|
string yes = 1 [(cosmos_proto.scalar) = "cosmos.Int"];
|
||||||
|
string abstain = 2 [(cosmos_proto.scalar) = "cosmos.Int"];
|
||||||
string yes = 1 [
|
string no = 3 [(cosmos_proto.scalar) = "cosmos.Int"];
|
||||||
(cosmos_proto.scalar) = "cosmos.Int",
|
string no_with_veto = 4 [(cosmos_proto.scalar) = "cosmos.Int"];
|
||||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
|
|
||||||
(gogoproto.nullable) = false
|
|
||||||
];
|
|
||||||
string abstain = 2 [
|
|
||||||
(cosmos_proto.scalar) = "cosmos.Int",
|
|
||||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
|
|
||||||
(gogoproto.nullable) = false
|
|
||||||
];
|
|
||||||
string no = 3 [
|
|
||||||
(cosmos_proto.scalar) = "cosmos.Int",
|
|
||||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
|
|
||||||
(gogoproto.nullable) = false
|
|
||||||
];
|
|
||||||
string no_with_veto = 4 [
|
|
||||||
(cosmos_proto.scalar) = "cosmos.Int",
|
|
||||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Int",
|
|
||||||
(gogoproto.nullable) = false
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Vote defines a vote on a governance proposal.
|
// Vote defines a vote on a governance proposal.
|
||||||
// A Vote consists of a proposal ID, the voter, and the vote option.
|
// A Vote consists of a proposal ID, the voter, and the vote option.
|
||||||
message Vote {
|
message Vote {
|
||||||
option (gogoproto.goproto_stringer) = false;
|
|
||||||
option (gogoproto.equal) = false;
|
|
||||||
|
|
||||||
uint64 proposal_id = 1;
|
uint64 proposal_id = 1;
|
||||||
string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||||
// Deprecated: Prefer to use `options` instead. This field is set in queries
|
// Deprecated: Prefer to use `options` instead. This field is set in queries
|
||||||
// if and only if `len(options) == 1` and that option has weight 1. In all
|
// if and only if `len(options) == 1` and that option has weight 1. In all
|
||||||
// other cases, this field will default to VOTE_OPTION_UNSPECIFIED.
|
// other cases, this field will default to VOTE_OPTION_UNSPECIFIED.
|
||||||
VoteOption option = 3 [deprecated = true];
|
VoteOption option = 3 [deprecated = true];
|
||||||
repeated WeightedVoteOption options = 4 [(gogoproto.nullable) = false];
|
repeated WeightedVoteOption options = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
// DepositParams defines the params for deposits on governance proposals.
|
// DepositParams defines the params for deposits on governance proposals.
|
||||||
message DepositParams {
|
message DepositParams {
|
||||||
// Minimum deposit for a proposal to enter voting period.
|
// Minimum deposit for a proposal to enter voting period.
|
||||||
repeated cosmos.base.v1beta1.Coin min_deposit = 1 [
|
repeated cosmos.base.v1beta1.Coin min_deposit = 1;
|
||||||
(gogoproto.nullable) = false,
|
|
||||||
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
|
|
||||||
(gogoproto.jsontag) = "min_deposit,omitempty"
|
|
||||||
];
|
|
||||||
|
|
||||||
// Maximum period for Atom holders to deposit on a proposal. Initial value: 2
|
// Maximum period for Atom holders to deposit on a proposal. Initial value: 2
|
||||||
// months.
|
// months.
|
||||||
google.protobuf.Duration max_deposit_period = 2 [
|
google.protobuf.Duration max_deposit_period = 2 [(gogoproto.stdduration) = true];
|
||||||
(gogoproto.nullable) = false,
|
|
||||||
(gogoproto.stdduration) = true,
|
|
||||||
(gogoproto.jsontag) = "max_deposit_period,omitempty"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// VotingParams defines the params for voting on governance proposals.
|
// VotingParams defines the params for voting on governance proposals.
|
||||||
message VotingParams {
|
message VotingParams {
|
||||||
// Length of the voting period.
|
// Length of the voting period.
|
||||||
google.protobuf.Duration voting_period = 1
|
google.protobuf.Duration voting_period = 1 [(gogoproto.stdduration) = true];
|
||||||
[(gogoproto.nullable) = false, (gogoproto.stdduration) = true, (gogoproto.jsontag) = "voting_period,omitempty"];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TallyParams defines the params for tallying votes on governance proposals.
|
// TallyParams defines the params for tallying votes on governance proposals.
|
||||||
message TallyParams {
|
message TallyParams {
|
||||||
// Minimum percentage of total stake needed to vote for a result to be
|
// Minimum percentage of total stake needed to vote for a result to be
|
||||||
// considered valid.
|
// considered valid.
|
||||||
bytes quorum = 1 [
|
bytes quorum = 1;
|
||||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
||||||
(gogoproto.nullable) = false,
|
|
||||||
(gogoproto.jsontag) = "quorum,omitempty"
|
|
||||||
];
|
|
||||||
|
|
||||||
// Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.
|
// Minimum proportion of Yes votes for proposal to pass. Default value: 0.5.
|
||||||
bytes threshold = 2 [
|
bytes threshold = 2;
|
||||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
||||||
(gogoproto.nullable) = false,
|
|
||||||
(gogoproto.jsontag) = "threshold,omitempty"
|
|
||||||
];
|
|
||||||
|
|
||||||
// Minimum value of Veto votes to Total votes ratio for proposal to be
|
// Minimum value of Veto votes to Total votes ratio for proposal to be
|
||||||
// vetoed. Default value: 1/3.
|
// vetoed. Default value: 1/3.
|
||||||
bytes veto_threshold = 3 [
|
bytes veto_threshold = 3;
|
||||||
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
|
|
||||||
(gogoproto.nullable) = false,
|
|
||||||
(gogoproto.jsontag) = "veto_threshold,omitempty"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,12 +2,11 @@ syntax = "proto3";
|
||||||
package cosmos.gov.v1beta2;
|
package cosmos.gov.v1beta2;
|
||||||
|
|
||||||
import "cosmos/base/query/v1beta1/pagination.proto";
|
import "cosmos/base/query/v1beta1/pagination.proto";
|
||||||
import "gogoproto/gogo.proto";
|
|
||||||
import "google/api/annotations.proto";
|
import "google/api/annotations.proto";
|
||||||
import "cosmos/gov/v1beta2/gov.proto";
|
import "cosmos/gov/v1beta2/gov.proto";
|
||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
|
|
||||||
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types";
|
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta2";
|
||||||
|
|
||||||
// Query defines the gRPC querier service for gov module
|
// Query defines the gRPC querier service for gov module
|
||||||
service Query {
|
service Query {
|
||||||
|
@ -60,14 +59,11 @@ message QueryProposalRequest {
|
||||||
|
|
||||||
// QueryProposalResponse is the response type for the Query/Proposal RPC method.
|
// QueryProposalResponse is the response type for the Query/Proposal RPC method.
|
||||||
message QueryProposalResponse {
|
message QueryProposalResponse {
|
||||||
Proposal proposal = 1 [(gogoproto.nullable) = false];
|
Proposal proposal = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// QueryProposalsRequest is the request type for the Query/Proposals RPC method.
|
// QueryProposalsRequest is the request type for the Query/Proposals RPC method.
|
||||||
message QueryProposalsRequest {
|
message QueryProposalsRequest {
|
||||||
option (gogoproto.equal) = false;
|
|
||||||
option (gogoproto.goproto_getters) = false;
|
|
||||||
|
|
||||||
// proposal_status defines the status of the proposals.
|
// proposal_status defines the status of the proposals.
|
||||||
ProposalStatus proposal_status = 1;
|
ProposalStatus proposal_status = 1;
|
||||||
|
|
||||||
|
@ -84,7 +80,7 @@ message QueryProposalsRequest {
|
||||||
// QueryProposalsResponse is the response type for the Query/Proposals RPC
|
// QueryProposalsResponse is the response type for the Query/Proposals RPC
|
||||||
// method.
|
// method.
|
||||||
message QueryProposalsResponse {
|
message QueryProposalsResponse {
|
||||||
repeated Proposal proposals = 1 [(gogoproto.nullable) = false];
|
repeated Proposal proposals = 1;
|
||||||
|
|
||||||
// pagination defines the pagination in the response.
|
// pagination defines the pagination in the response.
|
||||||
cosmos.base.query.v1beta1.PageResponse pagination = 2;
|
cosmos.base.query.v1beta1.PageResponse pagination = 2;
|
||||||
|
@ -92,9 +88,6 @@ message QueryProposalsResponse {
|
||||||
|
|
||||||
// QueryVoteRequest is the request type for the Query/Vote RPC method.
|
// QueryVoteRequest is the request type for the Query/Vote RPC method.
|
||||||
message QueryVoteRequest {
|
message QueryVoteRequest {
|
||||||
option (gogoproto.equal) = false;
|
|
||||||
option (gogoproto.goproto_getters) = false;
|
|
||||||
|
|
||||||
// proposal_id defines the unique id of the proposal.
|
// proposal_id defines the unique id of the proposal.
|
||||||
uint64 proposal_id = 1;
|
uint64 proposal_id = 1;
|
||||||
|
|
||||||
|
@ -105,7 +98,7 @@ message QueryVoteRequest {
|
||||||
// QueryVoteResponse is the response type for the Query/Vote RPC method.
|
// QueryVoteResponse is the response type for the Query/Vote RPC method.
|
||||||
message QueryVoteResponse {
|
message QueryVoteResponse {
|
||||||
// vote defined the queried vote.
|
// vote defined the queried vote.
|
||||||
Vote vote = 1 [(gogoproto.nullable) = false];
|
Vote vote = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// QueryVotesRequest is the request type for the Query/Votes RPC method.
|
// QueryVotesRequest is the request type for the Query/Votes RPC method.
|
||||||
|
@ -120,7 +113,7 @@ message QueryVotesRequest {
|
||||||
// QueryVotesResponse is the response type for the Query/Votes RPC method.
|
// QueryVotesResponse is the response type for the Query/Votes RPC method.
|
||||||
message QueryVotesResponse {
|
message QueryVotesResponse {
|
||||||
// votes defined the queried votes.
|
// votes defined the queried votes.
|
||||||
repeated Vote votes = 1 [(gogoproto.nullable) = false];
|
repeated Vote votes = 1;
|
||||||
|
|
||||||
// pagination defines the pagination in the response.
|
// pagination defines the pagination in the response.
|
||||||
cosmos.base.query.v1beta1.PageResponse pagination = 2;
|
cosmos.base.query.v1beta1.PageResponse pagination = 2;
|
||||||
|
@ -136,18 +129,15 @@ message QueryParamsRequest {
|
||||||
// QueryParamsResponse is the response type for the Query/Params RPC method.
|
// QueryParamsResponse is the response type for the Query/Params RPC method.
|
||||||
message QueryParamsResponse {
|
message QueryParamsResponse {
|
||||||
// voting_params defines the parameters related to voting.
|
// voting_params defines the parameters related to voting.
|
||||||
VotingParams voting_params = 1 [(gogoproto.nullable) = false];
|
VotingParams voting_params = 1;
|
||||||
// deposit_params defines the parameters related to deposit.
|
// deposit_params defines the parameters related to deposit.
|
||||||
DepositParams deposit_params = 2 [(gogoproto.nullable) = false];
|
DepositParams deposit_params = 2;
|
||||||
// tally_params defines the parameters related to tally.
|
// tally_params defines the parameters related to tally.
|
||||||
TallyParams tally_params = 3 [(gogoproto.nullable) = false];
|
TallyParams tally_params = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// QueryDepositRequest is the request type for the Query/Deposit RPC method.
|
// QueryDepositRequest is the request type for the Query/Deposit RPC method.
|
||||||
message QueryDepositRequest {
|
message QueryDepositRequest {
|
||||||
option (gogoproto.goproto_getters) = false;
|
|
||||||
option (gogoproto.equal) = false;
|
|
||||||
|
|
||||||
// proposal_id defines the unique id of the proposal.
|
// proposal_id defines the unique id of the proposal.
|
||||||
uint64 proposal_id = 1;
|
uint64 proposal_id = 1;
|
||||||
|
|
||||||
|
@ -158,7 +148,7 @@ message QueryDepositRequest {
|
||||||
// QueryDepositResponse is the response type for the Query/Deposit RPC method.
|
// QueryDepositResponse is the response type for the Query/Deposit RPC method.
|
||||||
message QueryDepositResponse {
|
message QueryDepositResponse {
|
||||||
// deposit defines the requested deposit.
|
// deposit defines the requested deposit.
|
||||||
Deposit deposit = 1 [(gogoproto.nullable) = false];
|
Deposit deposit = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// QueryDepositsRequest is the request type for the Query/Deposits RPC method.
|
// QueryDepositsRequest is the request type for the Query/Deposits RPC method.
|
||||||
|
@ -172,7 +162,7 @@ message QueryDepositsRequest {
|
||||||
|
|
||||||
// QueryDepositsResponse is the response type for the Query/Deposits RPC method.
|
// QueryDepositsResponse is the response type for the Query/Deposits RPC method.
|
||||||
message QueryDepositsResponse {
|
message QueryDepositsResponse {
|
||||||
repeated Deposit deposits = 1 [(gogoproto.nullable) = false];
|
repeated Deposit deposits = 1;
|
||||||
|
|
||||||
// pagination defines the pagination in the response.
|
// pagination defines the pagination in the response.
|
||||||
cosmos.base.query.v1beta1.PageResponse pagination = 2;
|
cosmos.base.query.v1beta1.PageResponse pagination = 2;
|
||||||
|
@ -187,5 +177,5 @@ message QueryTallyResultRequest {
|
||||||
// QueryTallyResultResponse is the response type for the Query/Tally RPC method.
|
// QueryTallyResultResponse is the response type for the Query/Tally RPC method.
|
||||||
message QueryTallyResultResponse {
|
message QueryTallyResultResponse {
|
||||||
// tally defines the requested tally.
|
// tally defines the requested tally.
|
||||||
TallyResult tally = 1 [(gogoproto.nullable) = false];
|
TallyResult tally = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,10 +4,9 @@ package cosmos.gov.v1beta2;
|
||||||
import "cosmos/base/v1beta1/coin.proto";
|
import "cosmos/base/v1beta1/coin.proto";
|
||||||
import "cosmos/gov/v1beta2/gov.proto";
|
import "cosmos/gov/v1beta2/gov.proto";
|
||||||
import "cosmos_proto/cosmos.proto";
|
import "cosmos_proto/cosmos.proto";
|
||||||
import "gogoproto/gogo.proto";
|
|
||||||
import "google/protobuf/any.proto";
|
import "google/protobuf/any.proto";
|
||||||
|
|
||||||
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types";
|
option go_package = "github.com/cosmos/cosmos-sdk/x/gov/types/v1beta2";
|
||||||
|
|
||||||
// Msg defines the gov Msg service.
|
// Msg defines the gov Msg service.
|
||||||
service Msg {
|
service Msg {
|
||||||
|
@ -29,30 +28,19 @@ service Msg {
|
||||||
// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary
|
// MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary
|
||||||
// proposal Content.
|
// proposal Content.
|
||||||
message MsgSubmitProposal {
|
message MsgSubmitProposal {
|
||||||
option (gogoproto.equal) = false;
|
|
||||||
option (gogoproto.goproto_stringer) = false;
|
|
||||||
option (gogoproto.stringer) = false;
|
|
||||||
option (gogoproto.goproto_getters) = false;
|
|
||||||
|
|
||||||
repeated google.protobuf.Any messages = 1;
|
repeated google.protobuf.Any messages = 1;
|
||||||
repeated cosmos.base.v1beta1.Coin initial_deposit = 2
|
repeated cosmos.base.v1beta1.Coin initial_deposit = 2;
|
||||||
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
|
string proposer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||||
string proposer = 3 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type.
|
// MsgSubmitProposalResponse defines the Msg/SubmitProposal response type.
|
||||||
message MsgSubmitProposalResponse {
|
message MsgSubmitProposalResponse {
|
||||||
uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"];
|
uint64 proposal_id = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// MsgVote defines a message to cast a vote.
|
// MsgVote defines a message to cast a vote.
|
||||||
message MsgVote {
|
message MsgVote {
|
||||||
option (gogoproto.equal) = false;
|
uint64 proposal_id = 1;
|
||||||
option (gogoproto.goproto_stringer) = false;
|
|
||||||
option (gogoproto.stringer) = false;
|
|
||||||
option (gogoproto.goproto_getters) = false;
|
|
||||||
|
|
||||||
uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id", (gogoproto.moretags) = "yaml:\"proposal_id\""];
|
|
||||||
string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||||
VoteOption option = 3;
|
VoteOption option = 3;
|
||||||
}
|
}
|
||||||
|
@ -64,14 +52,9 @@ message MsgVoteResponse {}
|
||||||
//
|
//
|
||||||
// Since: cosmos-sdk 0.43
|
// Since: cosmos-sdk 0.43
|
||||||
message MsgVoteWeighted {
|
message MsgVoteWeighted {
|
||||||
option (gogoproto.equal) = false;
|
uint64 proposal_id = 1;
|
||||||
option (gogoproto.goproto_stringer) = false;
|
|
||||||
option (gogoproto.stringer) = false;
|
|
||||||
option (gogoproto.goproto_getters) = false;
|
|
||||||
|
|
||||||
uint64 proposal_id = 1 [(gogoproto.moretags) = "yaml:\"proposal_id\""];
|
|
||||||
string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
string voter = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||||
repeated WeightedVoteOption options = 3 [(gogoproto.nullable) = false];
|
repeated WeightedVoteOption options = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type.
|
// MsgVoteWeightedResponse defines the Msg/VoteWeighted response type.
|
||||||
|
@ -81,17 +64,10 @@ message MsgVoteWeightedResponse {}
|
||||||
|
|
||||||
// MsgDeposit defines a message to submit a deposit to an existing proposal.
|
// MsgDeposit defines a message to submit a deposit to an existing proposal.
|
||||||
message MsgDeposit {
|
message MsgDeposit {
|
||||||
option (gogoproto.equal) = false;
|
uint64 proposal_id = 1;
|
||||||
option (gogoproto.goproto_stringer) = false;
|
|
||||||
option (gogoproto.stringer) = false;
|
|
||||||
option (gogoproto.goproto_getters) = false;
|
|
||||||
|
|
||||||
uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"];
|
|
||||||
string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||||||
repeated cosmos.base.v1beta1.Coin amount = 3
|
repeated cosmos.base.v1beta1.Coin amount = 3;
|
||||||
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// MsgDepositResponse defines the Msg/Deposit response type.
|
// MsgDepositResponse defines the Msg/Deposit response type.
|
||||||
message MsgDepositResponse {}
|
message MsgDepositResponse {}
|
||||||
|
|
||||||
|
|
|
@ -8,14 +8,12 @@ import (
|
||||||
fmt "fmt"
|
fmt "fmt"
|
||||||
_ "github.com/cosmos/cosmos-proto"
|
_ "github.com/cosmos/cosmos-proto"
|
||||||
types "github.com/cosmos/cosmos-sdk/codec/types"
|
types "github.com/cosmos/cosmos-sdk/codec/types"
|
||||||
_ "github.com/cosmos/cosmos-sdk/types"
|
|
||||||
_ "github.com/gogo/protobuf/gogoproto"
|
_ "github.com/gogo/protobuf/gogoproto"
|
||||||
grpc1 "github.com/gogo/protobuf/grpc"
|
grpc1 "github.com/gogo/protobuf/grpc"
|
||||||
proto "github.com/gogo/protobuf/proto"
|
proto "github.com/gogo/protobuf/proto"
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
_ "google.golang.org/protobuf/types/known/timestamppb"
|
|
||||||
io "io"
|
io "io"
|
||||||
math "math"
|
math "math"
|
||||||
math_bits "math/bits"
|
math_bits "math/bits"
|
||||||
|
@ -282,40 +280,38 @@ func init() {
|
||||||
func init() { proto.RegisterFile("cosmos/authz/v1beta1/tx.proto", fileDescriptor_3ceddab7d8589ad1) }
|
func init() { proto.RegisterFile("cosmos/authz/v1beta1/tx.proto", fileDescriptor_3ceddab7d8589ad1) }
|
||||||
|
|
||||||
var fileDescriptor_3ceddab7d8589ad1 = []byte{
|
var fileDescriptor_3ceddab7d8589ad1 = []byte{
|
||||||
// 517 bytes of a gzipped FileDescriptorProto
|
// 490 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x93, 0xcf, 0x6e, 0xd3, 0x4c,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00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b1, 0xb4, 0xd0, 0xf9, 0xd2, 0x42, 0xdf,
|
0x2b, 0xcf, 0x7a, 0x7b, 0x97, 0x8d, 0xe4, 0xb0, 0xe8, 0x91, 0x3e, 0xcf, 0xca, 0xc7, 0x5a, 0x7e,
|
||||||
0x96, 0x16, 0x7a, 0xbf, 0xb2, 0x2a, 0xe7, 0x2b, 0xab, 0xf2, 0x65, 0x65, 0x55, 0xde, 0xdc, 0x61,
|
0x5a, 0x30, 0x18, 0x87, 0x33, 0xfd, 0xd8, 0x7a, 0x7b, 0xea, 0xd6, 0x3c, 0xfe, 0x15, 0x00, 0x00,
|
||||||
0xb1, 0x18, 0x17, 0x11, 0x19, 0xf2, 0x44, 0x3f, 0x79, 0xfd, 0xe9, 0xc2, 0x68, 0xe2, 0xce, 0xd4,
|
0xff, 0xff, 0x08, 0x13, 0x12, 0x19, 0x12, 0x04, 0x00, 0x00,
|
||||||
0x63, 0x8b, 0xf6, 0xe4, 0x5f, 0xf3, 0xe8, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x76, 0x05, 0x3d,
|
|
||||||
0x79, 0x58, 0x04, 0x00, 0x00,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|
|
@ -8,7 +8,6 @@ import (
|
||||||
fmt "fmt"
|
fmt "fmt"
|
||||||
_ "github.com/cosmos/cosmos-proto"
|
_ "github.com/cosmos/cosmos-proto"
|
||||||
types "github.com/cosmos/cosmos-sdk/codec/types"
|
types "github.com/cosmos/cosmos-sdk/codec/types"
|
||||||
_ "github.com/gogo/protobuf/gogoproto"
|
|
||||||
grpc1 "github.com/gogo/protobuf/grpc"
|
grpc1 "github.com/gogo/protobuf/grpc"
|
||||||
proto "github.com/gogo/protobuf/proto"
|
proto "github.com/gogo/protobuf/proto"
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
|
@ -234,30 +233,29 @@ func init() {
|
||||||
func init() { proto.RegisterFile("cosmos/feegrant/v1beta1/tx.proto", fileDescriptor_dd44ad7946dad783) }
|
func init() { proto.RegisterFile("cosmos/feegrant/v1beta1/tx.proto", fileDescriptor_dd44ad7946dad783) }
|
||||||
|
|
||||||
var fileDescriptor_dd44ad7946dad783 = []byte{
|
var fileDescriptor_dd44ad7946dad783 = []byte{
|
||||||
// 361 bytes of a gzipped FileDescriptorProto
|
// 352 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0x2f, 0xce,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x48, 0xce, 0x2f, 0xce,
|
||||||
0xcd, 0x2f, 0xd6, 0x4f, 0x4b, 0x4d, 0x4d, 0x2f, 0x4a, 0xcc, 0x2b, 0xd1, 0x2f, 0x33, 0x4c, 0x4a,
|
0xcd, 0x2f, 0xd6, 0x4f, 0x4b, 0x4d, 0x4d, 0x2f, 0x4a, 0xcc, 0x2b, 0xd1, 0x2f, 0x33, 0x4c, 0x4a,
|
||||||
0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x87, 0xa8,
|
0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x87, 0xa8,
|
||||||
0xd0, 0x83, 0xa9, 0xd0, 0x83, 0xaa, 0x90, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0xab, 0xd1, 0x07,
|
0xd0, 0x83, 0xa9, 0xd0, 0x83, 0xaa, 0x90, 0x92, 0x4c, 0xcf, 0xcf, 0x4f, 0xcf, 0x49, 0xd5, 0x07,
|
||||||
0xb1, 0x20, 0xca, 0xa5, 0x24, 0xd3, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0xc1, 0xbc, 0xa4, 0xd2,
|
0x2b, 0x4b, 0x2a, 0x4d, 0xd3, 0x4f, 0xcc, 0xab, 0x84, 0xe8, 0x91, 0x92, 0x84, 0xe8, 0x89, 0x07,
|
||||||
0x34, 0xfd, 0xc4, 0xbc, 0x4a, 0x98, 0x14, 0xc4, 0xa4, 0x78, 0x88, 0x1e, 0xa8, 0xb1, 0x60, 0x8e,
|
0xf3, 0xf4, 0xa1, 0x06, 0x80, 0x39, 0x4a, 0x87, 0x18, 0xb9, 0x04, 0x7d, 0x8b, 0xd3, 0xdd, 0x41,
|
||||||
0xd2, 0x21, 0x46, 0x2e, 0x41, 0xdf, 0xe2, 0x74, 0x77, 0x90, 0x05, 0x8e, 0x39, 0x39, 0xf9, 0xe5,
|
0x46, 0x39, 0xe6, 0xe4, 0xe4, 0x97, 0x27, 0xe6, 0x25, 0xa7, 0x0a, 0x19, 0x71, 0xb1, 0x83, 0x0d,
|
||||||
0x89, 0x79, 0xc9, 0xa9, 0x42, 0x46, 0x5c, 0xec, 0x60, 0x2b, 0x53, 0x8b, 0x24, 0x18, 0x15, 0x18,
|
0x4f, 0x2d, 0x92, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x74, 0x92, 0xb8, 0xb4, 0x45, 0x57, 0x04, 0xaa,
|
||||||
0x35, 0x38, 0x9d, 0x24, 0x2e, 0x6d, 0xd1, 0x15, 0x81, 0x6a, 0x74, 0x4c, 0x49, 0x29, 0x4a, 0x2d,
|
0xd1, 0x31, 0x25, 0xa5, 0x28, 0xb5, 0xb8, 0x38, 0xb8, 0xa4, 0x28, 0x33, 0x2f, 0x3d, 0x08, 0xa6,
|
||||||
0x2e, 0x0e, 0x2e, 0x29, 0xca, 0xcc, 0x4b, 0x0f, 0x82, 0x29, 0x44, 0xe8, 0x49, 0x95, 0x60, 0x22,
|
0x10, 0xa1, 0x27, 0x55, 0x82, 0x89, 0x38, 0x3d, 0xa9, 0x42, 0xae, 0x5c, 0x9c, 0x89, 0x30, 0x4b,
|
||||||
0x4e, 0x4f, 0xaa, 0x90, 0x2b, 0x17, 0x67, 0x22, 0xcc, 0x52, 0x09, 0x66, 0x05, 0x46, 0x0d, 0x6e,
|
0x25, 0x98, 0x15, 0x18, 0x35, 0xb8, 0x8d, 0x44, 0xf4, 0x20, 0xfe, 0xd0, 0x83, 0xf9, 0x43, 0xcf,
|
||||||
0x23, 0x11, 0x3d, 0x88, 0x3f, 0xf4, 0x60, 0xfe, 0xd0, 0x73, 0xcc, 0xab, 0x74, 0x12, 0x3c, 0xb5,
|
0x31, 0xaf, 0xd2, 0x49, 0xf0, 0xd4, 0x16, 0x5d, 0x5e, 0xb7, 0xd4, 0x54, 0xb8, 0x13, 0x3d, 0x83,
|
||||||
0x45, 0x97, 0xd7, 0x2d, 0x35, 0x15, 0xee, 0x44, 0xcf, 0x20, 0x84, 0x4e, 0x25, 0x69, 0x2e, 0x49,
|
0x10, 0x3a, 0x95, 0xa4, 0xb9, 0x24, 0x31, 0xfc, 0x10, 0x94, 0x5a, 0x5c, 0x90, 0x9f, 0x57, 0x9c,
|
||||||
0x0c, 0x3f, 0x04, 0xa5, 0x16, 0x17, 0xe4, 0xe7, 0x15, 0xa7, 0x2a, 0xd5, 0x70, 0x09, 0xf9, 0x16,
|
0xaa, 0x54, 0xc3, 0x25, 0xe4, 0x5b, 0x9c, 0x1e, 0x94, 0x5a, 0x96, 0x9f, 0x9d, 0x4a, 0x77, 0x1f,
|
||||||
0xa7, 0x07, 0xa5, 0x96, 0xe5, 0x67, 0xa7, 0xd2, 0xdd, 0x87, 0x4a, 0x32, 0x5c, 0x52, 0x98, 0xb6,
|
0x2a, 0xc9, 0x70, 0x49, 0x61, 0xda, 0x0e, 0x73, 0x9b, 0xd1, 0x1b, 0x46, 0x2e, 0x66, 0xdf, 0xe2,
|
||||||
0xc3, 0xdc, 0x66, 0xf4, 0x86, 0x91, 0x8b,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 0xd9, 0xfa, 0x15, 0xf0, 0xfc, 0x90, 0xc4, 0x06, 0x4e,
|
||||||
0x4a, 0xb6, 0x7e, 0x05, 0x3c, 0x97, 0x24, 0xb1, 0x81, 0x93, 0x85, 0x31, 0x20, 0x00, 0x00, 0xff,
|
0x16, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x23, 0xac, 0x1e, 0xb4, 0x29, 0x03, 0x00, 0x00,
|
||||||
0xff, 0xa8, 0x2c, 0xa7, 0x12, 0x3f, 0x03, 0x00, 0x00,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|
|
@ -0,0 +1,684 @@
|
||||||
|
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||||
|
// source: cosmos/gov/v1beta2/genesis.proto
|
||||||
|
|
||||||
|
package v1beta2
|
||||||
|
|
||||||
|
import (
|
||||||
|
fmt "fmt"
|
||||||
|
proto "github.com/gogo/protobuf/proto"
|
||||||
|
io "io"
|
||||||
|
math "math"
|
||||||
|
math_bits "math/bits"
|
||||||
|
)
|
||||||
|
|
||||||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
var _ = proto.Marshal
|
||||||
|
var _ = fmt.Errorf
|
||||||
|
var _ = math.Inf
|
||||||
|
|
||||||
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the proto package it is being compiled against.
|
||||||
|
// A compilation error at this line likely means your copy of the
|
||||||
|
// proto package needs to be updated.
|
||||||
|
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
||||||
|
|
||||||
|
// GenesisState defines the gov module's genesis state.
|
||||||
|
type GenesisState struct {
|
||||||
|
// starting_proposal_id is the ID of the starting proposal.
|
||||||
|
StartingProposalId uint64 `protobuf:"varint,1,opt,name=starting_proposal_id,json=startingProposalId,proto3" json:"starting_proposal_id,omitempty"`
|
||||||
|
// deposits defines all the deposits present at genesis.
|
||||||
|
Deposits []*Deposit `protobuf:"bytes,2,rep,name=deposits,proto3" json:"deposits,omitempty"`
|
||||||
|
// votes defines all the votes present at genesis.
|
||||||
|
Votes []*Vote `protobuf:"bytes,3,rep,name=votes,proto3" json:"votes,omitempty"`
|
||||||
|
// proposals defines all the proposals present at genesis.
|
||||||
|
Proposals []*Proposal `protobuf:"bytes,4,rep,name=proposals,proto3" json:"proposals,omitempty"`
|
||||||
|
// params defines all the paramaters of related to deposit.
|
||||||
|
DepositParams *DepositParams `protobuf:"bytes,5,opt,name=deposit_params,json=depositParams,proto3" json:"deposit_params,omitempty"`
|
||||||
|
// params defines all the paramaters of related to voting.
|
||||||
|
VotingParams *VotingParams `protobuf:"bytes,6,opt,name=voting_params,json=votingParams,proto3" json:"voting_params,omitempty"`
|
||||||
|
// params defines all the paramaters of related to tally.
|
||||||
|
TallyParams *TallyParams `protobuf:"bytes,7,opt,name=tally_params,json=tallyParams,proto3" json:"tally_params,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GenesisState) Reset() { *m = GenesisState{} }
|
||||||
|
func (m *GenesisState) String() string { return proto.CompactTextString(m) }
|
||||||
|
func (*GenesisState) ProtoMessage() {}
|
||||||
|
func (*GenesisState) Descriptor() ([]byte, []int) {
|
||||||
|
return fileDescriptor_7915ab39bb5aa171, []int{0}
|
||||||
|
}
|
||||||
|
func (m *GenesisState) XXX_Unmarshal(b []byte) error {
|
||||||
|
return m.Unmarshal(b)
|
||||||
|
}
|
||||||
|
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||||
|
if deterministic {
|
||||||
|
return xxx_messageInfo_GenesisState.Marshal(b, m, deterministic)
|
||||||
|
} else {
|
||||||
|
b = b[:cap(b)]
|
||||||
|
n, err := m.MarshalToSizedBuffer(b)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return b[:n], nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
func (m *GenesisState) XXX_Merge(src proto.Message) {
|
||||||
|
xxx_messageInfo_GenesisState.Merge(m, src)
|
||||||
|
}
|
||||||
|
func (m *GenesisState) XXX_Size() int {
|
||||||
|
return m.Size()
|
||||||
|
}
|
||||||
|
func (m *GenesisState) XXX_DiscardUnknown() {
|
||||||
|
xxx_messageInfo_GenesisState.DiscardUnknown(m)
|
||||||
|
}
|
||||||
|
|
||||||
|
var xxx_messageInfo_GenesisState proto.InternalMessageInfo
|
||||||
|
|
||||||
|
func (m *GenesisState) GetStartingProposalId() uint64 {
|
||||||
|
if m != nil {
|
||||||
|
return m.StartingProposalId
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GenesisState) GetDeposits() []*Deposit {
|
||||||
|
if m != nil {
|
||||||
|
return m.Deposits
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GenesisState) GetVotes() []*Vote {
|
||||||
|
if m != nil {
|
||||||
|
return m.Votes
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GenesisState) GetProposals() []*Proposal {
|
||||||
|
if m != nil {
|
||||||
|
return m.Proposals
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GenesisState) GetDepositParams() *DepositParams {
|
||||||
|
if m != nil {
|
||||||
|
return m.DepositParams
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GenesisState) GetVotingParams() *VotingParams {
|
||||||
|
if m != nil {
|
||||||
|
return m.VotingParams
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GenesisState) GetTallyParams() *TallyParams {
|
||||||
|
if m != nil {
|
||||||
|
return m.TallyParams
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
proto.RegisterType((*GenesisState)(nil), "cosmos.gov.v1beta2.GenesisState")
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { proto.RegisterFile("cosmos/gov/v1beta2/genesis.proto", fileDescriptor_7915ab39bb5aa171) }
|
||||||
|
|
||||||
|
var fileDescriptor_7915ab39bb5aa171 = []byte{
|
||||||
|
// 345 bytes of a gzipped FileDescriptorProto
|
||||||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xbb, 0x4e, 0xc3, 0x30,
|
||||||
|
0x14, 0x86, 0x1b, 0x7a, 0x01, 0xdc, 0x96, 0xc1, 0x62, 0x88, 0xa0, 0x0a, 0x81, 0xa9, 0x0b, 0x4e,
|
||||||
|
0x29, 0x03, 0x12, 0x63, 0x05, 0xe2, 0x32, 0x55, 0x01, 0x31, 0xb0, 0x54, 0x6e, 0x63, 0x85, 0x88,
|
||||||
|
0xb6, 0x27, 0x8a, 0x0f, 0x16, 0x7d, 0x0b, 0x9e, 0x87, 0x27, 0x60, 0xec, 0xc8, 0x88, 0x9a, 0x17,
|
||||||
|
0x41, 0xb5, 0x13, 0x5a, 0x89, 0xc0, 0x14, 0x1d, 0xf9, 0xfb, 0xbf, 0xfc, 0xb2, 0x0f, 0x71, 0x47,
|
||||||
|
0x20, 0x27, 0x20, 0xbd, 0x10, 0x94, 0xa7, 0x4e, 0x86, 0x02, 0x79, 0xd7, 0x0b, 0xc5, 0x54, 0xc8,
|
||||||
|
0x48, 0xb2, 0x38, 0x01, 0x04, 0x4a, 0x0d, 0xc1, 0x42, 0x50, 0x2c, 0x23, 0xf6, 0x5a, 0x45, 0x29,
|
||||||
|
0x50, 0x26, 0x71, 0xf4, 0x5e, 0x26, 0x8d, 0x2b, 0xe3, 0xb8, 0x43, 0x8e, 0x82, 0x76, 0xc8, 0xae,
|
||||||
|
0x44, 0x9e, 0x60, 0x34, 0x0d, 0x07, 0x71, 0x02, 0x31, 0x48, 0x3e, 0x1e, 0x44, 0x81, 0x6d, 0xb9,
|
||||||
|
0x56, 0xbb, 0xe2, 0xd3, 0xfc, 0xac, 0x9f, 0x1d, 0xdd, 0x04, 0xf4, 0x8c, 0x6c, 0x05, 0x22, 0x06,
|
||||||
|
0x19, 0xa1, 0xb4, 0x37, 0xdc, 0x72, 0xbb, 0xde, 0xdd, 0x67, 0xbf, 0x7b, 0xb0, 0x0b, 0xc3, 0xf8,
|
||||||
|
0x3f, 0x30, 0x65, 0xa4, 0xaa, 0x00, 0x85, 0xb4, 0xcb, 0x3a, 0x65, 0x17, 0xa5, 0x1e, 0x00, 0x85,
|
||||||
|
0x6f, 0x30, 0x7a, 0x4e, 0xb6, 0xf3, 0x46, 0xd2, 0xae, 0xe8, 0x4c, 0xab, 0x28, 0x93, 0x77, 0xf3,
|
||||||
|
0x57, 0x38, 0xbd, 0x26, 0x3b, 0xd9, 0x7f, 0x07, 0x31, 0x4f, 0xf8, 0x44, 0xda, 0x55, 0xd7, 0x6a,
|
||||||
|
0xd7, 0xbb, 0x87, 0xff, 0x54, 0xed, 0x6b, 0xd0, 0x6f, 0x06, 0xeb, 0x23, 0xbd, 0x24, 0x4d, 0x05,
|
||||||
|
0xe6, 0x7a, 0x8c, 0xa8, 0xa6, 0x45, 0xee, 0x1f, 0xed, 0x97, 0x77, 0x65, 0x3c, 0x0d, 0xb5, 0x36,
|
||||||
|
0xd1, 0x1e, 0x69, 0x20, 0x1f, 0x8f, 0x67, 0xb9, 0x65, 0x53, 0x5b, 0x0e, 0x8a, 0x2c, 0xf7, 0x4b,
|
||||||
|
0x2e, 0x93, 0xd4, 0x71, 0x35, 0xf4, 0x6e, 0x3f, 0x16, 0x8e, 0x35, 0x5f, 0x38, 0xd6, 0xd7, 0xc2,
|
||||||
|
0xb1, 0xde, 0x52, 0xa7, 0x34, 0x4f, 0x9d, 0xd2, 0x67, 0xea, 0x94, 0x1e, 0x3b, 0x61, 0x84, 0x4f,
|
||||||
|
0x2f, 0x43, 0x36, 0x82, 0x89, 0x97, 0xbd, 0xbf, 0xf9, 0x1c, 0xcb, 0xe0, 0xd9, 0x7b, 0xd5, 0xcb,
|
||||||
|
0x80, 0xb3, 0x58, 0xc8, 0x7c, 0x25, 0x86, 0x35, 0xbd, 0x0f, 0xa7, 0xdf, 0x01, 0x00, 0x00, 0xff,
|
||||||
|
0xff, 0xb6, 0x88, 0x7e, 0xc1, 0x65, 0x02, 0x00, 0x00,
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GenesisState) Marshal() (dAtA []byte, err error) {
|
||||||
|
size := m.Size()
|
||||||
|
dAtA = make([]byte, size)
|
||||||
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return dAtA[:n], nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GenesisState) MarshalTo(dAtA []byte) (int, error) {
|
||||||
|
size := m.Size()
|
||||||
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||||
|
}
|
||||||
|
|
||||||
|
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||||
|
i := len(dAtA)
|
||||||
|
_ = i
|
||||||
|
var l int
|
||||||
|
_ = l
|
||||||
|
if m.TallyParams != nil {
|
||||||
|
{
|
||||||
|
size, err := m.TallyParams.MarshalToSizedBuffer(dAtA[:i])
|
||||||
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i -= size
|
||||||
|
i = encodeVarintGenesis(dAtA, i, uint64(size))
|
||||||
|
}
|
||||||
|
i--
|
||||||
|
dAtA[i] = 0x3a
|
||||||
|
}
|
||||||
|
if m.VotingParams != nil {
|
||||||
|
{
|
||||||
|
size, err := m.VotingParams.MarshalToSizedBuffer(dAtA[:i])
|
||||||
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i -= size
|
||||||
|
i = encodeVarintGenesis(dAtA, i, uint64(size))
|
||||||
|
}
|
||||||
|
i--
|
||||||
|
dAtA[i] = 0x32
|
||||||
|
}
|
||||||
|
if m.DepositParams != nil {
|
||||||
|
{
|
||||||
|
size, err := m.DepositParams.MarshalToSizedBuffer(dAtA[:i])
|
||||||
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i -= size
|
||||||
|
i = encodeVarintGenesis(dAtA, i, uint64(size))
|
||||||
|
}
|
||||||
|
i--
|
||||||
|
dAtA[i] = 0x2a
|
||||||
|
}
|
||||||
|
if len(m.Proposals) > 0 {
|
||||||
|
for iNdEx := len(m.Proposals) - 1; iNdEx >= 0; iNdEx-- {
|
||||||
|
{
|
||||||
|
size, err := m.Proposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
||||||
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i -= size
|
||||||
|
i = encodeVarintGenesis(dAtA, i, uint64(size))
|
||||||
|
}
|
||||||
|
i--
|
||||||
|
dAtA[i] = 0x22
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if len(m.Votes) > 0 {
|
||||||
|
for iNdEx := len(m.Votes) - 1; iNdEx >= 0; iNdEx-- {
|
||||||
|
{
|
||||||
|
size, err := m.Votes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
||||||
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i -= size
|
||||||
|
i = encodeVarintGenesis(dAtA, i, uint64(size))
|
||||||
|
}
|
||||||
|
i--
|
||||||
|
dAtA[i] = 0x1a
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if len(m.Deposits) > 0 {
|
||||||
|
for iNdEx := len(m.Deposits) - 1; iNdEx >= 0; iNdEx-- {
|
||||||
|
{
|
||||||
|
size, err := m.Deposits[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
||||||
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i -= size
|
||||||
|
i = encodeVarintGenesis(dAtA, i, uint64(size))
|
||||||
|
}
|
||||||
|
i--
|
||||||
|
dAtA[i] = 0x12
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if m.StartingProposalId != 0 {
|
||||||
|
i = encodeVarintGenesis(dAtA, i, uint64(m.StartingProposalId))
|
||||||
|
i--
|
||||||
|
dAtA[i] = 0x8
|
||||||
|
}
|
||||||
|
return len(dAtA) - i, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func encodeVarintGenesis(dAtA []byte, offset int, v uint64) int {
|
||||||
|
offset -= sovGenesis(v)
|
||||||
|
base := offset
|
||||||
|
for v >= 1<<7 {
|
||||||
|
dAtA[offset] = uint8(v&0x7f | 0x80)
|
||||||
|
v >>= 7
|
||||||
|
offset++
|
||||||
|
}
|
||||||
|
dAtA[offset] = uint8(v)
|
||||||
|
return base
|
||||||
|
}
|
||||||
|
func (m *GenesisState) Size() (n int) {
|
||||||
|
if m == nil {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
var l int
|
||||||
|
_ = l
|
||||||
|
if m.StartingProposalId != 0 {
|
||||||
|
n += 1 + sovGenesis(uint64(m.StartingProposalId))
|
||||||
|
}
|
||||||
|
if len(m.Deposits) > 0 {
|
||||||
|
for _, e := range m.Deposits {
|
||||||
|
l = e.Size()
|
||||||
|
n += 1 + l + sovGenesis(uint64(l))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if len(m.Votes) > 0 {
|
||||||
|
for _, e := range m.Votes {
|
||||||
|
l = e.Size()
|
||||||
|
n += 1 + l + sovGenesis(uint64(l))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if len(m.Proposals) > 0 {
|
||||||
|
for _, e := range m.Proposals {
|
||||||
|
l = e.Size()
|
||||||
|
n += 1 + l + sovGenesis(uint64(l))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if m.DepositParams != nil {
|
||||||
|
l = m.DepositParams.Size()
|
||||||
|
n += 1 + l + sovGenesis(uint64(l))
|
||||||
|
}
|
||||||
|
if m.VotingParams != nil {
|
||||||
|
l = m.VotingParams.Size()
|
||||||
|
n += 1 + l + sovGenesis(uint64(l))
|
||||||
|
}
|
||||||
|
if m.TallyParams != nil {
|
||||||
|
l = m.TallyParams.Size()
|
||||||
|
n += 1 + l + sovGenesis(uint64(l))
|
||||||
|
}
|
||||||
|
return n
|
||||||
|
}
|
||||||
|
|
||||||
|
func sovGenesis(x uint64) (n int) {
|
||||||
|
return (math_bits.Len64(x|1) + 6) / 7
|
||||||
|
}
|
||||||
|
func sozGenesis(x uint64) (n int) {
|
||||||
|
return sovGenesis(uint64((x << 1) ^ uint64((int64(x) >> 63))))
|
||||||
|
}
|
||||||
|
func (m *GenesisState) Unmarshal(dAtA []byte) error {
|
||||||
|
l := len(dAtA)
|
||||||
|
iNdEx := 0
|
||||||
|
for iNdEx < l {
|
||||||
|
preIndex := iNdEx
|
||||||
|
var wire uint64
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowGenesis
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
wire |= uint64(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fieldNum := int32(wire >> 3)
|
||||||
|
wireType := int(wire & 0x7)
|
||||||
|
if wireType == 4 {
|
||||||
|
return fmt.Errorf("proto: GenesisState: wiretype end group for non-group")
|
||||||
|
}
|
||||||
|
if fieldNum <= 0 {
|
||||||
|
return fmt.Errorf("proto: GenesisState: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||||
|
}
|
||||||
|
switch fieldNum {
|
||||||
|
case 1:
|
||||||
|
if wireType != 0 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field StartingProposalId", wireType)
|
||||||
|
}
|
||||||
|
m.StartingProposalId = 0
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowGenesis
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
m.StartingProposalId |= uint64(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 2:
|
||||||
|
if wireType != 2 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field Deposits", wireType)
|
||||||
|
}
|
||||||
|
var msglen int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowGenesis
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
msglen |= int(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if msglen < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
postIndex := iNdEx + msglen
|
||||||
|
if postIndex < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
if postIndex > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
m.Deposits = append(m.Deposits, &Deposit{})
|
||||||
|
if err := m.Deposits[len(m.Deposits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
iNdEx = postIndex
|
||||||
|
case 3:
|
||||||
|
if wireType != 2 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field Votes", wireType)
|
||||||
|
}
|
||||||
|
var msglen int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowGenesis
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
msglen |= int(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if msglen < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
postIndex := iNdEx + msglen
|
||||||
|
if postIndex < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
if postIndex > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
m.Votes = append(m.Votes, &Vote{})
|
||||||
|
if err := m.Votes[len(m.Votes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
iNdEx = postIndex
|
||||||
|
case 4:
|
||||||
|
if wireType != 2 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field Proposals", wireType)
|
||||||
|
}
|
||||||
|
var msglen int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowGenesis
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
msglen |= int(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if msglen < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
postIndex := iNdEx + msglen
|
||||||
|
if postIndex < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
if postIndex > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
m.Proposals = append(m.Proposals, &Proposal{})
|
||||||
|
if err := m.Proposals[len(m.Proposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
iNdEx = postIndex
|
||||||
|
case 5:
|
||||||
|
if wireType != 2 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field DepositParams", wireType)
|
||||||
|
}
|
||||||
|
var msglen int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowGenesis
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
msglen |= int(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if msglen < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
postIndex := iNdEx + msglen
|
||||||
|
if postIndex < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
if postIndex > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
if m.DepositParams == nil {
|
||||||
|
m.DepositParams = &DepositParams{}
|
||||||
|
}
|
||||||
|
if err := m.DepositParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
iNdEx = postIndex
|
||||||
|
case 6:
|
||||||
|
if wireType != 2 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field VotingParams", wireType)
|
||||||
|
}
|
||||||
|
var msglen int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowGenesis
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
msglen |= int(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if msglen < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
postIndex := iNdEx + msglen
|
||||||
|
if postIndex < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
if postIndex > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
if m.VotingParams == nil {
|
||||||
|
m.VotingParams = &VotingParams{}
|
||||||
|
}
|
||||||
|
if err := m.VotingParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
iNdEx = postIndex
|
||||||
|
case 7:
|
||||||
|
if wireType != 2 {
|
||||||
|
return fmt.Errorf("proto: wrong wireType = %d for field TallyParams", wireType)
|
||||||
|
}
|
||||||
|
var msglen int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return ErrIntOverflowGenesis
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
msglen |= int(b&0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if msglen < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
postIndex := iNdEx + msglen
|
||||||
|
if postIndex < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
if postIndex > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
if m.TallyParams == nil {
|
||||||
|
m.TallyParams = &TallyParams{}
|
||||||
|
}
|
||||||
|
if err := m.TallyParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
iNdEx = postIndex
|
||||||
|
default:
|
||||||
|
iNdEx = preIndex
|
||||||
|
skippy, err := skipGenesis(dAtA[iNdEx:])
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
||||||
|
return ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
if (iNdEx + skippy) > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
iNdEx += skippy
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if iNdEx > l {
|
||||||
|
return io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
func skipGenesis(dAtA []byte) (n int, err error) {
|
||||||
|
l := len(dAtA)
|
||||||
|
iNdEx := 0
|
||||||
|
depth := 0
|
||||||
|
for iNdEx < l {
|
||||||
|
var wire uint64
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return 0, ErrIntOverflowGenesis
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return 0, io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
wire |= (uint64(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
wireType := int(wire & 0x7)
|
||||||
|
switch wireType {
|
||||||
|
case 0:
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return 0, ErrIntOverflowGenesis
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return 0, io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
iNdEx++
|
||||||
|
if dAtA[iNdEx-1] < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case 1:
|
||||||
|
iNdEx += 8
|
||||||
|
case 2:
|
||||||
|
var length int
|
||||||
|
for shift := uint(0); ; shift += 7 {
|
||||||
|
if shift >= 64 {
|
||||||
|
return 0, ErrIntOverflowGenesis
|
||||||
|
}
|
||||||
|
if iNdEx >= l {
|
||||||
|
return 0, io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
b := dAtA[iNdEx]
|
||||||
|
iNdEx++
|
||||||
|
length |= (int(b) & 0x7F) << shift
|
||||||
|
if b < 0x80 {
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if length < 0 {
|
||||||
|
return 0, ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
iNdEx += length
|
||||||
|
case 3:
|
||||||
|
depth++
|
||||||
|
case 4:
|
||||||
|
if depth == 0 {
|
||||||
|
return 0, ErrUnexpectedEndOfGroupGenesis
|
||||||
|
}
|
||||||
|
depth--
|
||||||
|
case 5:
|
||||||
|
iNdEx += 4
|
||||||
|
default:
|
||||||
|
return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
|
||||||
|
}
|
||||||
|
if iNdEx < 0 {
|
||||||
|
return 0, ErrInvalidLengthGenesis
|
||||||
|
}
|
||||||
|
if depth == 0 {
|
||||||
|
return iNdEx, nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return 0, io.ErrUnexpectedEOF
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling")
|
||||||
|
ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow")
|
||||||
|
ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
|
||||||
|
)
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,932 @@
|
||||||
|
// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
|
||||||
|
// source: cosmos/gov/v1beta2/query.proto
|
||||||
|
|
||||||
|
/*
|
||||||
|
Package v1beta2 is a reverse proxy.
|
||||||
|
|
||||||
|
It translates gRPC into RESTful JSON APIs.
|
||||||
|
*/
|
||||||
|
package v1beta2
|
||||||
|
|
||||||
|
import (
|
||||||
|
"context"
|
||||||
|
"io"
|
||||||
|
"net/http"
|
||||||
|
|
||||||
|
"github.com/golang/protobuf/descriptor"
|
||||||
|
"github.com/golang/protobuf/proto"
|
||||||
|
"github.com/grpc-ecosystem/grpc-gateway/runtime"
|
||||||
|
"github.com/grpc-ecosystem/grpc-gateway/utilities"
|
||||||
|
"google.golang.org/grpc"
|
||||||
|
"google.golang.org/grpc/codes"
|
||||||
|
"google.golang.org/grpc/grpclog"
|
||||||
|
"google.golang.org/grpc/status"
|
||||||
|
)
|
||||||
|
|
||||||
|
// Suppress "imported and not used" errors
|
||||||
|
var _ codes.Code
|
||||||
|
var _ io.Reader
|
||||||
|
var _ status.Status
|
||||||
|
var _ = runtime.String
|
||||||
|
var _ = utilities.NewDoubleArray
|
||||||
|
var _ = descriptor.ForMessage
|
||||||
|
|
||||||
|
func request_Query_Proposal_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryProposalRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["proposal_id"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "proposal_id")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ProposalId, err = runtime.Uint64(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "proposal_id", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := client.Proposal(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func local_request_Query_Proposal_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryProposalRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["proposal_id"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "proposal_id")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ProposalId, err = runtime.Uint64(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "proposal_id", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := server.Proposal(ctx, &protoReq)
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
filter_Query_Proposals_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}
|
||||||
|
)
|
||||||
|
|
||||||
|
func request_Query_Proposals_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryProposalsRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
if err := req.ParseForm(); err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||||
|
}
|
||||||
|
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_Proposals_0); err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := client.Proposals(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func local_request_Query_Proposals_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryProposalsRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
if err := req.ParseForm(); err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||||
|
}
|
||||||
|
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_Proposals_0); err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := server.Proposals(ctx, &protoReq)
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func request_Query_Vote_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryVoteRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["proposal_id"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "proposal_id")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ProposalId, err = runtime.Uint64(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "proposal_id", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
val, ok = pathParams["voter"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "voter")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.Voter, err = runtime.String(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "voter", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := client.Vote(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func local_request_Query_Vote_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryVoteRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["proposal_id"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "proposal_id")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ProposalId, err = runtime.Uint64(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "proposal_id", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
val, ok = pathParams["voter"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "voter")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.Voter, err = runtime.String(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "voter", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := server.Vote(ctx, &protoReq)
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
filter_Query_Votes_0 = &utilities.DoubleArray{Encoding: map[string]int{"proposal_id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}}
|
||||||
|
)
|
||||||
|
|
||||||
|
func request_Query_Votes_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryVotesRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["proposal_id"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "proposal_id")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ProposalId, err = runtime.Uint64(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "proposal_id", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := req.ParseForm(); err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||||
|
}
|
||||||
|
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_Votes_0); err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := client.Votes(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func local_request_Query_Votes_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryVotesRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["proposal_id"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "proposal_id")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ProposalId, err = runtime.Uint64(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "proposal_id", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := req.ParseForm(); err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||||
|
}
|
||||||
|
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_Votes_0); err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := server.Votes(ctx, &protoReq)
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryParamsRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["params_type"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "params_type")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ParamsType, err = runtime.String(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "params_type", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := client.Params(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func local_request_Query_Params_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryParamsRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["params_type"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "params_type")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ParamsType, err = runtime.String(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "params_type", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := server.Params(ctx, &protoReq)
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func request_Query_Deposit_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryDepositRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["proposal_id"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "proposal_id")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ProposalId, err = runtime.Uint64(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "proposal_id", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
val, ok = pathParams["depositor"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "depositor")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.Depositor, err = runtime.String(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "depositor", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := client.Deposit(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func local_request_Query_Deposit_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryDepositRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["proposal_id"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "proposal_id")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ProposalId, err = runtime.Uint64(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "proposal_id", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
val, ok = pathParams["depositor"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "depositor")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.Depositor, err = runtime.String(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "depositor", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := server.Deposit(ctx, &protoReq)
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
filter_Query_Deposits_0 = &utilities.DoubleArray{Encoding: map[string]int{"proposal_id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}}
|
||||||
|
)
|
||||||
|
|
||||||
|
func request_Query_Deposits_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryDepositsRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["proposal_id"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "proposal_id")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ProposalId, err = runtime.Uint64(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "proposal_id", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := req.ParseForm(); err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||||
|
}
|
||||||
|
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_Deposits_0); err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := client.Deposits(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func local_request_Query_Deposits_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryDepositsRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["proposal_id"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "proposal_id")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ProposalId, err = runtime.Uint64(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "proposal_id", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
if err := req.ParseForm(); err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||||
|
}
|
||||||
|
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_Deposits_0); err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := server.Deposits(ctx, &protoReq)
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func request_Query_TallyResult_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryTallyResultRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["proposal_id"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "proposal_id")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ProposalId, err = runtime.Uint64(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "proposal_id", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := client.TallyResult(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func local_request_Query_TallyResult_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||||
|
var protoReq QueryTallyResultRequest
|
||||||
|
var metadata runtime.ServerMetadata
|
||||||
|
|
||||||
|
var (
|
||||||
|
val string
|
||||||
|
ok bool
|
||||||
|
err error
|
||||||
|
_ = err
|
||||||
|
)
|
||||||
|
|
||||||
|
val, ok = pathParams["proposal_id"]
|
||||||
|
if !ok {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "proposal_id")
|
||||||
|
}
|
||||||
|
|
||||||
|
protoReq.ProposalId, err = runtime.Uint64(val)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "proposal_id", err)
|
||||||
|
}
|
||||||
|
|
||||||
|
msg, err := server.TallyResult(ctx, &protoReq)
|
||||||
|
return msg, metadata, err
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
|
||||||
|
// UnaryRPC :call QueryServer directly.
|
||||||
|
// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
|
||||||
|
// Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
|
||||||
|
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error {
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Proposal_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := local_request_Query_Proposal_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Proposal_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Proposals_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := local_request_Query_Proposals_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Proposals_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Vote_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := local_request_Query_Vote_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Vote_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Votes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := local_request_Query_Votes_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Votes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := local_request_Query_Params_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Deposit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := local_request_Query_Deposit_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Deposit_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Deposits_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := local_request_Query_Deposits_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Deposits_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_TallyResult_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := local_request_Query_TallyResult_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_TallyResult_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but
|
||||||
|
// automatically dials to "endpoint" and closes the connection when "ctx" gets done.
|
||||||
|
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) {
|
||||||
|
conn, err := grpc.Dial(endpoint, opts...)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
defer func() {
|
||||||
|
if err != nil {
|
||||||
|
if cerr := conn.Close(); cerr != nil {
|
||||||
|
grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr)
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
go func() {
|
||||||
|
<-ctx.Done()
|
||||||
|
if cerr := conn.Close(); cerr != nil {
|
||||||
|
grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr)
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
}()
|
||||||
|
|
||||||
|
return RegisterQueryHandler(ctx, mux, conn)
|
||||||
|
}
|
||||||
|
|
||||||
|
// RegisterQueryHandler registers the http handlers for service Query to "mux".
|
||||||
|
// The handlers forward requests to the grpc endpoint over "conn".
|
||||||
|
func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error {
|
||||||
|
return RegisterQueryHandlerClient(ctx, mux, NewQueryClient(conn))
|
||||||
|
}
|
||||||
|
|
||||||
|
// RegisterQueryHandlerClient registers the http handlers for service Query
|
||||||
|
// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient".
|
||||||
|
// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient"
|
||||||
|
// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in
|
||||||
|
// "QueryClient" to call the correct interceptors.
|
||||||
|
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error {
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Proposal_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := request_Query_Proposal_0(rctx, inboundMarshaler, client, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Proposal_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Proposals_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := request_Query_Proposals_0(rctx, inboundMarshaler, client, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Proposals_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Vote_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := request_Query_Vote_0(rctx, inboundMarshaler, client, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Vote_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Votes_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := request_Query_Votes_0(rctx, inboundMarshaler, client, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Votes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Params_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := request_Query_Params_0(rctx, inboundMarshaler, client, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Params_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Deposit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := request_Query_Deposit_0(rctx, inboundMarshaler, client, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Deposit_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_Deposits_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := request_Query_Deposits_0(rctx, inboundMarshaler, client, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_Deposits_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
mux.Handle("GET", pattern_Query_TallyResult_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||||
|
ctx, cancel := context.WithCancel(req.Context())
|
||||||
|
defer cancel()
|
||||||
|
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||||
|
rctx, err := runtime.AnnotateContext(ctx, mux, req)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
resp, md, err := request_Query_TallyResult_0(rctx, inboundMarshaler, client, req, pathParams)
|
||||||
|
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||||
|
if err != nil {
|
||||||
|
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
forward_Query_TallyResult_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
pattern_Query_Proposal_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"cosmos", "gov", "v1beta2", "proposals", "proposal_id"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||||
|
|
||||||
|
pattern_Query_Proposals_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cosmos", "gov", "v1beta2", "proposals"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||||
|
|
||||||
|
pattern_Query_Vote_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"cosmos", "gov", "v1beta2", "proposals", "proposal_id", "votes", "voter"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||||
|
|
||||||
|
pattern_Query_Votes_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"cosmos", "gov", "v1beta2", "proposals", "proposal_id", "votes"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||||
|
|
||||||
|
pattern_Query_Params_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"cosmos", "gov", "v1beta2", "params", "params_type"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||||
|
|
||||||
|
pattern_Query_Deposit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"cosmos", "gov", "v1beta2", "proposals", "proposal_id", "deposits", "depositor"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||||
|
|
||||||
|
pattern_Query_Deposits_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"cosmos", "gov", "v1beta2", "proposals", "proposal_id", "deposits"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||||
|
|
||||||
|
pattern_Query_TallyResult_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 2, 5}, []string{"cosmos", "gov", "v1beta2", "proposals", "proposal_id", "tally"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||||
|
)
|
||||||
|
|
||||||
|
var (
|
||||||
|
forward_Query_Proposal_0 = runtime.ForwardResponseMessage
|
||||||
|
|
||||||
|
forward_Query_Proposals_0 = runtime.ForwardResponseMessage
|
||||||
|
|
||||||
|
forward_Query_Vote_0 = runtime.ForwardResponseMessage
|
||||||
|
|
||||||
|
forward_Query_Votes_0 = runtime.ForwardResponseMessage
|
||||||
|
|
||||||
|
forward_Query_Params_0 = runtime.ForwardResponseMessage
|
||||||
|
|
||||||
|
forward_Query_Deposit_0 = runtime.ForwardResponseMessage
|
||||||
|
|
||||||
|
forward_Query_Deposits_0 = runtime.ForwardResponseMessage
|
||||||
|
|
||||||
|
forward_Query_TallyResult_0 = runtime.ForwardResponseMessage
|
||||||
|
)
|
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,7 @@ module github.com/cosmos/cosmos-sdk/x/group
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/cockroachdb/apd/v2 v2.0.2
|
github.com/cockroachdb/apd/v2 v2.0.2
|
||||||
github.com/cosmos/cosmos-proto v0.0.0-20210914142853-23ed61ac79ce
|
github.com/cosmos/cosmos-proto v0.0.0-20211123144845-528f5002c9f8
|
||||||
github.com/cosmos/cosmos-sdk v0.44.0
|
github.com/cosmos/cosmos-sdk v0.44.0
|
||||||
github.com/gogo/protobuf v1.3.3
|
github.com/gogo/protobuf v1.3.3
|
||||||
github.com/stretchr/testify v1.7.0
|
github.com/stretchr/testify v1.7.0
|
||||||
|
|
|
@ -257,8 +257,8 @@ github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfc
|
||||||
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
|
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
|
||||||
github.com/cosmos/btcutil v1.0.4 h1:n7C2ngKXo7UC9gNyMNLbzqz7Asuf+7Qv4gnX/rOdQ44=
|
github.com/cosmos/btcutil v1.0.4 h1:n7C2ngKXo7UC9gNyMNLbzqz7Asuf+7Qv4gnX/rOdQ44=
|
||||||
github.com/cosmos/btcutil v1.0.4/go.mod h1:Ffqc8Hn6TJUdDgHBwIZLtrLQC1KdJ9jGJl/TvgUaxbU=
|
github.com/cosmos/btcutil v1.0.4/go.mod h1:Ffqc8Hn6TJUdDgHBwIZLtrLQC1KdJ9jGJl/TvgUaxbU=
|
||||||
github.com/cosmos/cosmos-proto v0.0.0-20210914142853-23ed61ac79ce h1:nin7WtIMETZ8LezEYa5e9/iqyEgQka1x0cQYqgUeTGM=
|
github.com/cosmos/cosmos-proto v0.0.0-20211123144845-528f5002c9f8 h1:JOVLjm4qgBMnjZIciFqfFMzeIIuJTOXdlpzJdvXQbVA=
|
||||||
github.com/cosmos/cosmos-proto v0.0.0-20210914142853-23ed61ac79ce/go.mod h1:g2Q3cd94kOBVRAv7ahdtO27yUc4cpNuHGnI40qanl1k=
|
github.com/cosmos/cosmos-proto v0.0.0-20211123144845-528f5002c9f8/go.mod h1:msdDWOvfStHLG+Z2y2SJ0dcqimZ2vc8M1MPnZ4jOF7U=
|
||||||
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y=
|
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y=
|
||||||
github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY=
|
github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY=
|
||||||
github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw=
|
github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw=
|
||||||
|
@ -609,8 +609,8 @@ github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtng
|
||||||
github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
|
github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
|
||||||
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
|
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
|
||||||
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
|
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
|
||||||
github.com/hashicorp/go-getter v1.4.1 h1:3A2Mh8smGFcf5M+gmcv898mZdrxpseik45IpcyISLsA=
|
github.com/hashicorp/go-getter v1.5.9 h1:b7ahZW50iQiUek/at3CvZhPK1/jiV6CtKcsJiR6E4R0=
|
||||||
github.com/hashicorp/go-getter v1.4.1/go.mod h1:7qxyCd8rBfcShwsvxgIguu4KbS3l8bUCwg2Umn7RjeY=
|
github.com/hashicorp/go-getter v1.5.9/go.mod h1:BrrV/1clo8cCYu6mxvboYg+KutTiFnXjMEgDD8+i7ZI=
|
||||||
github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
|
github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
|
||||||
github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
|
github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
|
||||||
github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
|
github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
|
||||||
|
@ -733,6 +733,7 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o
|
||||||
github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4=
|
github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4=
|
||||||
github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
|
github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
|
||||||
github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
|
github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
|
||||||
|
github.com/klauspost/compress v1.11.2/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
|
||||||
github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
|
github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
|
||||||
github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg=
|
github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg=
|
||||||
github.com/klauspost/compress v1.13.4/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg=
|
github.com/klauspost/compress v1.13.4/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg=
|
||||||
|
@ -1210,8 +1211,8 @@ github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGr
|
||||||
github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
|
github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
|
||||||
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
|
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
|
||||||
github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
|
github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
|
||||||
github.com/ulikunitz/xz v0.5.5 h1:pFrO0lVpTBXLpYw+pnLj6TbvHuyjXMfjGeCwSqCVwok=
|
github.com/ulikunitz/xz v0.5.8 h1:ERv8V6GKqVi23rgu5cj9pVfVzJbOqAY2Ntl88O6c2nQ=
|
||||||
github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8=
|
github.com/ulikunitz/xz v0.5.8/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
|
||||||
github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA=
|
github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA=
|
||||||
github.com/ultraware/whitespace v0.0.4/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA=
|
github.com/ultraware/whitespace v0.0.4/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA=
|
||||||
github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
|
github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
|
||||||
|
|
|
@ -8,7 +8,6 @@ import (
|
||||||
fmt "fmt"
|
fmt "fmt"
|
||||||
_ "github.com/cosmos/cosmos-proto"
|
_ "github.com/cosmos/cosmos-proto"
|
||||||
query "github.com/cosmos/cosmos-sdk/types/query"
|
query "github.com/cosmos/cosmos-sdk/types/query"
|
||||||
_ "github.com/gogo/protobuf/gogoproto"
|
|
||||||
grpc1 "github.com/gogo/protobuf/grpc"
|
grpc1 "github.com/gogo/protobuf/grpc"
|
||||||
proto "github.com/gogo/protobuf/proto"
|
proto "github.com/gogo/protobuf/proto"
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
|
@ -1205,65 +1204,64 @@ func init() {
|
||||||
func init() { proto.RegisterFile("cosmos/group/v1beta1/query.proto", fileDescriptor_ae47912b18757b1a) }
|
func init() { proto.RegisterFile("cosmos/group/v1beta1/query.proto", fileDescriptor_ae47912b18757b1a) }
|
||||||
|
|
||||||
var fileDescriptor_ae47912b18757b1a = []byte{
|
var fileDescriptor_ae47912b18757b1a = []byte{
|
||||||
// 915 bytes of a gzipped FileDescriptorProto
|
// 900 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4d, 0x6f, 0xd3, 0x58,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcf, 0x4f, 0xd4, 0x40,
|
||||||
0x14, 0xed, 0x9b, 0xe9, 0xe7, 0xed, 0x74, 0x66, 0xe4, 0xc9, 0xcc, 0xa4, 0x9e, 0x21, 0x4d, 0x4d,
|
0x14, 0x66, 0x94, 0x9f, 0x0f, 0x51, 0x53, 0x51, 0x97, 0xaa, 0xcb, 0x52, 0x89, 0x12, 0x90, 0x2e,
|
||||||
0x05, 0x55, 0x4b, 0x9d, 0x36, 0x15, 0x8d, 0x28, 0x08, 0xa9, 0x59, 0x50, 0x75, 0x51, 0xa9, 0xb8,
|
0x2c, 0x91, 0x8d, 0x68, 0x4c, 0xd8, 0x83, 0x84, 0x03, 0x09, 0x96, 0xc4, 0x83, 0x1e, 0x48, 0x77,
|
||||||
0x12, 0x0b, 0x58, 0x54, 0x4e, 0xe2, 0x9a, 0x08, 0xe2, 0x97, 0xda, 0x4e, 0xd5, 0x0a, 0xb1, 0xe3,
|
0xb7, 0xac, 0x1b, 0xdd, 0x76, 0x69, 0xbb, 0x04, 0x62, 0xbc, 0xf9, 0xe3, 0x4a, 0x34, 0x31, 0xd1,
|
||||||
0x63, 0x5b, 0x81, 0x84, 0x04, 0x0b, 0x24, 0x7e, 0x00, 0x3b, 0x76, 0xfc, 0x01, 0x76, 0x54, 0xac,
|
0x83, 0x89, 0x7f, 0x80, 0x37, 0x6f, 0xfe, 0x03, 0xde, 0x24, 0x9e, 0x3c, 0x1a, 0xf8, 0x47, 0x4c,
|
||||||
0x58, 0xa2, 0xf6, 0x8f, 0x20, 0xbf, 0x77, 0x6d, 0xc7, 0x89, 0x63, 0x3b, 0x60, 0x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0xf3,
|
||||||
0xc4, 0x4e, 0x72, 0xec, 0x0e, 0x0f, 0x82, 0x32, 0xd8, 0x83, 0x54, 0x84, 0xbf, 0x6f, 0x3a, 0xe4,
|
0xf7, 0x1d, 0xf2, 0x8a, 0x93, 0x68, 0x55, 0xdf, 0x32, 0x14, 0x6d, 0xbb, 0xa1, 0x59, 0xb6, 0x30,
|
||||||
0x75, 0x27, 0xfd, 0x86, 0xb1, 0x4b, 0x15, 0x6d, 0xaf, 0xa5, 0x59, 0xb6, 0x30, 0x09, 0xa3, 0x4c,
|
0x06, 0x83, 0x34, 0xf9, 0x66, 0xb5, 0x9c, 0x22, 0x19, 0x32, 0xd5, 0xab, 0x0c, 0xd0, 0xf5, 0x6a,
|
||||||
0xd2, 0x4e, 0xbd, 0x96, 0x25, 0x79, 0x32, 0x3b, 0xa8, 0x8c, 0xb0, 0xe7, 0x8d, 0x9a, 0xb4, 0x09,
|
0x59, 0x5a, 0x83, 0x0b, 0xad, 0x1c, 0xab, 0x6e, 0xe8, 0x96, 0x26, 0x2c, 0x40, 0x6f, 0x55, 0xdf,
|
||||||
0xff, 0x74, 0x72, 0xac, 0x26, 0x35, 0x2c, 0x4d, 0x58, 0x86, 0xc1, 0xba, 0xb1, 0x4b, 0x19, 0x61,
|
0x32, 0x28, 0x61, 0x38, 0x37, 0x2e, 0xf3, 0xf6, 0x26, 0xfb, 0x34, 0x0a, 0x96, 0x14, 0xb8, 0xec,
|
||||||
0xbc, 0x38, 0x25, 0x87, 0xad, 0x58, 0xf6, 0x69, 0x0c, 0x2c, 0x29, 0xf0, 0xbf, 0x1f, 0x6e, 0xad,
|
0x87, 0x5b, 0x2e, 0x95, 0x8c, 0x86, 0x6e, 0x37, 0x2b, 0xc9, 0xc1, 0x80, 0x5a, 0x2e, 0x9b, 0x9a,
|
||||||
0x5a, 0xa5, 0x2d, 0xc3, 0x6e, 0x57, 0x52, 0x84, 0x11, 0xb5, 0x56, 0x33, 0x35, 0xcb, 0x62, 0x71,
|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
0x36, 0xc7, 0xdc, 0x72, 0x8b, 0x1e, 0xb6, 0x35, 0x06, 0x4c, 0xae, 0xd8, 0x6f, 0x08, 0x8e, 0x32,
|
||||||
0x2d, 0xb7, 0xe8, 0x51, 0x4b, 0xe3, 0xc0, 0xf4, 0x8a, 0xfd, 0x8c, 0xe0, 0x28, 0x83, 0xda, 0x02,
|
0xa8, 0x2d, 0x50, 0x66, 0xaf, 0x8a, 0x24, 0x56, 0x15, 0x13, 0x33, 0xec, 0x9d, 0x3b, 0x3b, 0x04,
|
||||||
0x65, 0xf6, 0xaa, 0x48, 0x12, 0x55, 0x31, 0x35, 0xc3, 0x5e, 0xb8, 0xb3, 0x43, 0x50, 0xd4, 0x4f,
|
0x45, 0xfd, 0x77, 0xb7, 0x72, 0xdf, 0x01, 0xfa, 0xa8, 0x30, 0x61, 0x0b, 0x86, 0xbc, 0x29, 0x40,
|
||||||
0x77, 0xab, 0xf8, 0x11, 0x60, 0x88, 0x09, 0x13, 0x76, 0x61, 0xcc, 0x9b, 0x02, 0x84, 0xf9, 0x70,
|
0x98, 0xe1, 0x4b, 0xe0, 0x8e, 0xd5, 0xe2, 0x8d, 0x78, 0x60, 0xdc, 0xec, 0x33, 0x38, 0xdb, 0x7a,
|
||||||
0x09, 0xa1, 0x63, 0xb5, 0x78, 0x29, 0x19, 0x18, 0x17, 0xfb, 0x00, 0xfe, 0xec, 0x3c, 0xda, 0x85,
|
0xb5, 0x0b, 0xb9, 0xa8, 0x08, 0xed, 0x23, 0xb4, 0xb8, 0xd0, 0x15, 0x07, 0x93, 0x1b, 0x70, 0xaa,
|
||||||
0x62, 0x5c, 0x84, 0xee, 0x11, 0x5a, 0x5c, 0xee, 0x8b, 0x83, 0xc9, 0x29, 0xfc, 0xd6, 0x3e, 0x61,
|
0x79, 0xc2, 0x14, 0xe4, 0xa8, 0x20, 0xc1, 0x51, 0x58, 0xcc, 0xc6, 0xc6, 0x63, 0x42, 0x13, 0x46,
|
||||||
0x0a, 0x72, 0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f, 0x2c, 0xf0, 0xcf, 0x82, 0x55, 0xbb, 0x57, 0x38, 0xe0, 0x9f, 0x4b, 0x2a,
|
0xa4, 0xd8, 0x4f, 0x3f, 0x62, 0x2c, 0xfc, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xbd, 0xd9, 0x5b, 0xcf,
|
||||||
0xc3, 0xec, 0x23, 0xc6, 0xf2, 0xd7, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd6, 0x49, 0xfa, 0xed, 0x7d,
|
0x67, 0x11, 0x00, 0x00,
|
||||||
0x11, 0x00, 0x00,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|
|
@ -6,7 +6,6 @@ package types
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
fmt "fmt"
|
fmt "fmt"
|
||||||
_ "github.com/cosmos/cosmos-sdk/codec/types"
|
|
||||||
grpc1 "github.com/gogo/protobuf/grpc"
|
grpc1 "github.com/gogo/protobuf/grpc"
|
||||||
proto "github.com/gogo/protobuf/proto"
|
proto "github.com/gogo/protobuf/proto"
|
||||||
_ "google.golang.org/genproto/googleapis/api/annotations"
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||||||
|
@ -423,44 +422,43 @@ func init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
var fileDescriptor_4a334d07ad8374f0 = []byte{
|
var fileDescriptor_4a334d07ad8374f0 = []byte{
|
||||||
// 588 bytes of a gzipped FileDescriptorProto
|
// 576 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6f, 0xd3, 0x3c,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcf, 0x6e, 0xd3, 0x30,
|
||||||
0x1c, 0xae, 0xbb, 0x6e, 0x7a, 0x5f, 0x17, 0x0d, 0xe4, 0x43, 0xc9, 0xc2, 0x14, 0x2a, 0x33, 0xa0,
|
0x1c, 0xae, 0xbb, 0x6e, 0x02, 0x17, 0x0d, 0xe4, 0x43, 0x09, 0x61, 0x0a, 0x95, 0x19, 0x50, 0xc4,
|
||||||
0x88, 0x35, 0xde, 0xda, 0x0b, 0x1a, 0x02, 0x01, 0x93, 0x10, 0x43, 0x30, 0x41, 0x11, 0x1c, 0xb8,
|
0x1a, 0x6f, 0xed, 0x05, 0x0d, 0x81, 0x80, 0x49, 0x88, 0x21, 0x98, 0xa0, 0x08, 0x0e, 0x5c, 0x2a,
|
||||||
0x54, 0x6e, 0x63, 0xda, 0x88, 0x24, 0xce, 0x62, 0x67, 0x62, 0x9a, 0x76, 0xe1, 0xc4, 0x11, 0x89,
|
0xb7, 0xb1, 0xda, 0x88, 0x24, 0xce, 0x62, 0x67, 0x62, 0x9a, 0x76, 0xe1, 0xc4, 0x11, 0x89, 0x3b,
|
||||||
0x3b, 0x37, 0x2e, 0x7c, 0x12, 0x8e, 0x93, 0xb8, 0x70, 0xd8, 0x01, 0xb5, 0x7c, 0x10, 0x14, 0xc7,
|
0x37, 0x2e, 0x3c, 0x09, 0xc7, 0x49, 0x5c, 0x38, 0xec, 0x80, 0x5a, 0x1e, 0x04, 0xc5, 0x71, 0x51,
|
||||||
0x45, 0x29, 0x4d, 0x3a, 0xe0, 0xd4, 0xc6, 0x7e, 0xfe, 0xfd, 0xe2, 0xc7, 0x81, 0xb8, 0xcf, 0x85,
|
0x4a, 0x93, 0x0e, 0x76, 0x6a, 0x63, 0x7f, 0xff, 0x7e, 0xf1, 0xe7, 0x40, 0xdc, 0xe7, 0xc2, 0xe7,
|
||||||
0xcf, 0x05, 0x89, 0xc3, 0x41, 0x44, 0x1d, 0x46, 0xf6, 0x37, 0x7b, 0x4c, 0xd2, 0x4d, 0xb2, 0x17,
|
0x82, 0xc4, 0xe1, 0x20, 0xa2, 0x0e, 0x23, 0x7b, 0x1b, 0x3d, 0x26, 0xe9, 0x06, 0xd9, 0x8d, 0x59,
|
||||||
0xb3, 0xe8, 0xc0, 0x0e, 0x23, 0x2e, 0x39, 0xaa, 0xa5, 0x18, 0x5b, 0x63, 0x6c, 0x8d, 0x31, 0x57,
|
0xb4, 0x6f, 0x87, 0x11, 0x97, 0x1c, 0xd5, 0x52, 0x8c, 0xad, 0x31, 0xb6, 0xc6, 0x98, 0x2b, 0x03,
|
||||||
0x06, 0x9c, 0x0f, 0x3c, 0x46, 0x14, 0xaa, 0x17, 0xbf, 0x22, 0x34, 0xd0, 0x14, 0x73, 0x55, 0x6f,
|
0xce, 0x07, 0x1e, 0x23, 0x34, 0x74, 0x09, 0x0d, 0x02, 0x2e, 0xa9, 0x74, 0x79, 0x20, 0x52, 0x96,
|
||||||
0xd1, 0xd0, 0x25, 0x34, 0x08, 0xb8, 0xa4, 0xd2, 0xe5, 0x81, 0xd0, 0xbb, 0x6b, 0x05, 0xa6, 0x13,
|
0xb9, 0x5a, 0xa0, 0x3c, 0x51, 0x51, 0x28, 0x7c, 0x09, 0x5e, 0x7c, 0x91, 0x58, 0x6d, 0xc5, 0x51,
|
||||||
0x03, 0x85, 0xc2, 0x2b, 0xf0, 0xfc, 0xd3, 0x24, 0xc5, 0x76, 0x1c, 0x45, 0x2c, 0x90, 0x4f, 0x3c,
|
0xc4, 0x02, 0xf9, 0xdc, 0xa3, 0x41, 0x87, 0xed, 0xc6, 0x4c, 0x48, 0xfc, 0x14, 0x1a, 0xb3, 0x5b,
|
||||||
0x1a, 0x74, 0xd8, 0x5e, 0xcc, 0x84, 0xc4, 0x8f, 0xa0, 0x31, 0xbb, 0x25, 0x42, 0x1e, 0x08, 0x86,
|
0x22, 0xe4, 0x81, 0x60, 0x68, 0x1d, 0x56, 0x42, 0x8f, 0x06, 0x06, 0xa8, 0x83, 0x46, 0xb5, 0xb5,
|
||||||
0x36, 0x60, 0x25, 0xf4, 0x68, 0x60,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, 0x73, 0x7f, 0x22, 0x96, 0xfe, 0x34, 0x85,
|
0x2c, 0xfd, 0x69, 0x0a, 0xe7, 0x2d, 0x79, 0xf7, 0x47, 0x59, 0xee, 0x87, 0x4c, 0xf4, 0x96, 0xd4,
|
||||||
0xf3, 0x9a, 0xbc, 0xf9, 0xa5, 0x2c, 0x0f, 0x42, 0x26, 0x7a, 0x4b, 0xea, 0xeb, 0xda, 0xfe, 0x19,
|
0xd7, 0xb5, 0xfd, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xc6, 0x89, 0xe8, 0xba, 0xdf, 0x05, 0x00, 0x00,
|
||||||
0x00, 0x00, 0xff, 0xff, 0x80, 0xcd, 0x5d, 0xc6, 0xfa, 0x05, 0x00, 0x00,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reference imports to suppress errors if they are not otherwise used.
|
// Reference imports to suppress errors if they are not otherwise used.
|
||||||
|
|
Loading…
Reference in New Issue