mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 01:41:44 +00:00
refactor: optimize oracle genesis proto
This commit is contained in:
@@ -126,8 +126,9 @@ type ServiceCategories struct {
|
||||
Categories []string `protobuf:"bytes,1,rep,name=categories,proto3" json:"categories,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ServiceCategories) Reset() { *m = ServiceCategories{} }
|
||||
func (*ServiceCategories) ProtoMessage() {}
|
||||
func (m *ServiceCategories) Reset() { *m = ServiceCategories{} }
|
||||
func (m *ServiceCategories) String() string { return proto.CompactTextString(m) }
|
||||
func (*ServiceCategories) ProtoMessage() {}
|
||||
func (*ServiceCategories) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_0ce55e499988823a, []int{2}
|
||||
}
|
||||
@@ -169,8 +170,9 @@ type ServiceTypes struct {
|
||||
Types []string `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ServiceTypes) Reset() { *m = ServiceTypes{} }
|
||||
func (*ServiceTypes) ProtoMessage() {}
|
||||
func (m *ServiceTypes) Reset() { *m = ServiceTypes{} }
|
||||
func (m *ServiceTypes) String() string { return proto.CompactTextString(m) }
|
||||
func (*ServiceTypes) ProtoMessage() {}
|
||||
func (*ServiceTypes) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_0ce55e499988823a, []int{3}
|
||||
}
|
||||
@@ -320,35 +322,35 @@ func init() {
|
||||
func init() { proto.RegisterFile("service/v1/genesis.proto", fileDescriptor_0ce55e499988823a) }
|
||||
|
||||
var fileDescriptor_0ce55e499988823a = []byte{
|
||||
// 440 bytes of a gzipped FileDescriptorProto
|
||||
// 442 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0xbf, 0x6e, 0x13, 0x41,
|
||||
0x10, 0xc6, 0x6f, 0x6d, 0xe7, 0x12, 0x4f, 0xfe, 0x48, 0x19, 0x45, 0x68, 0x65, 0xe0, 0x6c, 0x19,
|
||||
0x09, 0x59, 0x14, 0x77, 0x04, 0xba, 0x48, 0x48, 0x51, 0x28, 0xa0, 0x44, 0x97, 0x54, 0x34, 0xe8,
|
||||
0x62, 0xaf, 0xd6, 0x5b, 0xf8, 0xf6, 0xb4, 0xbb, 0xb1, 0xe2, 0x57, 0xa0, 0xa2, 0xa0, 0xa0, 0xcc,
|
||||
0x23, 0xf0, 0x18, 0x29, 0x53, 0x22, 0x0a, 0x84, 0xec, 0x02, 0x1e, 0x03, 0xdd, 0xec, 0x9d, 0x7d,
|
||||
0x40, 0x9a, 0xd5, 0xec, 0xf7, 0xcd, 0xfc, 0xee, 0xdb, 0xd1, 0x01, 0xb7, 0xc2, 0xcc, 0xd5, 0x58,
|
||||
0x24, 0xf3, 0xe3, 0x44, 0x8a, 0x5c, 0x58, 0x65, 0xe3, 0xc2, 0x68, 0xa7, 0x11, 0x2a, 0x27, 0x9e,
|
||||
0x1f, 0xf7, 0x0e, 0xb3, 0x99, 0xca, 0x75, 0x42, 0xa7, 0xb7, 0x7b, 0x47, 0x52, 0x4b, 0x4d, 0x65,
|
||||
0x52, 0x56, 0x5e, 0x1d, 0x9e, 0xc2, 0xde, 0x1b, 0x4f, 0x39, 0x77, 0x99, 0x13, 0xf8, 0x1c, 0xc2,
|
||||
0x22, 0x33, 0xd9, 0xcc, 0x72, 0x36, 0x60, 0xa3, 0xdd, 0x17, 0x18, 0x6f, 0xa8, 0xf1, 0x3b, 0x72,
|
||||
0xce, 0x3a, 0xb7, 0x3f, 0xfa, 0x41, 0x5a, 0xf5, 0x0d, 0x3f, 0x33, 0x08, 0xbd, 0x81, 0xaf, 0x00,
|
||||
0xc6, 0x99, 0x13, 0x52, 0x1b, 0x25, 0x6a, 0xc0, 0xe3, 0x26, 0xe0, 0xdc, 0x97, 0xaf, 0xd7, 0x4d,
|
||||
0x69, 0x63, 0x00, 0x63, 0xd8, 0x72, 0x8b, 0x42, 0x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 0xbc, 0xf8, 0x96, 0xb4, 0xb3, 0xd3, 0xdb, 0x65, 0xc4, 0xee,
|
||||
0x96, 0x11, 0xfb, 0xb9, 0x8c, 0xd8, 0xa7, 0x55, 0x14, 0xdc, 0xad, 0xa2, 0xe0, 0xdb, 0x2a, 0x0a,
|
||||
0xde, 0x3f, 0x95, 0xca, 0x4d, 0xaf, 0x2e, 0xe3, 0xb1, 0x9e, 0x25, 0x3a, 0xb7, 0x3a, 0x37, 0x09,
|
||||
0x1d, 0xd7, 0xc9, 0x5f, 0xeb, 0xb9, 0x0c, 0xe9, 0xb7, 0x7c, 0xf9, 0x27, 0x00, 0x00, 0xff, 0xff,
|
||||
0x83, 0xd2, 0x44, 0x64, 0xe7, 0x02, 0x00, 0x00,
|
||||
0x10, 0xc6, 0x6f, 0x6d, 0xe7, 0x12, 0x4f, 0x9c, 0x48, 0x19, 0x45, 0xd1, 0xca, 0x81, 0xb3, 0x65,
|
||||
0x24, 0x64, 0x51, 0xdc, 0x11, 0xe8, 0x22, 0x90, 0xa2, 0x50, 0x40, 0x19, 0x5d, 0xa8, 0x68, 0xd0,
|
||||
0xc5, 0x5e, 0xad, 0xb7, 0xf0, 0xed, 0x69, 0x77, 0x63, 0xc5, 0xaf, 0x40, 0x45, 0x41, 0x41, 0x99,
|
||||
0x47, 0xe0, 0x31, 0x52, 0xa6, 0x44, 0x14, 0x08, 0xd9, 0x05, 0x3c, 0x06, 0xf2, 0xec, 0x9d, 0x7d,
|
||||
0xfc, 0x69, 0x56, 0xb3, 0xdf, 0xb7, 0xf3, 0xbb, 0x6f, 0x46, 0x07, 0xdc, 0x0a, 0x33, 0x53, 0x23,
|
||||
0x91, 0xcc, 0x4e, 0x12, 0x29, 0x72, 0x61, 0x95, 0x8d, 0x0b, 0xa3, 0x9d, 0x46, 0x28, 0x9d, 0x78,
|
||||
0x76, 0xd2, 0x3d, 0xc8, 0xa6, 0x2a, 0xd7, 0x09, 0x9d, 0xde, 0xee, 0x1e, 0x4a, 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3, 0xb7, 0xd3, 0x8d, 0x80, 0x47, 0x10,
|
||||
0x6a, 0xa3, 0xa4, 0xca, 0x79, 0x93, 0xac, 0xf2, 0x86, 0x08, 0xad, 0x3c, 0x9b, 0x0a, 0xde, 0x22,
|
||||
0x95, 0x6a, 0xec, 0xc3, 0xee, 0x58, 0xd8, 0x91, 0x51, 0x85, 0x53, 0x3a, 0xe7, 0x5b, 0x64, 0xd5,
|
||||
0x25, 0xec, 0xc2, 0x4e, 0x39, 0xd3, 0x9c, 0x87, 0x64, 0xaf, 0xef, 0x2b, 0xa2, 0xcb, 0xa4, 0xe5,
|
||||
0xdb, 0x34, 0x10, 0xd5, 0xf8, 0x08, 0xf6, 0xc4, 0x4d, 0xa1, 0xcc, 0xfc, 0xfd, 0x44, 0x28, 0x39,
|
||||
0x71, 0x7c, 0xa7, 0xcf, 0x86, 0xcd, 0xb4, 0xe3, 0xc5, 0x37, 0xa4, 0x9d, 0x9f, 0xdd, 0x2d, 0x22,
|
||||
0x76, 0xbf, 0x88, 0xd8, 0x8f, 0x45, 0xc4, 0x3e, 0x2e, 0xa3, 0xe0, 0x7e, 0x19, 0x05, 0x5f, 0x97,
|
||||
0x51, 0xf0, 0xee, 0xb1, 0x54, 0x6e, 0x72, 0x7d, 0x15, 0x8f, 0xf4, 0x34, 0xd1, 0xb9, 0xd5, 0xb9,
|
||||
0x49, 0xe8, 0xb8, 0x49, 0xfe, 0x58, 0xcf, 0x55, 0x48, 0xbf, 0xe3, 0xf3, 0xdf, 0x01, 0x00, 0x00,
|
||||
0xff, 0xff, 0xe6, 0x6d, 0xb2, 0xb0, 0xdf, 0x02, 0x00, 0x00,
|
||||
}
|
||||
|
||||
func (this *Params) Equal(that interface{}) bool {
|
||||
|
||||
@@ -5,9 +5,7 @@ import (
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
)
|
||||
|
||||
var (
|
||||
_ sdk.Msg = &MsgUpdateParams{}
|
||||
)
|
||||
var _ sdk.Msg = &MsgUpdateParams{}
|
||||
|
||||
// NewMsgUpdateParams creates new instance of MsgUpdateParams
|
||||
func NewMsgUpdateParams(
|
||||
@@ -16,8 +14,8 @@ func NewMsgUpdateParams(
|
||||
) *MsgUpdateParams {
|
||||
return &MsgUpdateParams{
|
||||
Authority: sender.String(),
|
||||
Params: Params{
|
||||
SomeValue: someValue,
|
||||
Params: Params{
|
||||
// SomeValue: someValue,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,9 +7,7 @@ import (
|
||||
// DefaultParams returns default module parameters.
|
||||
func DefaultParams() Params {
|
||||
// TODO:
|
||||
return Params{
|
||||
SomeValue: true,
|
||||
}
|
||||
return Params{}
|
||||
}
|
||||
|
||||
// Stringer method for Params.
|
||||
|
||||
Reference in New Issue
Block a user