From 63507e8d27bc7867c0cb0ccc6b7c9894dd7d882e Mon Sep 17 00:00:00 2001 From: scorpioborn <97235353+scorpioborn@users.noreply.github.com> Date: Mon, 20 Nov 2023 15:57:05 +0300 Subject: [PATCH] lint: proto format --- proto/sge/subaccount/ticket.proto | 4 +-- x/subaccount/types/ticket.pb.go | 42 +++++++++++++++---------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/proto/sge/subaccount/ticket.proto b/proto/sge/subaccount/ticket.proto index 7163bd14..36770bc2 100644 --- a/proto/sge/subaccount/ticket.proto +++ b/proto/sge/subaccount/ticket.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package sgenetwork.sge.bet; +package sgenetwork.sge.subaccount; import "gogoproto/gogo.proto"; @@ -9,7 +9,7 @@ option go_package = "github.com/sge-network/sge/x/subaccount/types"; // SubAccWagerTicketPayload indicates data of subaccount wager ticket. message SubAccWagerTicketPayload { - // msg holds normal wager message + // msg holds normal wager message sgenetwork.sge.bet.MsgWager msg = 1; // mainacc_deduct_amount is amount to be deducted from main account string mainacc_deduct_amount = 2 [ diff --git a/x/subaccount/types/ticket.pb.go b/x/subaccount/types/ticket.pb.go index 603e394d..d7cc2c90 100644 --- a/x/subaccount/types/ticket.pb.go +++ b/x/subaccount/types/ticket.pb.go @@ -76,32 +76,32 @@ func (m *SubAccWagerTicketPayload) GetMsg() *types.MsgWager { } func init() { - proto.RegisterType((*SubAccWagerTicketPayload)(nil), "sgenetwork.sge.bet.SubAccWagerTicketPayload") + proto.RegisterType((*SubAccWagerTicketPayload)(nil), "sgenetwork.sge.subaccount.SubAccWagerTicketPayload") } func init() { proto.RegisterFile("sge/subaccount/ticket.proto", fileDescriptor_70127b4abdfb0944) } var fileDescriptor_70127b4abdfb0944 = []byte{ - // 297 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0x4f, 0x4b, 0xc3, 0x30, - 0x18, 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75, 0xa4, 0x75, 0xc6, 0x3a, 0x17, 0xa7, 0x34, 0xb1, - 0xcc, 0x70, 0x98, 0xd1, 0xab, 0x0c, 0x26, 0x87, 0x5b, 0xf6, 0xc2, 0xa3, 0x23, 0x4f, 0xe2, 0x9b, - 0xb0, 0xdd, 0xc4, 0xfe, 0x65, 0x6c, 0xfd, 0xc7, 0x88, 0x1b, 0xf4, 0xbb, 0x70, 0x7c, 0xb9, 0x2a, - 0x09, 0x5a, 0x97, 0x04, 0x7d, 0x94, 0x04, 0xbd, 0x56, 0x24, 0x58, 0x57, 0x24, 0x78, 0xab, 0x48, - 0xf0, 0x34, 0xd4, 0x09, 0xcc, 0x0a, 0x41, 0xa5, 0x35, 0xcc, 0x69, 0x35, 0xdc, 0x66, 0xad, 0x67, - 0xb6, 0xf8, 0x51, 0xfe, 0x72, 0xae, 0x9c, 0xd8, 0xf5, 0x05, 0x9e, 0x7f, 0x05, 0x00, 0x00, 0xff, - 0xff, 0x93, 0x8b, 0xf6, 0x75, 0x9b, 0x01, 0x00, 0x00, + // 299 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x41, 0x4a, 0x03, 0x31, + 0x14, 0x86, 0x27, 0x16, 0x04, 0xc7, 0x8d, 0x8c, 0x2d, 0xd4, 0xaa, 0x69, 0x71, 0xd5, 0x4d, 0x13, + 0xd0, 0x13, 0xb4, 0x08, 0xe2, 0x42, 0xd4, 0x2a, 0x08, 0x6e, 0x4a, 0x92, 0x09, 0xe9, 0x50, 0x33, + 0x29, 0x7d, 0x6f, 0xb0, 0xbd, 0x85, 0xc7, 0xea, 0xb2, 0x4b, 0x71, 0x51, 0x64, 0x66, 0xef, 0x19, + 0x64, 0x32, 0x05, 0xb5, 0x2b, 0x77, 0x8f, 0xf0, 0x7f, 0x5f, 0xf2, 0xe7, 0x85, 0xc7, 0x60, 0x34, + 0x87, 0x4c, 0x0a,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32, 0xe5, 0x2c, 0x07, 0xa3, 0x7b, 0x9b, 0xae, + 0xe5, 0xcc, 0xe7, 0x7f, 0x76, 0xb0, 0x98, 0x6a, 0x90, 0xbb, 0xfe, 0x03, 0x2f, 0xbe, 0x03, 0x00, + 0x00, 0xff, 0xff, 0x4d, 0x0f, 0xd9, 0x3b, 0xa2, 0x01, 0x00, 0x00, } func (m *SubAccWagerTicketPayload) Marshal() (dAtA []byte, err error) {