Audit / Refactor proto packages layout (#6905)
* create base proto package, move ValAddresses to staking * move tx, crypto, query proto packages into base; mark module level packages as beta * new cosmos/base/abci.proto file, refactor some message names * add comments to TxResponse * refactor RegisterInterface calls to new proto package names * fix bug in merge commit * move missing module proto packages to beta, move cosmos.kv to cosmos.base.kv * add tx.proto files, holding proto messages for module Msgs * rm old generated pb.go files * cosmos/base/base.proto -> cosmos/base/coin.proto * mark genutil proto package as beta * Fix conflicts * Restructure proto files * Re put signing * Fix test * Update slashing genesis * Ignore confio proto files * Fix interface register * Make proto-gen * Fix lint * Put tx service into tx.v1beta1 * Use v1beta1 in interface registry * Remove to cosmos.base.store * Remove extra confio in buf Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com> Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
co-authored by
Amaury Martiny
Alexander Bezobchuk
Federico Kunze
parent
7a0d5ff718
commit
61a97ef347
@@ -1,5 +1,5 @@
|
||||
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
||||
// source: cosmos/query/pagination.proto
|
||||
// source: cosmos/base/query/v1beta1/pagination.proto
|
||||
|
||||
package query
|
||||
|
||||
@@ -51,7 +51,7 @@ func (m *PageRequest) Reset() { *m = PageRequest{} }
|
||||
func (m *PageRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*PageRequest) ProtoMessage() {}
|
||||
func (*PageRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4353dcf7b0208338, []int{0}
|
||||
return fileDescriptor_53d6d609fe6828af, []int{0}
|
||||
}
|
||||
func (m *PageRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
@@ -128,7 +128,7 @@ func (m *PageResponse) Reset() { *m = PageResponse{} }
|
||||
func (m *PageResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*PageResponse) ProtoMessage() {}
|
||||
func (*PageResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_4353dcf7b0208338, []int{1}
|
||||
return fileDescriptor_53d6d609fe6828af, []int{1}
|
||||
}
|
||||
func (m *PageResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
@@ -172,30 +172,33 @@ func (m *PageResponse) GetTotal() uint64 {
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*PageRequest)(nil), "cosmos.query.PageRequest")
|
||||
proto.RegisterType((*PageResponse)(nil), "cosmos.query.PageResponse")
|
||||
proto.RegisterType((*PageRequest)(nil), "cosmos.base.query.v1beta1.PageRequest")
|
||||
proto.RegisterType((*PageResponse)(nil), "cosmos.base.query.v1beta1.PageResponse")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("cosmos/query/pagination.proto", fileDescriptor_4353dcf7b0208338) }
|
||||
func init() {
|
||||
proto.RegisterFile("cosmos/base/query/v1beta1/pagination.proto", fileDescriptor_53d6d609fe6828af)
|
||||
}
|
||||
|
||||
var fileDescriptor_4353dcf7b0208338 = []byte{
|
||||
// 251 bytes of a gzipped FileDescriptorProto
|
||||
var fileDescriptor_53d6d609fe6828af = []byte{
|
||||
// 266 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x44, 0x90, 0xc1, 0x4a, 0xc3, 0x40,
|
||||
0x10, 0x86, 0xb3, 0xb6, 0xd6, 0x32, 0xcd, 0x41, 0x16, 0x91, 0x78, 0x70, 0x0d, 0x3d, 0xe5, 0x62,
|
||||
0x72, 0xf0, 0x01, 0x84, 0x5e, 0xbd, 0x48, 0xf0, 0xe4, 0xa5, 0xa4, 0x71, 0x1a, 0x97, 0x36, 0x3b,
|
||||
0x69, 0x77, 0x02, 0xe6, 0x2d, 0x7c, 0x2c, 0x8f, 0x3d, 0x7a, 0x94, 0xe4, 0x45, 0x24, 0xd9, 0x40,
|
||||
0x4f, 0xbb, 0xd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ff, 0xff, 0xe5, 0x66, 0x0a, 0x76, 0x2a, 0x01, 0x00, 0x00,
|
||||
0x14, 0x45, 0x33, 0xb6, 0xd6, 0x32, 0xed, 0x42, 0x06, 0x91, 0x74, 0x33, 0x86, 0xae, 0x82, 0x60,
|
||||
0x86, 0xe2, 0x07, 0x08, 0xdd, 0xba, 0x91, 0xe0, 0xca, 0x4d, 0x99, 0xc4, 0xd7, 0x18, 0xda, 0xcc,
|
||||
0x4b, 0x3b, 0x2f, 0x62, 0xfe, 0xc2, 0xcf, 0x72, 0xd9, 0xa5, 0x4b, 0x49, 0x7e, 0x44, 0x92, 0x09,
|
||||
0x74, 0x35, 0x73, 0x2f, 0x87, 0x77, 0xe0, 0xf2, 0xfb, 0x14, 0x6d, 0x81, 0x56, 0x25, 0xda, 0x82,
|
||||
0x3a, 0x54, 0x70, 0xac, 0xd5, 0xe7, 0x2a, 0x01, 0xd2, 0x2b, 0x55, 0xea, 0x2c, 0x37, 0x9a, 0x72,
|
||||
0x34, 0x51, 0x79, 0x44, 0x42, 0xb1, 0x70, 0x6c, 0xd4, 0xb1, 0x51, 0xcf, 0x46, 0x03, 0xbb, 0x34,
|
||||
0x7c, 0xf6, 0xa2, 0x33, 0x88, 0xe1, 0x50, 0x81, 0x25, 0x71, 0xcd, 0x47, 0x3b, 0xa8, 0x7d, 0x16,
|
||||
0xb0, 0x70, 0x1e, 0x77, 0x5f, 0x71, 0xcb, 0x27, 0xb8, 0xdd, 0x5a, 0x20, 0xff, 0x22, 0x60, 0xe1,
|
||||
0x38, 0x1e, 0x92, 0xb8, 0xe1, 0x97, 0xfb, 0xbc, 0xc8, 0xc9, 0x1f, 0xf5, 0xb5, 0x0b, 0xe2, 0x8e,
|
||||
0xcf, 0x52, 0xac, 0x0c, 0x6d, 0x08, 0x49, 0xef, 0xfd, 0x71, 0xc0, 0xc2, 0x69, 0xcc, 0xfb, 0xea,
|
||||
0xb5, 0x6b, 0x96, 0x4f, 0x7c, 0xee, 0x7c, 0xb6, 0x44, 0x63, 0x41, 0x2c, 0xf8, 0xd4, 0xc0, 0x17,
|
||||
0x6d, 0xce, 0xd6, 0xab, 0x2e, 0x3f, 0x43, 0xdd, 0x19, 0xdc, 0x15, 0x27, 0x76, 0x61, 0xbd, 0xfe,
|
||||
0x69, 0x24, 0x3b, 0x35, 0x92, 0xfd, 0x35, 0x92, 0x7d, 0xb7, 0xd2, 0x3b, 0xb5, 0xd2, 0xfb, 0x6d,
|
||||
0xa5, 0xf7, 0x16, 0x66, 0x39, 0x7d, 0x54, 0x49, 0x94, 0x62, 0xa1, 0x86, 0x71, 0xdc, 0xf3, 0x60,
|
||||
0xdf, 0x77, 0x8a, 0xea, 0x12, 0xac, 0x1b, 0x2a, 0x99, 0xf4, 0xb3, 0x3c, 0xfe, 0x07, 0x00, 0x00,
|
||||
0xff, 0xff, 0xb5, 0x65, 0x82, 0x18, 0x44, 0x01, 0x00, 0x00,
|
||||
}
|
||||
|
||||
func (m *PageRequest) Marshal() (dAtA []byte, err error) {
|
||||
|
||||
Reference in New Issue
Block a user