From e27ed2753abc33ca908c082fe75e9e1b9ad3b24d Mon Sep 17 00:00:00 2001 From: ZeneDeLuca Date: Tue, 9 Jul 2024 10:40:31 +0000 Subject: [PATCH] Update proto/hypergridssn/tx.proto and docs/static/openapi.yml to remove the 'account' field from MsgCreateGridInbox and its corresponding definition --- api/hypergridssn/hypergridssn/tx.pulsar.go | 278 +++++++----------- docs/static/openapi.yml | 4 - proto/hypergridssn/hypergridssn/tx.proto | 5 +- tools/solana.go | 151 +++++++--- tools/solana_test.go | 54 ++++ .../keeper/msg_server_grid_inbox.go | 4 +- x/hypergridssn/module/autocli.go | 4 +- .../types/messages_grid_block_fee.go | 9 +- x/hypergridssn/types/messages_grid_inbox.go | 8 +- x/hypergridssn/types/tx.pb.go | 184 +++++------- 10 files changed, 351 insertions(+), 350 deletions(-) create mode 100644 tools/solana_test.go diff --git a/api/hypergridssn/hypergridssn/tx.pulsar.go b/api/hypergridssn/hypergridssn/tx.pulsar.go index 0bc3279..1773c04 100644 --- a/api/hypergridssn/hypergridssn/tx.pulsar.go +++ b/api/hypergridssn/hypergridssn/tx.pulsar.go @@ -9353,7 +9353,6 @@ var ( md_MsgCreateGridInbox protoreflect.MessageDescriptor fd_MsgCreateGridInbox_creator protoreflect.FieldDescriptor fd_MsgCreateGridInbox_grid protoreflect.FieldDescriptor - fd_MsgCreateGridInbox_account protoreflect.FieldDescriptor fd_MsgCreateGridInbox_slot protoreflect.FieldDescriptor fd_MsgCreateGridInbox_hash protoreflect.FieldDescriptor ) @@ -9363,7 +9362,6 @@ func init() { md_MsgCreateGridInbox = File_hypergridssn_hypergridssn_tx_proto.Messages().ByName("MsgCreateGridInbox") fd_MsgCreateGridInbox_creator = md_MsgCreateGridInbox.Fields().ByName("creator") fd_MsgCreateGridInbox_grid = md_MsgCreateGridInbox.Fields().ByName("grid") - fd_MsgCreateGridInbox_account = md_MsgCreateGridInbox.Fields().ByName("account") fd_MsgCreateGridInbox_slot = md_MsgCreateGridInbox.Fields().ByName("slot") fd_MsgCreateGridInbox_hash = md_MsgCreateGridInbox.Fields().ByName("hash") } @@ -9445,12 +9443,6 @@ func (x *fastReflection_MsgCreateGridInbox) Range(f func(protoreflect.FieldDescr return } } - if x.Account != "" { - value := protoreflect.ValueOfString(x.Account) - if !f(fd_MsgCreateGridInbox_account, value) { - return - } - } if x.Slot != "" { value := protoreflect.ValueOfString(x.Slot) if !f(fd_MsgCreateGridInbox_slot, value) { @@ -9482,8 +9474,6 @@ func (x *fastReflection_MsgCreateGridInbox) Has(fd protoreflect.FieldDescriptor) return x.Creator != "" case "hypergridssn.hypergridssn.MsgCreateGridInbox.grid": return x.Grid != "" - case "hypergridssn.hypergridssn.MsgCreateGridInbox.account": - return x.Account != "" case "hypergridssn.hypergridssn.MsgCreateGridInbox.slot": return x.Slot != "" case "hypergridssn.hypergridssn.MsgCreateGridInbox.hash": @@ -9508,8 +9498,6 @@ func (x *fastReflection_MsgCreateGridInbox) Clear(fd protoreflect.FieldDescripto x.Creator = "" case "hypergridssn.hypergridssn.MsgCreateGridInbox.grid": x.Grid = "" - case "hypergridssn.hypergridssn.MsgCreateGridInbox.account": - x.Account = "" case "hypergridssn.hypergridssn.MsgCreateGridInbox.slot": x.Slot = "" case "hypergridssn.hypergridssn.MsgCreateGridInbox.hash": @@ -9536,9 +9524,6 @@ func (x *fastReflection_MsgCreateGridInbox) Get(descriptor protoreflect.FieldDes case "hypergridssn.hypergridssn.MsgCreateGridInbox.grid": value := x.Grid return protoreflect.ValueOfString(value) - case "hypergridssn.hypergridssn.MsgCreateGridInbox.account": - value := x.Account - return protoreflect.ValueOfString(value) case "hypergridssn.hypergridssn.MsgCreateGridInbox.slot": value := x.Slot return protoreflect.ValueOfString(value) @@ -9569,8 +9554,6 @@ func (x *fastReflection_MsgCreateGridInbox) Set(fd protoreflect.FieldDescriptor, x.Creator = value.Interface().(string) case "hypergridssn.hypergridssn.MsgCreateGridInbox.grid": x.Grid = value.Interface().(string) - case "hypergridssn.hypergridssn.MsgCreateGridInbox.account": - x.Account = value.Interface().(string) case "hypergridssn.hypergridssn.MsgCreateGridInbox.slot": x.Slot = value.Interface().(string) case "hypergridssn.hypergridssn.MsgCreateGridInbox.hash": @@ -9599,8 +9582,6 @@ func (x *fastReflection_MsgCreateGridInbox) Mutable(fd protoreflect.FieldDescrip panic(fmt.Errorf("field creator of message hypergridssn.hypergridssn.MsgCreateGridInbox is not mutable")) case "hypergridssn.hypergridssn.MsgCreateGridInbox.grid": panic(fmt.Errorf("field grid of message hypergridssn.hypergridssn.MsgCreateGridInbox is not mutable")) - case "hypergridssn.hypergridssn.MsgCreateGridInbox.account": - panic(fmt.Errorf("field account of message hypergridssn.hypergridssn.MsgCreateGridInbox is not mutable")) case "hypergridssn.hypergridssn.MsgCreateGridInbox.slot": panic(fmt.Errorf("field slot of message hypergridssn.hypergridssn.MsgCreateGridInbox is not mutable")) case "hypergridssn.hypergridssn.MsgCreateGridInbox.hash": @@ -9622,8 +9603,6 @@ func (x *fastReflection_MsgCreateGridInbox) NewField(fd protoreflect.FieldDescri return protoreflect.ValueOfString("") case "hypergridssn.hypergridssn.MsgCreateGridInbox.grid": return protoreflect.ValueOfString("") - case "hypergridssn.hypergridssn.MsgCreateGridInbox.account": - return protoreflect.ValueOfString("") case "hypergridssn.hypergridssn.MsgCreateGridInbox.slot": return protoreflect.ValueOfString("") case "hypergridssn.hypergridssn.MsgCreateGridInbox.hash": @@ -9705,10 +9684,6 @@ func (x *fastReflection_MsgCreateGridInbox) ProtoMethods() *protoiface.Methods { if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } - l = len(x.Account) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } l = len(x.Slot) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) @@ -9751,20 +9726,13 @@ func (x *fastReflection_MsgCreateGridInbox) ProtoMethods() *protoiface.Methods { copy(dAtA[i:], x.Hash) i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Hash))) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x22 } if len(x.Slot) > 0 { i -= len(x.Slot) copy(dAtA[i:], x.Slot) i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Slot))) i-- - dAtA[i] = 0x22 - } - if len(x.Account) > 0 { - i -= len(x.Account) - copy(dAtA[i:], x.Account) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Account))) - i-- dAtA[i] = 0x1a } if len(x.Grid) > 0 { @@ -9895,38 +9863,6 @@ func (x *fastReflection_MsgCreateGridInbox) ProtoMethods() *protoiface.Methods { x.Grid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Account", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.Account = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) } @@ -9958,7 +9894,7 @@ func (x *fastReflection_MsgCreateGridInbox) ProtoMethods() *protoiface.Methods { } x.Slot = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 4: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) } @@ -11357,9 +11293,8 @@ type MsgCreateGridInbox struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Grid string `protobuf:"bytes,2,opt,name=grid,proto3" json:"grid,omitempty"` - Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` - Slot string `protobuf:"bytes,4,opt,name=slot,proto3" json:"slot,omitempty"` - Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` + Slot string `protobuf:"bytes,3,opt,name=slot,proto3" json:"slot,omitempty"` + Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` } func (x *MsgCreateGridInbox) Reset() { @@ -11396,13 +11331,6 @@ func (x *MsgCreateGridInbox) GetGrid() string { return "" } -func (x *MsgCreateGridInbox) GetAccount() string { - if x != nil { - return x.Account - } - return "" -} - func (x *MsgCreateGridInbox) GetSlot() string { if x != nil { return x.Slot @@ -11603,118 +11531,116 @@ var file_hypergridssn_hypergridssn_tx_proto_rawDesc = []byte{ 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x78, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x68, 0x61, - 0x73, 0x68, 0x22, 0x92, 0x01, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x47, 0x72, 0x69, 0x64, 0x49, 0x6e, 0x62, 0x6f, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x72, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x67, 0x72, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x3a, 0x0c, 0x82, 0xe7, 0xb0, 0x2a, 0x07, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x44, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, 0x49, 0x6e, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x78, 0x68, 0x61, 0x73, 0x68, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x68, 0x61, 0x73, 0x68, 0x32, 0xae, 0x0a, - 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x6e, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, - 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2a, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, - 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, - 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x1a, 0x32, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, - 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, - 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x53, 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, - 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, - 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, - 0x1a, 0x39, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, - 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x13, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, - 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, - 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x39, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, + 0x73, 0x68, 0x22, 0x78, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, + 0x72, 0x69, 0x64, 0x49, 0x6e, 0x62, 0x6f, 0x78, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x67, 0x72, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x67, 0x72, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x6c, 0x6f, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, + 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x3a, 0x0c, + 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x22, 0x44, 0x0a, 0x1a, + 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, 0x49, 0x6e, 0x62, + 0x6f, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x78, + 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x68, 0x61, + 0x73, 0x68, 0x32, 0xae, 0x0a, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x6e, 0x0a, 0x0c, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x2a, 0x2e, 0x68, 0x79, 0x70, + 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, + 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x32, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, - 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, - 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x83, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, - 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x68, 0x79, 0x70, 0x65, - 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, - 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, - 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x39, 0x2e, 0x68, - 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, - 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x65, 0x65, 0x12, 0x30, - 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, - 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x65, 0x65, - 0x1a, 0x38, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, - 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x46, - 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x13, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x4e, 0x6f, - 0x64, 0x65, 0x12, 0x31, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, + 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x13, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, - 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, - 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x1a, 0x39, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, + 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x39, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, - 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, - 0x67, 0x72, 0x69, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x83, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, - 0x67, 0x72, 0x69, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x31, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, + 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, + 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x83, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, + 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, - 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x79, - 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x1a, 0x39, 0x2e, 0x68, 0x79, + 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x6f, + 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x39, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, + 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x31, + 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x4e, 0x6f, 0x64, - 0x65, 0x1a, 0x39, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, + 0x6c, 0x65, 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x1a, 0x39, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, - 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, - 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8f, 0x01, 0x0a, - 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x12, 0x35, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, - 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, - 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x65, - 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x1a, - 0x3d, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, - 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65, - 0x6e, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, - 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, 0x49, 0x6e, 0x62, 0x6f, - 0x78, 0x12, 0x2d, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, - 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, - 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, 0x49, 0x6e, 0x62, 0x6f, 0x78, - 0x1a, 0x35, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, + 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x6f, 0x6c, 0x61, 0x6e, 0x61, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x80, 0x01, 0x0a, + 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, + 0x46, 0x65, 0x65, 0x12, 0x30, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, + 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, + 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, 0x42, 0x6c, 0x6f, + 0x63, 0x6b, 0x46, 0x65, 0x65, 0x1a, 0x38, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, + 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, + 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, 0x42, + 0x6c, 0x6f, 0x63, 0x6b, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x83, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, + 0x72, 0x69, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x31, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, + 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, + 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x48, 0x79, 0x70, + 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x1a, 0x39, 0x2e, 0x68, 0x79, 0x70, + 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, + 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x31, 0x2e, + 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, + 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x4e, 0x6f, 0x64, 0x65, + 0x1a, 0x39, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, 0x49, 0x6e, 0x62, 0x6f, 0x78, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xd9, - 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x13, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x4e, + 0x6f, 0x64, 0x65, 0x12, 0x31, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, + 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, + 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, + 0x69, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x1a, 0x39, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, + 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, + 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x48, 0x79, 0x70, 0x65, + 0x72, 0x67, 0x72, 0x69, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x8f, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x12, 0x35, 0x2e, + 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, + 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x42, 0x69, 0x6c, 0x6c, 0x1a, 0x3d, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, - 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2a, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x68, 0x79, - 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2f, 0x68, 0x79, 0x70, 0x65, 0x72, - 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0xa2, 0x02, 0x03, 0x48, 0x48, 0x58, 0xaa, 0x02, 0x19, - 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x48, 0x79, 0x70, - 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0xca, 0x02, 0x19, 0x48, 0x79, 0x70, 0x65, - 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x5c, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, - 0x69, 0x64, 0x73, 0x73, 0x6e, 0xe2, 0x02, 0x25, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, - 0x64, 0x73, 0x73, 0x6e, 0x5c, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, - 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1a, - 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x3a, 0x3a, 0x48, 0x79, - 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x53, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, + 0x64, 0x49, 0x6e, 0x62, 0x6f, 0x78, 0x12, 0x2d, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, + 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, + 0x73, 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, + 0x49, 0x6e, 0x62, 0x6f, 0x78, 0x1a, 0x35, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, + 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, + 0x6e, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x69, 0x64, 0x49, + 0x6e, 0x62, 0x6f, 0x78, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, + 0xb0, 0x2a, 0x01, 0x42, 0xd9, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x68, 0x79, 0x70, 0x65, + 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2e, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, + 0x69, 0x64, 0x73, 0x73, 0x6e, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x2a, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, + 0x70, 0x69, 0x2f, 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x2f, + 0x68, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0xa2, 0x02, 0x03, 0x48, + 0x48, 0x58, 0xaa, 0x02, 0x19, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, + 0x6e, 0x2e, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0xca, 0x02, + 0x19, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x5c, 0x48, 0x79, + 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0xe2, 0x02, 0x25, 0x48, 0x79, 0x70, + 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x5c, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, + 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x1a, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, + 0x6e, 0x3a, 0x3a, 0x48, 0x79, 0x70, 0x65, 0x72, 0x67, 0x72, 0x69, 0x64, 0x73, 0x73, 0x6e, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/docs/static/openapi.yml b/docs/static/openapi.yml index 3c42216..c8e63e8 100644 --- a/docs/static/openapi.yml +++ b/docs/static/openapi.yml @@ -3656,8 +3656,6 @@ paths: type: string grid: type: string - account: - type: string slot: type: string hash: @@ -6831,8 +6829,6 @@ definitions: type: string grid: type: string - account: - type: string slot: type: string hash: diff --git a/proto/hypergridssn/hypergridssn/tx.proto b/proto/hypergridssn/hypergridssn/tx.proto index 2395737..816eb5d 100644 --- a/proto/hypergridssn/hypergridssn/tx.proto +++ b/proto/hypergridssn/hypergridssn/tx.proto @@ -159,9 +159,8 @@ message MsgCreateGridInbox { option (cosmos.msg.v1.signer) = "creator"; string creator = 1; string grid = 2; - string account = 3; - string slot = 4; - string hash = 5; + string slot = 3; + string hash = 4; } message MsgCreateGridInboxResponse { diff --git a/tools/solana.go b/tools/solana.go index 1e26538..71f659a 100644 --- a/tools/solana.go +++ b/tools/solana.go @@ -1,10 +1,11 @@ package tools import ( + "bytes" "context" "crypto/sha256" + "encoding/binary" "fmt" - "os" "strings" "github.com/davecgh/go-spew/spew" @@ -81,10 +82,65 @@ type InitializedParams struct { AccountType uint32 } +// BorshEncode encodes the InstructionData using Borsh +func (d *SettleFeeBillParams) BorshEncode() ([]byte, error) { + buf := new(bytes.Buffer) + err := binary.Write(buf, binary.LittleEndian, d.Instruction) + if err != nil { + return nil, err + } + err = binary.Write(buf, binary.LittleEndian, d.FromID) + if err != nil { + return nil, err + } + err = binary.Write(buf, binary.LittleEndian, d.EndID) + if err != nil { + return nil, err + } + billCount := uint64(len(d.Bills)) + err = binary.Write(buf, binary.LittleEndian, billCount) + if err != nil { + return nil, err + } + for _, bill := range d.Bills { + err = binary.Write(buf, binary.LittleEndian, bill.Key[:]) + if err != nil { + return nil, err + } + err = binary.Write(buf, binary.LittleEndian, bill.Amount) + if err != nil { + return nil, err + } + } + return buf.Bytes(), nil +} + const SonicFeeProgramID = "SonicFeeSet1ement11111111111111111111111111" const L1InboxProgramID = "5XJ1wZkTwAw9mc5FbM3eBgAT83TKgtAGzKos9wVxC6my" -func sendSonicTx(rpcUrl string, programId string, accounts solana.AccountMetaSlice, instructionData []byte) (*solana.Signature, error) { +func getLocalPrivateKey() (solana.PrivateKey, error) { + //get home path "~/" + // home, err := os.UserHomeDir() + // if err != nil { + // // panic(err) + // return nil, err + // } + // Load the account that you will send funds FROM: + // accountFrom, err := solana.PrivateKeyFromSolanaKeygenFile(home + "/.config/solana/id.json") + + // Load the account that you will send funds FROM: + accountFrom, err := solana.PrivateKeyFromBase58("5gA6JTpFziXu7py2j63arRUq1H29p6pcPMB74LaNuzcSqULPD6s1SZUS3UMPvFEE9oXmt1kk6ez3C6piTc3bwpJ6") + if err != nil { + // panic(err) + return nil, err + } + fmt.Println("accountFrom private key:", accountFrom) + fmt.Println("accountFrom public key:", accountFrom.PublicKey()) + + return accountFrom, nil +} + +func sendSonicTx(rpcUrl string, programId string, accounts solana.AccountMetaSlice, instructionData []byte, signers []solana.PrivateKey) (*solana.Signature, error) { // Create a new RPC client: rpcClient := rpc.New(rpcUrl) @@ -92,6 +148,7 @@ func sendSonicTx(rpcUrl string, programId string, accounts solana.AccountMetaSli //replace http or https with ws rpcWsUrl := strings.Replace(rpcUrl, "http://", "ws://", 1) rpcWsUrl = strings.Replace(rpcWsUrl, "https://", "wss://", 1) + rpcWsUrl = strings.Replace(rpcWsUrl, ":8899", ":8900", 1) wsClient, err := ws.Connect(context.Background(), rpcWsUrl) if err != nil { @@ -99,22 +156,6 @@ func sendSonicTx(rpcUrl string, programId string, accounts solana.AccountMetaSli return nil, err } - //get home path "~/" - home, err := os.UserHomeDir() - if err != nil { - // panic(err) - return nil, err - } - - // Load the account that you will send funds FROM: - accountFrom, err := solana.PrivateKeyFromSolanaKeygenFile(home + "/.config/solana/id.json") - if err != nil { - // panic(err) - return nil, err - } - fmt.Println("accountFrom private key:", accountFrom) - fmt.Println("accountFrom public key:", accountFrom.PublicKey()) - recent, err := rpcClient.GetRecentBlockhash(context.TODO(), rpc.CommitmentFinalized) if err != nil { // panic(err) @@ -130,21 +171,25 @@ func sendSonicTx(rpcUrl string, programId string, accounts solana.AccountMetaSli ), }, recent.Value.Blockhash, - solana.TransactionPayer(accountFrom.PublicKey()), + solana.TransactionPayer(signers[0].PublicKey()), ) if err != nil { // panic(err) return nil, err } - _, err = tx.Sign( - func(key solana.PublicKey) *solana.PrivateKey { - if accountFrom.PublicKey().Equals(key) { - return &accountFrom + _, err = tx.Sign(func(key solana.PublicKey) *solana.PrivateKey { + //check key is in signers + for _, signer := range signers { + if key.Equals(signer.PublicKey()) { + return &signer } - return nil - }, - ) + } + // if accountFrom.PublicKey().Equals(key) { + // return &accountFrom + // } + return nil + }) if err != nil { // panic(fmt.Errorf("unable to sign transaction: %w", err)) return nil, err @@ -164,7 +209,6 @@ func sendSonicTx(rpcUrl string, programId string, accounts solana.AccountMetaSli } spew.Dump(sig) return &sig, nil - } func SendTxFeeSettlement(rpcUrl string, data_accounts []string, FromId uint64, EndID uint64, bills map[string]uint64) (*solana.Signature, error) { @@ -185,7 +229,7 @@ func SendTxFeeSettlement(rpcUrl string, data_accounts []string, FromId uint64, E } // Serialize to bytes using Borsh - serializedData, err := borsh.Serialize(instructionData) + serializedData, err := instructionData.BorshEncode() // borsh.Serialize(instructionData) if err != nil { // panic(err) return nil, err @@ -195,8 +239,14 @@ func SendTxFeeSettlement(rpcUrl string, data_accounts []string, FromId uint64, E for _, data_account := range data_accounts { accounts = append(accounts, solana.NewAccountMeta(solana.MustPublicKeyFromBase58(data_account), true, false)) } + signer, err := getLocalPrivateKey() + if err != nil { + // panic(err) + return nil, err + } - return sendSonicTx(rpcUrl, SonicFeeProgramID, accounts, serializedData) + signers := []solana.PrivateKey{signer} + return sendSonicTx(rpcUrl, SonicFeeProgramID, accounts, serializedData, signers) } func InitializeDataAccount(rpcUrl string, owner string, data_account string, account_type uint32) (*solana.Signature, error) { @@ -217,7 +267,14 @@ func InitializeDataAccount(rpcUrl string, owner string, data_account string, acc solana.NewAccountMeta(solana.MustPublicKeyFromBase58(data_account), true, false), } - return sendSonicTx(rpcUrl, SonicFeeProgramID, accounts, serializedData) + signer, err := getLocalPrivateKey() + if err != nil { + // panic(err) + return nil, err + } + signers := []solana.PrivateKey{signer} + + return sendSonicTx(rpcUrl, SonicFeeProgramID, accounts, serializedData, signers) } type InboxProgrmParams struct { @@ -236,7 +293,7 @@ func hashInstructionMethod(method string) [8]byte { return hash } -func SendTxInbox(rpcUrl string, data_account string, slot uint64, hash string) (*solana.Signature, error) { +func SendTxInbox(rpcUrl string, slot uint64, hash string) (*solana.Signature, *solana.PublicKey, error) { instructionData := InboxProgrmParams{ Instruction: hashInstructionMethod("addblock"), Slot: slot, @@ -247,14 +304,40 @@ func SendTxInbox(rpcUrl string, data_account string, slot uint64, hash string) ( serializedData, err := borsh.Serialize(instructionData) if err != nil { // panic(err) - return nil, err + return nil, nil, err + } + + //create a new keypair + data_account, err := solana.NewRandomPrivateKey() + if err != nil { + // panic(err) + return nil, nil, err + } + data_key := data_account.PublicKey() + fmt.Println("data_account:", data_key) + + signer, err := getLocalPrivateKey() + if err != nil { + // panic(err) + return nil, nil, err } accounts := solana.AccountMetaSlice{ - solana.NewAccountMeta(solana.MustPublicKeyFromBase58(data_account), true, false), + solana.NewAccountMeta(data_account.PublicKey(), true, true), + solana.NewAccountMeta(signer.PublicKey(), true, true), + solana.NewAccountMeta(solana.MustPublicKeyFromBase58("11111111111111111111111111111111"), false, false), + } + + signers := []solana.PrivateKey{signer, data_account} + + sig, err := sendSonicTx(rpcUrl, L1InboxProgramID, accounts, serializedData, signers) + if err != nil { + // panic(err) + return nil, nil, err } + fmt.Println("signature: ", sig) - return sendSonicTx(rpcUrl, L1InboxProgramID, accounts, serializedData) + return sig, &data_key, nil } // func main() { diff --git a/tools/solana_test.go b/tools/solana_test.go new file mode 100644 index 0000000..9264552 --- /dev/null +++ b/tools/solana_test.go @@ -0,0 +1,54 @@ +package tools + +import ( + "testing" + + "github.com/davecgh/go-spew/spew" +) + +func TestSendTxFeeSettlement(t *testing.T) { + // FromId := uint64(1) + // EndID := uint64(100) + // bills := map[string]uint64{ + // "EyYFxQ2FRcSkR8rdvefEDNy69KWHi2xTzbuVKxuBVueS": 100, + // "AzVnQCpY2rqQmxJz6PQzxWj9HHQQc5qFuL89wvov6cL4": 101, + // } + + // sig, err := SendTxFeeSettlement("http://localhost:8899", []string{"AzVnQCpY2rqQmxJz6PQzxWj9HHQQc5qFuL89wvov6cL4"}, FromId, EndID, bills) + // if err != nil { + // panic(err) + // } + // spew.Dump(sig) + + sig, key, err := SendTxInbox("https://api.devnet.solana.com", 53893, "2YmCa9RBVN9CZjAcN3o431UhTEU8BwmaiGoCnbeK1Sgr") + if err != nil { + panic(err) + } + spew.Dump(sig) + spew.Dump(key) + + // Bills := []SettlementBillParam{} + // // convert bills to []SettlementBillParam + // for key, value := range bills { + // Bills = append(Bills, SettlementBillParam{ + // Key: solana.MustPublicKeyFromBase58(key), + // Amount: value, + // }) + // } + + // instructionData := SettleFeeBillParams{ + // Instruction: 1, + // FromID: FromId, + // EndID: EndID, + // Bills: Bills, + // } + + // // Serialize to bytes using Borsh + // // serializedData, err := borsh.Serialize(instructionData) + // serializedData, err := instructionData.BorshEncode() + // if err != nil { + // panic(err) + // } + + // println("serializedData", serializedData) +} diff --git a/x/hypergridssn/keeper/msg_server_grid_inbox.go b/x/hypergridssn/keeper/msg_server_grid_inbox.go index 7115c37..e5d67bf 100644 --- a/x/hypergridssn/keeper/msg_server_grid_inbox.go +++ b/x/hypergridssn/keeper/msg_server_grid_inbox.go @@ -34,7 +34,7 @@ func (k msgServer) CreateGridInbox(goCtx context.Context, msg *types.MsgCreateGr return nil, errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "invalid slot") } - sig, err := solana.SendTxInbox(base_layer_rpc, msg.Account, slot, msg.Hash) + sig, account, err := solana.SendTxInbox(base_layer_rpc, slot, msg.Hash) if err != nil { return nil, errorsmod.Wrap(sdkerrors.ErrUnauthorized, err.Error()) } @@ -44,7 +44,7 @@ func (k msgServer) CreateGridInbox(goCtx context.Context, msg *types.MsgCreateGr var gridInbox = types.GridInbox{ Creator: msg.Creator, Grid: msg.Grid, - Account: msg.Account, + Account: account.String(), Slot: msg.Slot, Hash: msg.Hash, } diff --git a/x/hypergridssn/module/autocli.go b/x/hypergridssn/module/autocli.go index 5ebca44..32f0f4a 100644 --- a/x/hypergridssn/module/autocli.go +++ b/x/hypergridssn/module/autocli.go @@ -133,9 +133,9 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions { }, { RpcMethod: "CreateGridInbox", - Use: "create-grid-inbox [grid] [account] [slot] [hash]", + Use: "create-grid-inbox [grid] [slot] [hash]", Short: "Create GridInbox", - PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "grid"}, {ProtoField: "account"}, {ProtoField: "slot"}, {ProtoField: "hash"}}, + PositionalArgs: []*autocliv1.PositionalArgDescriptor{{ProtoField: "grid"}, {ProtoField: "slot"}, {ProtoField: "hash"}}, }, // this line is used by ignite scaffolding # autocli/tx }, diff --git a/x/hypergridssn/types/messages_grid_block_fee.go b/x/hypergridssn/types/messages_grid_block_fee.go index d4853b1..2a1f443 100644 --- a/x/hypergridssn/types/messages_grid_block_fee.go +++ b/x/hypergridssn/types/messages_grid_block_fee.go @@ -8,15 +8,10 @@ import ( var _ sdk.Msg = &MsgCreateGridBlockFee{} -func NewMsgCreateGridBlockFee(creator string, items []*GridBlockFeeItem) *MsgCreateGridBlockFee { //grid string, slot string, blockhash string, blocktime int32, fee string) *MsgCreateGridBlockFee { +func NewMsgCreateGridBlockFee(creator string, items []*GridBlockFeeItem) *MsgCreateGridBlockFee { return &MsgCreateGridBlockFee{ Creator: creator, - // Grid: grid, - // Slot: slot, - // Blockhash: blockhash, - // Blocktime: blocktime, - // Fee: fee, - Items: items, + Items: items, } } diff --git a/x/hypergridssn/types/messages_grid_inbox.go b/x/hypergridssn/types/messages_grid_inbox.go index 29ccd8d..5151451 100644 --- a/x/hypergridssn/types/messages_grid_inbox.go +++ b/x/hypergridssn/types/messages_grid_inbox.go @@ -8,13 +8,13 @@ import ( var _ sdk.Msg = &MsgCreateGridInbox{} -func NewMsgCreateGridInbox(creator string, grid string, account string, slot string, hash string) *MsgCreateGridInbox { +func NewMsgCreateGridInbox(creator string, grid string, slot string, hash string) *MsgCreateGridInbox { return &MsgCreateGridInbox{ Creator: creator, Grid: grid, - Account: account, - Slot: slot, - Hash: hash, + // Account: account, + Slot: slot, + Hash: hash, } } diff --git a/x/hypergridssn/types/tx.pb.go b/x/hypergridssn/types/tx.pb.go index 1857202..60996a4 100644 --- a/x/hypergridssn/types/tx.pb.go +++ b/x/hypergridssn/types/tx.pb.go @@ -1056,9 +1056,8 @@ func (m *MsgCreateFeeSettlementBillResponse) GetTxhash() string { type MsgCreateGridInbox struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Grid string `protobuf:"bytes,2,opt,name=grid,proto3" json:"grid,omitempty"` - Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` - Slot string `protobuf:"bytes,4,opt,name=slot,proto3" json:"slot,omitempty"` - Hash string `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"` + Slot string `protobuf:"bytes,3,opt,name=slot,proto3" json:"slot,omitempty"` + Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` } func (m *MsgCreateGridInbox) Reset() { *m = MsgCreateGridInbox{} } @@ -1108,13 +1107,6 @@ func (m *MsgCreateGridInbox) GetGrid() string { return "" } -func (m *MsgCreateGridInbox) GetAccount() string { - if m != nil { - return m.Account - } - return "" -} - func (m *MsgCreateGridInbox) GetSlot() string { if m != nil { return m.Slot @@ -1210,69 +1202,68 @@ func init() { } var fileDescriptor_8d3bd7fb02c0ab22 = []byte{ - // 986 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0x4f, 0x6f, 0xe3, 0x44, - 0x14, 0xaf, 0xdb, 0x24, 0xab, 0x4c, 0x2b, 0x76, 0x19, 0x4a, 0x9b, 0x5a, 0x10, 0xba, 0x3e, 0xa0, - 0x2a, 0xab, 0x26, 0xb4, 0xab, 0x45, 0xb0, 0x02, 0xa4, 0x86, 0x6a, 0xa1, 0x12, 0x45, 0xc8, 0x15, - 0x12, 0xe2, 0x12, 0x4d, 0xe2, 0x69, 0x6a, 0xad, 0xed, 0x89, 0x66, 0xa6, 0x4b, 0x7b, 0x5b, 0x2d, - 0x17, 0x84, 0x90, 0x40, 0x7c, 0x0a, 0x4e, 0xa8, 0x07, 0x3e, 0xc4, 0xde, 0xa8, 0xe0, 0xc2, 0x09, - 0xa1, 0xf6, 0xd0, 0xaf, 0x81, 0xe6, 0x8f, 0x1d, 0xdb, 0x8c, 0x1d, 0x07, 0x04, 0x07, 0x2e, 0xcd, - 0xbc, 0x37, 0xf3, 0xfc, 0x7e, 0xbf, 0x37, 0xef, 0x4f, 0x07, 0x38, 0x27, 0xe7, 0x13, 0x4c, 0xc7, - 0xd4, 0xf7, 0x18, 0x8b, 0x7a, 0x19, 0x81, 0x9f, 0x75, 0x27, 0x94, 0x70, 0x02, 0x37, 0xd2, 0xea, - 0x6e, 0x5a, 0xb0, 0x5f, 0x44, 0xa1, 0x1f, 0x91, 0x9e, 0xfc, 0xab, 0x4e, 0xdb, 0xeb, 0x23, 0xc2, - 0x42, 0xc2, 0x7a, 0x21, 0x1b, 0xf7, 0x9e, 0xec, 0x88, 0x1f, 0xbd, 0xb1, 0xa1, 0x36, 0x06, 0x52, - 0xea, 0x29, 0x41, 0x6f, 0xad, 0x8e, 0xc9,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 0x25, 0xc4, 0x7f, 0x31, 0xb3, 0xdf, 0xfd, 0x5b, 0x66, 0x09, 0xa2, 0x2f, 0xc0, 0xed, 0x7c, 0x1f, - 0xde, 0xae, 0x9a, 0x70, 0xf2, 0xb8, 0xfd, 0x60, 0xae, 0xe3, 0xb1, 0x63, 0xbb, 0xfe, 0x54, 0x3c, - 0x5f, 0xfa, 0xef, 0x3c, 0xbf, 0x6a, 0x5b, 0x97, 0x57, 0x6d, 0xeb, 0x8f, 0xab, 0xb6, 0xf5, 0xdd, - 0x75, 0x7b, 0xe1, 0xf2, 0xba, 0xbd, 0xf0, 0xdb, 0x75, 0x7b, 0xe1, 0xf3, 0xe9, 0x3b, 0x77, 0xdb, - 0xf0, 0x7c, 0xe1, 0xe7, 0x13, 0xcc, 0x86, 0x0d, 0xf9, 0x1a, 0xbb, 0xff, 0x67, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x94, 0xde, 0x1c, 0x44, 0x14, 0x0f, 0x00, 0x00, + // 972 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0x4f, 0x6f, 0xdc, 0x44, + 0x14, 0x8f, 0xb3, 0x7f, 0xaa, 0x9d, 0x44, 0xb4, 0x0c, 0x21, 0xd9, 0x58, 0xb0, 0xa4, 0x3e, 0xa0, + 0x68, 0xab, 0xec, 0x92, 0x54, 0x45, 0x50, 0x01, 0x52, 0x96, 0xa8, 0x10, 0x89, 0x20, 0xe4, 0x08, + 0x09, 0x71, 0x59, 0x79, 0xd7, 0x13, 0xc7, 0xaa, 0xed, 0xb1, 0x66, 0x26, 0x25, 0xb9, 0x55, 0xe5, + 0x82, 0x10, 0x12, 0x7c, 0x0c, 0x4e, 0x28, 0x07, 0x3e, 0x44, 0x6f, 0x44, 0x70, 0xe1, 0x84, 0x50, + 0x72, 0xc8, 0xd7, 0x40, 0xf3, 0xc7, 0x5e, 0xdb, 0x8c, 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c, 0x77, 0xc4, 0xcb, 0xee, 0x11, 0x42, 0xfb, 0x0c, 0x85, 0x10, 0x82, 0x26, 0xcf, + 0x15, 0x85, 0x47, 0xac, 0xb9, 0x8e, 0x06, 0x98, 0x29, 0x24, 0x62, 0x0d, 0x5f, 0x03, 0x1d, 0x51, + 0xae, 0xc7, 0x0e, 0x3d, 0x56, 0x40, 0x66, 0x8a, 0x74, 0x97, 0xf9, 0xa1, 0xbc, 0xd5, 0x96, 0x3d, + 0x53, 0xc0, 0x3b, 0xa0, 0x71, 0x84, 0x50, 0xb7, 0x25, 0xac, 0xf8, 0xd2, 0x7a, 0x66, 0x80, 0x57, + 0xd3, 0xdb, 0xcd, 0x62, 0xaa, 0x08, 0xd1, 0x2e, 0x68, 0xf9, 0x0c, 0x89, 0xfa, 0x69, 0x6c, 0x2e, + 0xed, 0xdc, 0xab, 0xa8, 0x9f, 0x22, 0x4b, 0x5b, 0x5a, 0x16, 0x22, 0x36, 0x04, 0xaf, 0x6b, 0x31, + 0x24, 0x01, 0x83, 0x2f, 0x81, 0x45, 0x15, 0x99, 0xa6, 0xbd, 0xe8, 0xbb, 0xd6, 0x6f, 0xd9, 0x0a, + 0xf9, 0x38, 0x71, 0xf8, 0x29, 0x76, 0xab, 0x60, 0xaf, 0x82, 0x76, 0x7c, 0x32, 0x79, 0x8c, 0xce, + 0x54, 0x38, 0x95, 0xc4, 0x83, 0x1c, 0x39, 0x21, 0x52, 0xb1, 0x14, 0x6b, 0x1e, 0x28, 0x12, 0x4f, + 0x55, 0x59, 0xf0, 0x25, 0xbc, 0x0b, 0x96, 0x5d, 0x87, 0x39, 0x63, 0x47, 0xde, 0xa5, 0x8a, 0xe1, + 0x12, 0xd7, 0x25, 0x49, 0x05, 0x41, 0x93, 0xe0, 0x00, 0x75, 0xdb, 0x22, 0xec, 0x62, 0xcd, 0xef, + 0x83, 0x32, 0x87, 0x30, 0x71, 0x1f, 0xb7, 0xe4, 0x7d, 0xa4, 0x8a, 0x8a, 0x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x2a, 0x06, 0x27, 0x7c, 0x6a, 0x00, 0xa8, 0x19, 0x55, 0x6f, 0xd5, 0x89, 0x6e, + 0xd6, 0xc2, 0x7c, 0x67, 0x5e, 0x0b, 0x4d, 0x52, 0xe4, 0x1b, 0x51, 0xad, 0xa4, 0xc8, 0x99, 0xd4, + 0x4b, 0x0a, 0x6d, 0x53, 0xca, 0x24, 0xc5, 0x5c, 0x28, 0x34, 0x26, 0xf5, 0x92, 0xa2, 0x1c, 0x85, + 0xae, 0x29, 0xd7, 0x4a, 0x8a, 0xb9, 0x50, 0x54, 0x34, 0x68, 0xf8, 0xbd, 0x01, 0xd6, 0xca, 0xda, + 0xf3, 0x83, 0x3a, 0x21, 0xfe, 0x9b, 0x99, 0xf9, 0xfe, 0x3f, 0x32, 0x4b, 0x11, 0x7d, 0x05, 0x6e, + 0x17, 0xbb, 0xed, 0x56, 0xdd, 0x84, 0x13, 0xc7, 0xcd, 0x07, 0x73, 0x1d, 0x4f, 0x1c, 0x9b, 0xad, + 0xa7, 0xfc, 0x8d, 0x32, 0x7a, 0xef, 0xf9, 0x65, 0xcf, 0xb8, 0xb8, 0xec, 0x19, 0x7f, 0x5e, 0xf6, + 0x8c, 0x1f, 0xae, 0x7a, 0x0b, 0x17, 0x57, 0xbd, 0x85, 0xdf, 0xaf, 0x7a, 0x0b, 0x5f, 0xce, 0x1e, + 0xb3, 0x5b, 0x9a, 0x37, 0x0a, 0x3b, 0x8b, 0x11, 0x9d, 0xb4, 0xc5, 0x93, 0xeb, 0xfe, 0x5f, 0x01, + 0x00, 0x00, 0xff, 0xff, 0x2a, 0x5b, 0xdf, 0xf3, 0xf9, 0x0e, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2424,20 +2415,13 @@ func (m *MsgCreateGridInbox) MarshalToSizedBuffer(dAtA []byte) (int, error) { copy(dAtA[i:], m.Hash) i = encodeVarintTx(dAtA, i, uint64(len(m.Hash))) i-- - dAtA[i] = 0x2a + dAtA[i] = 0x22 } if len(m.Slot) > 0 { i -= len(m.Slot) copy(dAtA[i:], m.Slot) i = encodeVarintTx(dAtA, i, uint64(len(m.Slot))) i-- - dAtA[i] = 0x22 - } - if len(m.Account) > 0 { - i -= len(m.Account) - copy(dAtA[i:], m.Account) - i = encodeVarintTx(dAtA, i, uint64(len(m.Account))) - i-- dAtA[i] = 0x1a } if len(m.Grid) > 0 { @@ -2843,10 +2827,6 @@ func (m *MsgCreateGridInbox) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Account) - if l > 0 { - n += 1 + l + sovTx(uint64(l)) - } l = len(m.Slot) if l > 0 { n += 1 + l + sovTx(uint64(l)) @@ -5122,38 +5102,6 @@ func (m *MsgCreateGridInbox) Unmarshal(dAtA []byte) error { m.Grid = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Account", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowTx - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthTx - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthTx - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Account = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Slot", wireType) } @@ -5185,7 +5133,7 @@ func (m *MsgCreateGridInbox) Unmarshal(dAtA []byte) error { } m.Slot = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 4: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) }